IOR
|
#include <stdio.h>
#include <stdlib.h>
#include <sys/stat.h>
#include <hdf5.h>
#include <mpi.h>
#include "aiori.h"
#include "utilities.h"
#include "iordef.h"
Go to the source code of this file.
Data Structures | |
struct | HDF5_options_t |
Macros | |
#define | H5_USE_16_API |
#define | NUM_DIMS 1 /* number of dimensions to data set */ |
#define | HDF5_CHECK(HDF5_RETURN, MSG) |
Functions | |
static IOR_offset_t | SeekOffset (void *, IOR_offset_t, IOR_param_t *) |
static void | SetupDataSet (void *, IOR_param_t *) |
static void * | HDF5_Create (char *, IOR_param_t *) |
static void * | HDF5_Open (char *, IOR_param_t *) |
static IOR_offset_t | HDF5_Xfer (int, void *, IOR_size_t *, IOR_offset_t, IOR_param_t *) |
static void | HDF5_Close (void *, IOR_param_t *) |
static void | HDF5_Delete (char *, IOR_param_t *) |
static char * | HDF5_GetVersion () |
static void | HDF5_Fsync (void *, IOR_param_t *) |
static IOR_offset_t | HDF5_GetFileSize (IOR_param_t *, MPI_Comm, char *) |
static int | HDF5_Access (const char *, int, IOR_param_t *) |
static option_help * | HDF5_options (void **init_backend_options, void *init_values) |
Variables | |
ior_aiori_t | hdf5_aiori |
static hid_t | xferPropList |
hid_t | dataSet |
hid_t | dataSpace |
hid_t | fileDataSpace |
hid_t | memDataSpace |
int | newlyOpenedFile |
#define H5_USE_16_API |
Definition at line 24 of file aiori-HDF5.c.
#define HDF5_CHECK | ( | HDF5_RETURN, | |
MSG | |||
) |
Definition at line 67 of file aiori-HDF5.c.
Referenced by HDF5_Close(), HDF5_Open(), HDF5_Xfer(), SeekOffset(), and SetupDataSet().
#define NUM_DIMS 1 /* number of dimensions to data set */ |
Definition at line 32 of file aiori-HDF5.c.
Referenced by HDF5_Open(), and SeekOffset().
|
static |
Definition at line 642 of file aiori-HDF5.c.
References IOR_param_t::dryRun, and MPIIO_Access().
|
static |
Definition at line 476 of file aiori-HDF5.c.
References dataSet, dataSpace, IOR_param_t::dryRun, IOR_param_t::fd_fppReadCheck, fileDataSpace, HDF5_CHECK, memDataSpace, NULL, and xferPropList.
|
static |
Definition at line 158 of file aiori-HDF5.c.
References HDF5_Open().
|
static |
Definition at line 497 of file aiori-HDF5.c.
References IOR_param_t::dryRun, and MPIIO_Delete().
|
static |
Definition at line 468 of file aiori-HDF5.c.
|
static |
Definition at line 632 of file aiori-HDF5.c.
References IOR_param_t::dryRun, and MPIIO_GetFileSize().
|
static |
Definition at line 508 of file aiori-HDF5.c.
References WARN.
|
static |
Definition at line 166 of file aiori-HDF5.c.
References IOR_param_t::backend_options, IOR_param_t::blockSize, IOR_param_t::collective, HDF5_options_t::collective_md, dataSpace, IOR_param_t::dryRun, ERR, IOR_param_t::filePerProc, HDF5_CHECK, IOR_param_t::hintsFileName, IOR_param_t::individualDataSets, IOR_APPEND, IOR_CREAT, IOR_DIRECT, IOR_EXCL, IOR_RDONLY, IOR_RDWR, IOR_TRUNC, IOR_WRONLY, memDataSpace, MPI_CHECK, newlyOpenedFile, NULL, NUM_DIMS, IOR_param_t::numTasks, o, IOR_param_t::open, IOR_param_t::openFlags, rank, IOR_param_t::setAlignment, SetHints(), IOR_param_t::showHints, ShowHints(), testComm, IOR_param_t::transferSize, TRUE, WARN, WRITE, and xferPropList.
Referenced by HDF5_Create().
|
static |
Definition at line 103 of file aiori-HDF5.c.
References HDF5_options_t::collective_md, LAST_OPTION, NULL, o, and OPTION_FLAG.
|
static |
Definition at line 388 of file aiori-HDF5.c.
References IOR_param_t::blockSize, dataSet, IOR_param_t::dryRun, FALSE, fileDataSpace, IOR_param_t::filePerProc, HDF5_CHECK, memDataSpace, newlyOpenedFile, IOR_param_t::numTasks, IOR_param_t::offset, rank, rankOffset, READCHECK, SeekOffset(), SetupDataSet(), TRUE, WRITE, and xferPropList.
|
static |
Definition at line 530 of file aiori-HDF5.c.
References IOR_param_t::blockSize, dataSet, fileDataSpace, IOR_param_t::filePerProc, HDF5_CHECK, IOR_param_t::individualDataSets, NUM_DIMS, IOR_param_t::numTasks, IOR_param_t::transferSize, and TRUE.
Referenced by HDF5_Xfer().
|
static |
Definition at line 570 of file aiori-HDF5.c.
References dataSet, dataSpace, ERR, HDF5_CHECK, IOR_param_t::individualDataSets, MAX_STR, newlyOpenedFile, IOR_param_t::noFill, IOR_param_t::numTasks, IOR_param_t::open, rank, rankOffset, TRUE, verbose, VERBOSE_1, WARN, and WRITE.
Referenced by HDF5_Xfer().
hid_t dataSet |
Definition at line 147 of file aiori-HDF5.c.
Referenced by HDF5_Close(), HDF5_Xfer(), SeekOffset(), and SetupDataSet().
hid_t dataSpace |
Definition at line 148 of file aiori-HDF5.c.
Referenced by HDF5_Close(), HDF5_Open(), and SetupDataSet().
hid_t fileDataSpace |
Definition at line 149 of file aiori-HDF5.c.
Referenced by HDF5_Close(), HDF5_Xfer(), and SeekOffset().
ior_aiori_t hdf5_aiori |
Definition at line 127 of file aiori-HDF5.c.
hid_t memDataSpace |
Definition at line 150 of file aiori-HDF5.c.
Referenced by HDF5_Close(), HDF5_Open(), and HDF5_Xfer().
int newlyOpenedFile |
Definition at line 151 of file aiori-HDF5.c.
Referenced by HDF5_Open(), HDF5_Xfer(), and SetupDataSet().
|
static |
Definition at line 146 of file aiori-HDF5.c.
Referenced by HDF5_Close(), HDF5_Open(), and HDF5_Xfer().