You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Calling FieldList<Dimension, Vector>::sumElements causes an error when Spheral is compiled in MPI mode. Specifically,
Fatal error in MPI_Allreduce: Invalid MPI_Op, error stack:
MPI_Allreduce(937)......: MPI_Allreduce(sbuf=..., rbuf=..., count=1, dtype=USER<contig>, MPI_SUM, MPI_COMM_WORLD) failed
MPIR_SUM_check_dtype(97): MPI_Op MPI_SUM operation not defined for this datatype
To reproduce, call sumElements on a FieldList<Dimension, Vector>. The same issue could occur for SymTensor/Tensor as well. The code controlling the MPI behavior for Spheral types is here:
Calling FieldList<Dimension, Vector>::sumElements causes an error when Spheral is compiled in MPI mode. Specifically,
To reproduce, call sumElements on a FieldList<Dimension, Vector>. The same issue could occur for SymTensor/Tensor as well. The code controlling the MPI behavior for Spheral types is here:
spheral/src/Utilities/RegisterMPIDataTypes.cc
Lines 23 to 28 in 7abbe6c
The text was updated successfully, but these errors were encountered: