IOR
|
#include <stdio.h>
#include <stdlib.h>
#include <sys/stat.h>
#include <pnetcdf.h>
#include "ior.h"
#include "iordef.h"
#include "aiori.h"
#include "utilities.h"
Go to the source code of this file.
Data Structures | |
struct | ncmpi_options_t |
Macros | |
#define | NUM_DIMS 3 /* number of dimensions to data set */ |
#define | NCMPI_CHECK(NCMPI_RETURN, MSG) |
Functions | |
static int | GetFileMode (int flags) |
static aiori_fd_t * | NCMPI_Create (char *, int iorflags, aiori_mod_opt_t *) |
static aiori_fd_t * | NCMPI_Open (char *, int iorflags, aiori_mod_opt_t *) |
static IOR_offset_t | NCMPI_Xfer (int, aiori_fd_t *, IOR_size_t *, IOR_offset_t, IOR_offset_t, aiori_mod_opt_t *) |
static void | NCMPI_Close (aiori_fd_t *, aiori_mod_opt_t *) |
static void | NCMPI_Delete (char *, aiori_mod_opt_t *) |
static char * | NCMPI_GetVersion () |
static void | NCMPI_Fsync (aiori_fd_t *, aiori_mod_opt_t *) |
static IOR_offset_t | NCMPI_GetFileSize (aiori_mod_opt_t *, char *) |
static int | NCMPI_Access (const char *, int, aiori_mod_opt_t *) |
static void | NCMPI_xfer_hints (aiori_xfer_hint_t *params) |
static option_help * | NCMPI_options (aiori_mod_opt_t **init_backend_options, aiori_mod_opt_t *init_values) |
Variables | |
static aiori_xfer_hint_t * | hints = NULL |
ior_aiori_t | ncmpi_aiori |
#define NCMPI_CHECK | ( | NCMPI_RETURN, | |
MSG | |||
) |
Definition at line 34 of file aiori-NCMPI.c.
Referenced by NCMPI_Close(), NCMPI_Create(), NCMPI_Open(), and NCMPI_Xfer().
#define NUM_DIMS 3 /* number of dimensions to data set */ |
Definition at line 29 of file aiori-NCMPI.c.
Referenced by NCMPI_Xfer().
|
static |
Definition at line 372 of file aiori-NCMPI.c.
References IOR_APPEND, IOR_CREAT, IOR_DIRECT, IOR_EXCL, IOR_RDONLY, IOR_RDWR, IOR_TRUNC, IOR_WRONLY, and WARN.
Referenced by NCMPI_Create(), and NCMPI_Open().
|
static |
Definition at line 421 of file aiori-NCMPI.c.
References MPIIO_Access().
|
static |
Definition at line 343 of file aiori-NCMPI.c.
References aiori_xfer_hint_t::collective, FALSE, and NCMPI_CHECK.
|
static |
Definition at line 125 of file aiori-NCMPI.c.
References ERR, GetFileMode(), ncmpi_options_t::hintsFileName, MPI_CHECK, NCMPI_CHECK, NULL, o, rank, SetHints(), ncmpi_options_t::showHints, ShowHints(), and testComm.
|
static |
Definition at line 356 of file aiori-NCMPI.c.
References MPIIO_Delete().
|
static |
Definition at line 336 of file aiori-NCMPI.c.
|
static |
Definition at line 412 of file aiori-NCMPI.c.
References MPIIO_GetFileSize().
|
static |
Definition at line 364 of file aiori-NCMPI.c.
|
static |
Definition at line 172 of file aiori-NCMPI.c.
References ERR, GetFileMode(), ncmpi_options_t::hintsFileName, MPI_CHECK, NCMPI_CHECK, NULL, o, rank, SetHints(), ncmpi_options_t::showHints, ShowHints(), and testComm.
|
static |
Definition at line 81 of file aiori-NCMPI.c.
References ncmpi_options_t::hintsFileName, LAST_OPTION, NULL, o, OPTION_FLAG, OPTION_OPTIONAL_ARGUMENT, and ncmpi_options_t::showHints.
|
static |
Definition at line 219 of file aiori-NCMPI.c.
References aiori_xfer_hint_t::blockSize, aiori_xfer_hint_t::collective, FALSE, aiori_xfer_hint_t::filePerProc, ncmpi_options_t::firstReadCheck, NCMPI_CHECK, NUM_DIMS, aiori_xfer_hint_t::numTasks, o, rank, rankOffset, READCHECK, ncmpi_options_t::startDataSet, aiori_xfer_hint_t::transferSize, TRUE, ncmpi_options_t::var_id, and WRITE.
|
static |
Definition at line 64 of file aiori-NCMPI.c.
References MPIIO_xfer_hints().
|
static |
Definition at line 62 of file aiori-NCMPI.c.
ior_aiori_t ncmpi_aiori |
Definition at line 100 of file aiori-NCMPI.c.