Closed laurent-nguyen closed 7 months ago
Here is the list I made of constants that are similar in terms of incompatibility :
MPI_MAX_PROCESSOR_NAME
MPI_MAX_LIBRARY_VERSION_STRING
MPI_MAX_ERROR_STRING
MPI_MAX_PORT_NAME
MPI_MAX_OBJECT_NAME
MPI_MAX_INFO_KEY
MPI_MAX_INFO_VAL
Hello,
To reproduce: OS = Rhel8 OpenMPI 4.1.5 mpich 3.4.2
Here the code to reproduce:
When compiling with OpenMPI:
When compiling with MPICH:
We can see that the
MPI_MAX_LIBRARY_VERSION_STRING
constant is greater in MPICH than OpenMPI. So, it implies there is a memory overflow when translating from OpenMPI to MPICH:MPICH returns a larger buffer than OpenMPI.
Thanks,