Set MPI threading mode for hyd-7c machine

This commit is contained in:
Brandon Potter committed 2024-07-11 08:43:01 -07:00
1 parent a9f2eff207
commit 8b14d9f07d
4 files changed
+6 -6

No files matched your search

+1 -1
View File
@@ -55,7 +55,7 @@ class CommunicatorMPI {
MPI_Initialized(&initialized);
if (!initialized) {
int provided;
MPI_Init_thread(nullptr, nullptr, MPI_THREAD_SINGLE, &provided);
MPI_Init_thread(nullptr, nullptr, MPI_THREAD_MULTIPLE, &provided);
}
MPI_Comm_rank(comm_, &my_pe_);
MPI_Comm_size(comm_, &num_pes_);