Skip to content

Commit

Permalink
Update MPI error message
Browse files Browse the repository at this point in the history
Propagate error more directly to help users diagnose issues.
  • Loading branch information
ddn0 committed Apr 8, 2020
1 parent 01545c8 commit 6313bb4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libdist/src/Network.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ void NetworkInterface::initializeMPI() {
MPI_Abort(MPI_COMM_WORLD, initSuccess);
}

if (supportProvided < MPI_THREAD_MULTIPLE) {
GALOIS_DIE("Thread multiple (MPI) not supported.");
if (supportProvided != MPI_THREAD_MULTIPLE) {
GALOIS_DIE("MPI_THREAD_MULTIPLE not supported.");
}
}

Expand Down

0 comments on commit 6313bb4

Please sign in to comment.