MACSio  0.9
Multi-purpose, Application-Centric, Scalable I/O Proxy App
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
macsio_hdf5.c File Reference
#include <limits.h>
#include <math.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <macsio_clargs.h>
#include <macsio_iface.h>
#include <macsio_log.h>
#include <macsio_main.h>
#include <macsio_mif.h>
#include <macsio_utils.h>
#include <mpi.h>
#include <H5pubconf.h>
#include <hdf5.h>
#include <H5Tpublic.h>

Go to the source code of this file.

Data Structures

struct  _user_data
 

Typedefs

typedef struct _user_data user_data_t
 

Functions

static hid_t make_fapl ()
 
static int get_tokval (char const *src_str, char const *token_to_match, void *val_ptr)
 
static hid_t make_dcpl (char const *alg_str, char const *params_str, hid_t space_id, hid_t dtype_id)
 
static int process_args (int argi, int argc, char *argv[])
 
static void main_dump_sif (json_object *main_obj, int dumpn, double dumpt)
 
static void * CreateHDF5File (const char *fname, const char *nsname, void *userData)
 
static void * OpenHDF5File (const char *fname, const char *nsname, MACSIO_MIF_ioFlags_t ioFlags, void *userData)
 
static void CloseHDF5File (void *file, void *userData)
 
static void write_mesh_part (hid_t h5loc, json_object *part_obj)
 
static void main_dump_mif (json_object *main_obj, int numFiles, int dumpn, double dumpt)
 
static void main_dump (int argi, int argc, char **argv, json_object *main_obj, int dumpn, double dumpt)
 
static int register_this_interface ()
 

Variables

static char const * iface_name = "hdf5"
 
static char const * iface_ext = "h5"
 
static int use_log = 0
 
static int no_collective = 0
 
static int no_single_chunk = 0
 
static int silo_block_size = 0
 
static int silo_block_count = 0
 
static int sbuf_size = -1
 
static int mbuf_size = -1
 
static int rbuf_size = -1
 
static int lbuf_size = 0
 
static const char * filename
 
static hid_t fid
 
static hid_t dspc = -1
 
static int show_errors = 0
 
static char compression_alg_str [64]
 
static char compression_params_str [512]
 
static int dummy = register_this_interface()