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_mif.c File Reference
#include <stdlib.h>
#include <macsio_mif.h>

Go to the source code of this file.

Data Structures

struct  _MACSIO_MIF_baton_t


#define MACSIO_MIF_MIFMAX   -1


typedef struct _MACSIO_MIF_baton_t MACSIO_MIF_baton_t


MACSIO_MIF_baton_tMACSIO_MIF_Init (int numFiles, MACSIO_MIF_ioFlags_t ioFlags, MPI_Comm mpiComm, int mpiTag, MACSIO_MIF_CreateCB createCb, MACSIO_MIF_OpenCB openCb, MACSIO_MIF_CloseCB closeCb, void *clientData)
 Initialize MACSIO_MIF for a MIF I/O operation. More...
void MACSIO_MIF_Finish (MACSIO_MIF_baton_t *bat)
 End a MACSIO_MIF I/O operation and free resources. More...
void * MACSIO_MIF_WaitForBaton (MACSIO_MIF_baton_t *Bat, char const *fname, char const *nsname)
 Wait for exclusive access to the group's file. More...
void MACSIO_MIF_HandOffBaton (MACSIO_MIF_baton_t const *Bat, void *file)
 Release exclusive access to the group's file. More...
int MACSIO_MIF_RankOfGroup (MACSIO_MIF_baton_t const *Bat, int rankInComm)
 Rank of the group in which a given (global) rank exists. More...
int MACSIO_MIF_RankInGroup (MACSIO_MIF_baton_t const *Bat, int rankInComm)
 Rank within a group of a given (global) rank. More...

Macro Definition Documentation


Definition at line 41 of file macsio_mif.c.


Definition at line 42 of file macsio_mif.c.

#define MACSIO_MIF_MIFMAX   -1

Definition at line 43 of file macsio_mif.c.


Definition at line 44 of file macsio_mif.c.