SIONlib  1.7.7
Scalable I/O library for parallel access to task-local files
Data Structures | Macros | Typedefs | Functions
sion_mpi_internal_gen.h File Reference
#include "mpi.h"
#include "sion_const.h"
Include dependency graph for sion_mpi_internal_gen.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  _sion_filedesc_mpiadd_struct
 

Typedefs

typedef struct _sion_filedesc_mpiadd_struct _sion_filedesc_mpiadd
 

Functions

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. More...
 
int _sion_get_info_from_splitted_comm_mpi (MPI_Comm gComm, MPI_Comm lComm, int *numComm, int *CommNumber, int *lrank, int *lsize)
 
int _sion_get_numfiles_from_file_mpi (char *fname)
 
int _sion_get_filenumber_from_files_mpi (char *fname, MPI_Comm gComm, int *numfiles, int *filenumber, int *lRank)
 
int _sion_errorprint_mpi (int rc, int level, const char *format,...)
 

Function Documentation

◆ _sion_gen_info_from_gcomm_mpi()

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.

Parameters
[in]numFilesnumber of files
[in]gCommglobal communicator
[out]filenumberfile number
[out]lranklocal rank
[out]lsizelocal size

Definition at line 73 of file sion_mpi_internal_gen.c.