diff --git a/src/utils/checkpointing/Checkpoint.cpp b/src/utils/checkpointing/Checkpoint.cpp index ffd8c1c4649a521f2d0ca247c9a44d9cbd3c4297..aeeb8688c89fb2e1475895d31a7d62c2e976e2d8 100644 --- a/src/utils/checkpointing/Checkpoint.cpp +++ b/src/utils/checkpointing/Checkpoint.cpp @@ -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();