HyPar
1.0
Finite-Difference Hyperbolic-Parabolic PDE Solver on Cartesian Grids
|
Create I/O groups of MPI ranks. More...
Go to the source code of this file.
Functions | |
int | MPICreateIOGroups (void *m) |
Create I/O groups of MPI ranks.
Definition in file MPIIOGroups.c.
int MPICreateIOGroups | ( | void * | m | ) |
Create I/O groups of MPI ranks: A scalable approach to file I/O when running simulations on a large number of processors (>10,000) is partitioning all the MPI ranks into I/O group. Each group has a "leader" that:
The number of I/O groups (and hence, the number of I/O ranks reading and writing to files) is specified through MPIVariables::N_IORanks. Ideally, this would correspond to the number of I/O nodes available for the total number of compute nodes being used on a HPC platform.
Two extreme cases are:
Neither of the extreme cases are scalable.
Notes:
m | MPI object of type MPIVariables |
Definition at line 37 of file MPIIOGroups.c.