Commit ee4d1520 authored by gsell's avatar gsell
Browse files

use MPI_INT instead of MPI_INTEER in MPI_Scan

parent ba764f33
......@@ -384,7 +384,7 @@ void ArbitraryDomain::compute(Vector_t hr, NDIndex<3> localId){
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;
// 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