#2180: OpenMPI tarball in ExternalLibaries/MPI is outdated using 1.X series
| Reporter: | Roland Haas |
| Status: | resolved |
| Milestone: | |
| Version: | development version |
| Type: | enhancement |
| Priority: | minor |
| Component: | EinsteinToolkit thorn |
Changes (by Roland Haas):
| status: | resolved (was new) |
The 1.X series is no longer supported by Open-MPI. Instead we should use either 2.1 or a version in the 3.X series.
See https://www.open-mpi.org/software/
Keyword: MPI
Comment (by Roland Haas):
Updated to 4.0.2 in git hash f90a8ac "MPI: update included tarball to 4.0.2" of ExternalLibraries-MPI
The README file says:
Note that starting with Open MPI v4.0.0, prototypes for several legacy MPI-1 symbols that were deleted in the MPI-3.0 specification (which was published in 2012) are no longer available by default in mpi.h. Specifically, several MPI-1 symbols were deprecated in the 1996 publishing of the MPI-2.0 specification. These deprecated symbols were eventually removed from the MPI-3.0 specification in 2012.
The symbols that now no longer appear by default in Open MPI's mpi.h are:
- MPI_Address (replaced by MPI_Get_address)
- MPI_Errhandler_create (replaced by MPI_Comm_create_errhandler)
- MPI_Errhandler_get (replaced by MPI_Comm_get_errhandler)
- MPI_Errhandler_set (replaced by MPI_Comm_set_errhandler)
- MPI_Type_extent (replaced by MPI_Type_get_extent)
- MPI_Type_hindexed (replaced by MPI_Type_create_hindexed)
- MPI_Type_hvector (replaced by MPI_Type_create_hvector)
- MPI_Type_lb (replaced by MPI_Type_get_extent)
- MPI_Type_struct (replaced by MPI_Type_create_struct)
- MPI_Type_ub (replaced by MPI_Type_get_extent)
- MPI_LB (replaced by MPI_Type_create_resized)
- MPI_UB (replaced by MPI_Type_create_resized)
- MPI_COMBINER_HINDEXED_INTEGER
- MPI_COMBINER_HVECTOR_INTEGER
- MPI_COMBINER_STRUCT_INTEGER
- MPI_Handler_function (replaced by MPI_Comm_errhandler_function
Which could be a problem for code still using the long deprecated symbols. The Mayer release Einstein Toolkit compiles fine with it, though some older versions have used MPI_UB
--
Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/2180/openmpi-tarball-in-externallibaries-mpi-is