Closed laurent-nguyen closed 9 months ago
It would seem that, comparably to my #44 pull request, a symbol defined by MPICH is defined as a macro by OpenMPI, so the symbol does not appear in the final binary.
#defined
here: https://github.com/open-mpi/ompi/blob/1a737357b7f9704f7795187c3cf3e0bb0261eba7/ompi/include/mpi.h.in#L564
I will try and make a similar PR to define this value.
Edit: I naively added an override so that in the MPICH_OMPI
library, a MPI_UNWEIGHTED
integer pointer is created, toward what seemed to be the default MPICH value found here, and that resulted in a nice old segmentation fault.
I need help understanding what transformations the mpi.h.in
goes through. In the OpenMPI permalink above, the value of MPI_UNWEIGHTED
is defined like so:
#define MPI_UNWEIGHTED ((int *) 2) /* unweighted graph */
What does that 2
stand for ?
HI wi4mpi team,
I got an error with wi4mpi, mpi4py and mpich when I use the preload mode from mpich to openmpi. Here the way to reproduce on Rhel8:
Note that if mpi4py is compiled with OpenMPI, it does work!
Regards,