sandbox/bugs/multired.c
Sum reductions can be incorrect in MPI
The code below works in serial and OpenMP but fails in MPI. This is
because the initial value of s is incorrectly summed over
all processes in MPI.
The code below works in serial and OpenMP but fails in MPI. This is
because the initial value of s is incorrectly summed over
all processes in MPI.