14 #ifndef SION_SION_MPI_INTERNAL_GEN_H
15 #define SION_SION_MPI_INTERNAL_GEN_H
25 #define MPI_Comm_rank PMPI_Comm_rank
26 #define MPI_Comm_size PMPI_Comm_size
27 #define MPI_Gather PMPI_Gather
28 #define MPI_Scatter PMPI_Scatter
29 #define MPI_Bcast PMPI_Bcast
30 #define MPI_Barrier PMPI_Barrier
31 #define MPI_Comm_split PMPI_Comm_split
32 #define MPI_Send PMPI_Send
33 #define MPI_Recv PMPI_Recv
46 int _sion_get_info_from_splitted_comm_mpi(MPI_Comm gComm, MPI_Comm lComm,
int *numComm,
int *CommNumber,
int *lrank,
int *lsize);
48 int _sion_get_numfiles_from_file_mpi(
char *fname);
49 int _sion_get_filenumber_from_files_mpi(
char *fname, MPI_Comm gComm,
int *numfiles,
int *filenumber,
int *lRank);
50 int _sion_errorprint_mpi(
int rc,
int level,
const char *format, ...);
int _sion_gen_info_from_gcomm_mpi(int numFiles, MPI_Comm gComm, int *filenumber, int *lrank, int *lsize)
Splits a Communicator in numfiles different communicators.