20 #include "wrapperMPI.h" 28 const char* _cPathChild,
34 strcat(ctmpPath, _cPathChild);
51 const char* _cPathChild,
57 strcat(ctmpPath, _cPathChild);
58 *_fp = fopen(ctmpPath, _cmode);
int childfopenALL(const char *_cPathChild, const char *_cmode, FILE **_fp)
All processes open file in output/ directory.
int childfopenMPI(const char *_cPathChild, const char *_cmode, FILE **_fp)
Only the root process open file in output/ directory.
char * cErrFIOpen
Error Message in FileIO.c.
const char * cParentOutputFolder
FILE * fopenMPI(const char *FileName, const char *mode)
MPI file I/O (open) wrapper. Only the root node (myrank = 0) should be open/read/write (small) parame...
FILE * stdoutMPI
File pointer to the standard output defined in InitializeMPI()