Skip to content
Snippets Groups Projects
Commit 223686a3 authored by Stéphane Del Pino's avatar Stéphane Del Pino
Browse files

Use Messenger::comm() instead of MPI_COMM_WORLD for parallel checkpointing

parent 1a9873a2
Branches
No related tags found
1 merge request!199Integrate checkpointing
......@@ -36,7 +36,7 @@ checkpoint()
create_props.add(HighFive::FileSpaceStrategy(H5F_FSPACE_STRATEGY_FSM_AGGR, true, 0));
HighFive::FileAccessProps fapl;
fapl.add(HighFive::MPIOFileAccess{MPI_COMM_WORLD, MPI_INFO_NULL});
fapl.add(HighFive::MPIOFileAccess{parallel::Messenger::getInstance().comm(), MPI_INFO_NULL});
fapl.add(HighFive::MPIOCollectiveMetadata{});
uint64_t& checkpoint_number = ResumingManager::getInstance().checkpointNumber();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment