14 #ifndef SION_SION_GENERIC_INTERNAL_H
15 #define SION_SION_GENERIC_INTERNAL_H
18 #include "sion_buddy_common.h"
24 #define _SION_INTERNAL_FLAG_NORMAL 1
25 #define _SION_INTERNAL_FLAG_BUDDY_NORMAL 2
26 #define _SION_INTERNAL_FLAG_BUDDY_SEND 4
27 #define _SION_INTERNAL_FLAG_BUDDY_COLL 8
28 #define _SION_INTERNAL_FLAG_BUDDY_READ 16
29 #define _SION_INTERNAL_FLAG_UNKNOWN 32
39 sion_int64 *chunksize,
40 sion_int32 *fsblksize,
66 int _sion_generic_get_and_distribute_info_from_file(
_sion_generic_gendata *sion_gendata,
const char *fname);
69 sion_int32 **mapping );
int _sion_parclose_generic(int sid, int rank, int ntasks, int mapping_size, sion_int32 *mapping, int flag, _sion_generic_gendata *sion_gendata, _sion_generic_buddy *buddy_info)
Internal function to close parallel opened SION file.
int _sion_paropen_generic_one_file(int sid, char *fname, _sion_flags_store *flags_store, char *prefix, int *numFiles, int *filenumber, sion_int64 *chunksize, sion_int32 *fsblksize, int rank, int ntasks, int *globalrank, int flag, FILE **fileptr, _sion_generic_gendata *sion_gendata, _sion_generic_buddy *buddy_info)
Generic parallel open of one direct access file.
int _sion_generic_renumber_collmsa(_sion_generic_gendata *comm, _sion_flags_store *flags)
Splits a Communicator in numfiles different communicators.
int _sion_parreinit_generic(int sid, sion_int64 chunksize, int rank, int ntasks, _sion_generic_gendata *sion_gendata)
change chunksize for an already opened SION file (write)
Sion File Descriptor Structure.