#495: MPI error from Carpet with QuasiLocalMeasures: "MPI_SUM is not defined for non-intrinsic datatypes" ---------------------+------------------------------------------------------ Reporter: hinder | Owner: eschnett Type: defect | Status: new Priority: major | Milestone: Component: Carpet | Version: Resolution: | Keywords: ---------------------+------------------------------------------------------
Comment (by eschnett):
The work-around is the to disable CarpetScalar output for complex quantities.
The solution is to add support for Carpet's complex MPI datatypes to CarpetReduce. MPI does not offer C datatypes for complex numbers. Maybe we can instead use Fortran datatypes -- they should be the same. If so, the code in Carpet which creates new MPI datatypes for complex number should be modified to use the existing Fortran complex number MPI datatypes instead.