Commit 0bb74580 authored by gsell's avatar gsell
Browse files

Merge branch...

Merge branch '526-runtime-error-on-macos-reduction-mpi_sum-is-not-defined-on-mpi_integer' into 'master'

Resolve "Runtime error on macOS: reduction MPI_SUM is not defined on MPI_INTEGER"

Closes #526

See merge request !346
parents dad1d8d1 ee4d1520
...@@ -384,7 +384,7 @@ void ArbitraryDomain::compute(Vector_t hr, NDIndex<3> localId){ ...@@ -384,7 +384,7 @@ void ArbitraryDomain::compute(Vector_t hr, NDIndex<3> localId){
} }
int startIdx = 0; int startIdx = 0;
MPI_Scan(&numtotal, &startIdx, 1, MPI_INTEGER, MPI_SUM, MPI_COMM_WORLD); MPI_Scan(&numtotal, &startIdx, 1, MPI_INT, MPI_SUM, MPI_COMM_WORLD);
startIdx -= numtotal; startIdx -= numtotal;
// Build up index and coord map // Build up index and coord map
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment