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.
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 *) |
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 599 of file aiori-HDF5.c.
References MPIIO_Access().
|
static |
Definition at line 440 of file aiori-HDF5.c.
References dataSet, dataSpace, IOR_param_t::fd_fppReadCheck, fileDataSpace, HDF5_CHECK, memDataSpace, NULL, and xferPropList.
|
static |
Definition at line 128 of file aiori-HDF5.c.
References HDF5_Open().
|
static |
Definition at line 459 of file aiori-HDF5.c.
References MPIIO_Delete().
|
static |
Definition at line 432 of file aiori-HDF5.c.
|
static |
Definition at line 591 of file aiori-HDF5.c.
References MPIIO_GetFileSize().
|
static |
Definition at line 467 of file aiori-HDF5.c.
References WARN.
|
static |
Definition at line 136 of file aiori-HDF5.c.
References IOR_param_t::blockSize, IOR_param_t::collective, dataSpace, 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, 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 355 of file aiori-HDF5.c.
References IOR_param_t::blockSize, dataSet, 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 489 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 529 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 117 of file aiori-HDF5.c.
Referenced by HDF5_Close(), HDF5_Xfer(), SeekOffset(), and SetupDataSet().
hid_t dataSpace |
Definition at line 118 of file aiori-HDF5.c.
Referenced by HDF5_Close(), HDF5_Open(), and SetupDataSet().
hid_t fileDataSpace |
Definition at line 119 of file aiori-HDF5.c.
Referenced by HDF5_Close(), HDF5_Xfer(), and SeekOffset().
ior_aiori_t hdf5_aiori |
Definition at line 99 of file aiori-HDF5.c.
hid_t memDataSpace |
Definition at line 120 of file aiori-HDF5.c.
Referenced by HDF5_Close(), HDF5_Open(), and HDF5_Xfer().
int newlyOpenedFile |
Definition at line 121 of file aiori-HDF5.c.
Referenced by HDF5_Open(), HDF5_Xfer(), and SetupDataSet().
|
static |
Definition at line 116 of file aiori-HDF5.c.
Referenced by HDF5_Close(), HDF5_Open(), and HDF5_Xfer().