Skip to content

Commit

Permalink
Increase MPI_REDUCE_BLOCKSIZE 100 fold. Improves NeXus output
Browse files Browse the repository at this point in the history
stability in massively parallel (>500 core) scenarios.
  • Loading branch information
willend committed Dec 20, 2024
1 parent e5976ee commit f30e837
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/lib/share/mccode-r.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ void destroy_darr3d(DArray3d a);
}

#ifndef MPI_REDUCE_BLOCKSIZE
#define MPI_REDUCE_BLOCKSIZE 1000
#define MPI_REDUCE_BLOCKSIZE 100000
#endif

int mc_MPI_Sum(double* buf, long count);
Expand Down

0 comments on commit f30e837

Please sign in to comment.