IOR
|
#include <stdio.h>
#include <stdlib.h>
#include <sys/stat.h>
#include "ior.h"
#include "iordef.h"
#include "aiori.h"
#include "utilities.h"
Go to the source code of this file.
Data Structures | |
struct | mpiio_fd_t |
struct | mpiio_options_t |
Macros | |
#define | MPIAPI /* defined as __stdcall on Windows */ |
Functions | |
static IOR_offset_t | SeekOffset (MPI_File, IOR_offset_t, aiori_mod_opt_t *) |
static aiori_fd_t * | MPIIO_Create (char *, int iorflags, aiori_mod_opt_t *) |
static aiori_fd_t * | MPIIO_Open (char *, int flags, aiori_mod_opt_t *) |
static IOR_offset_t | MPIIO_Xfer (int, aiori_fd_t *, IOR_size_t *, IOR_offset_t, IOR_offset_t, aiori_mod_opt_t *) |
static void | MPIIO_Close (aiori_fd_t *, aiori_mod_opt_t *) |
static char * | MPIIO_GetVersion () |
static void | MPIIO_Fsync (aiori_fd_t *, aiori_mod_opt_t *) |
static int | MPIIO_check_params (aiori_mod_opt_t *options) |
static option_help * | MPIIO_options (aiori_mod_opt_t **init_backend_options, aiori_mod_opt_t *init_values) |
void | MPIIO_xfer_hints (aiori_xfer_hint_t *params) |
int | MPIIO_Access (const char *path, int mode, aiori_mod_opt_t *module_options) |
void | MPIIO_Delete (char *testFileName, aiori_mod_opt_t *module_options) |
IOR_offset_t | MPIIO_GetFileSize (aiori_mod_opt_t *module_options, char *testFileName) |
Variables | |
ior_aiori_t | mpiio_aiori |
static aiori_xfer_hint_t * | hints = NULL |
#define MPIAPI /* defined as __stdcall on Windows */ |
Definition at line 29 of file aiori-MPIIO.c.
Referenced by MPIIO_Xfer().
int MPIIO_Access | ( | const char * | path, |
int | mode, | ||
aiori_mod_opt_t * | module_options | ||
) |
Definition at line 139 of file aiori-MPIIO.c.
References aiori_xfer_hint_t::dryRun, mpiio_options_t::hintsFileName, MPI_CHECK, and SetHints().
Referenced by HDF5_Access(), and NCMPI_Access().
|
static |
Definition at line 115 of file aiori-MPIIO.c.
References aiori_xfer_hint_t::blockSize, aiori_xfer_hint_t::collective, ERR, GIBIBYTE, aiori_xfer_hint_t::numTasks, aiori_xfer_hint_t::randomOffset, aiori_xfer_hint_t::transferSize, TRUE, mpiio_options_t::useFileView, mpiio_options_t::useSharedFilePointer, and mpiio_options_t::useStridedDatatype.
|
static |
Definition at line 500 of file aiori-MPIIO.c.
References mpiio_fd_t::contigType, aiori_xfer_hint_t::dryRun, mpiio_fd_t::fd, mpiio_fd_t::fileType, MPI_CHECK, mpiio_fd_t::transferType, TRUE, and mpiio_options_t::useFileView.
|
static |
Definition at line 171 of file aiori-MPIIO.c.
References MPIIO_Open().
void MPIIO_Delete | ( | char * | testFileName, |
aiori_mod_opt_t * | module_options | ||
) |
Definition at line 521 of file aiori-MPIIO.c.
References aiori_xfer_hint_t::dryRun, and MPI_CHECKF.
Referenced by HDF5_Delete(), and NCMPI_Delete().
|
static |
Definition at line 487 of file aiori-MPIIO.c.
References aiori_xfer_hint_t::dryRun, EWARN, and mpiio_fd_t::fd.
IOR_offset_t MPIIO_GetFileSize | ( | aiori_mod_opt_t * | module_options, |
char * | testFileName | ||
) |
Definition at line 588 of file aiori-MPIIO.c.
References aiori_xfer_hint_t::dryRun, aiori_xfer_hint_t::filePerProc, mpiio_options_t::hintsFileName, MPI_CHECK, SetHints(), testComm, and TRUE.
Referenced by HDF5_GetFileSize(), and NCMPI_GetFileSize().
|
static |
Definition at line 533 of file aiori-MPIIO.c.
References MPI_CHECK.
|
static |
Definition at line 179 of file aiori-MPIIO.c.
References aiori_xfer_hint_t::blockSize, aiori_xfer_hint_t::dryRun, aiori_xfer_hint_t::filePerProc, mpiio_options_t::hintsFileName, IOR_APPEND, IOR_CREAT, IOR_DIRECT, IOR_EXCL, IOR_RDONLY, IOR_RDWR, IOR_TRUNC, IOR_WRONLY, MPI_CHECK, MPI_CHECKF, aiori_xfer_hint_t::numTasks, mpiio_options_t::preallocate, rank, rankOffset, aiori_xfer_hint_t::segmentCount, SetHints(), mpiio_options_t::showHints, ShowHints(), testComm, aiori_xfer_hint_t::transferSize, mpiio_options_t::useFileView, and mpiio_options_t::useStridedDatatype.
Referenced by MPIIO_Create().
|
static |
Definition at line 63 of file aiori-MPIIO.c.
References mpiio_options_t::hintsFileName, LAST_OPTION, NULL, o, OPTION_FLAG, OPTION_OPTIONAL_ARGUMENT, mpiio_options_t::preallocate, mpiio_options_t::showHints, mpiio_options_t::useFileView, and mpiio_options_t::useStridedDatatype.
|
static |
Definition at line 334 of file aiori-MPIIO.c.
References aiori_xfer_hint_t::blockSize, aiori_xfer_hint_t::collective, mpiio_fd_t::contigType, aiori_xfer_hint_t::dryRun, mpiio_fd_t::fd, mpiio_fd_t::fileType, MPI_CHECK, MPIAPI, rank, SeekOffset(), aiori_xfer_hint_t::segmentCount, aiori_xfer_hint_t::transferSize, mpiio_fd_t::transferType, mpiio_options_t::useFileView, mpiio_options_t::useSharedFilePointer, mpiio_options_t::useStridedDatatype, and WRITE.
void MPIIO_xfer_hints | ( | aiori_xfer_hint_t * | params | ) |
Definition at line 111 of file aiori-MPIIO.c.
Referenced by HDF5_init_xfer_options(), and NCMPI_xfer_hints().
|
static |
Definition at line 545 of file aiori-MPIIO.c.
References aiori_xfer_hint_t::blockSize, aiori_xfer_hint_t::filePerProc, MPI_CHECK, aiori_xfer_hint_t::numTasks, offset, rank, rankOffset, aiori_xfer_hint_t::transferSize, and mpiio_options_t::useFileView.
Referenced by MPIIO_Xfer().
|
static |
Definition at line 109 of file aiori-MPIIO.c.
ior_aiori_t mpiio_aiori |
Definition at line 87 of file aiori-MPIIO.c.