This is an ugly hack to work around a bug between GCC and Open MPI 5. Tests determined that on discover (at least) running GEOSgcm with -ffpe-trap=zero caused a crash on MPI_Init. This was reported to Open MPI in https://github.com/open-mpi/ompi/issues/12400
For now, the workaround is if GCC 13 + Open MPI 5.
The other problem is it's discover specific, which isn't great.
I'm going to keep this in draft for now so I don't lose it, but hopefully the ompi folks can help me out.
This is an ugly hack to work around a bug between GCC and Open MPI 5. Tests determined that on discover (at least) running GEOSgcm with
-ffpe-trap=zero
caused a crash onMPI_Init
. This was reported to Open MPI in https://github.com/open-mpi/ompi/issues/12400For now, the workaround is if GCC 13 + Open MPI 5.
The other problem is it's discover specific, which isn't great.
I'm going to keep this in draft for now so I don't lose it, but hopefully the ompi folks can help me out.