Skip to content

Commit dd550d1

Browse files
author
code-mphi
committed
Fix MPI error on Windows (bash)
1 parent 91a26c7 commit dd550d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Parallel/Parallel.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ bool Parallel::verifyStateCPUs()
289289
//Gathering of errors
290290
int nbErr_temp(0);
291291
int nbErr(errors.size());
292-
MPI_Allreduce(&nbErr, &nbErr_temp, 1, MPI_INTEGER, MPI_SUM, MPI_COMM_WORLD);
292+
MPI_Allreduce(&nbErr, &nbErr_temp, 1, MPI_INT, MPI_SUM, MPI_COMM_WORLD);
293293
//Stop if error on one CPU
294294
if (nbErr_temp) {
295295
return true;

0 commit comments

Comments
 (0)