Skip to content

Commit

Permalink
Fix MPI error on Windows (bash)
Browse files Browse the repository at this point in the history
  • Loading branch information
code-mphi committed Jun 13, 2023
1 parent 91a26c7 commit dd550d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Parallel/Parallel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ bool Parallel::verifyStateCPUs()
//Gathering of errors
int nbErr_temp(0);
int nbErr(errors.size());
MPI_Allreduce(&nbErr, &nbErr_temp, 1, MPI_INTEGER, MPI_SUM, MPI_COMM_WORLD);
MPI_Allreduce(&nbErr, &nbErr_temp, 1, MPI_INT, MPI_SUM, MPI_COMM_WORLD);
//Stop if error on one CPU
if (nbErr_temp) {
return true;
Expand Down

0 comments on commit dd550d1

Please sign in to comment.