16.2. Open MPI v5.0.x series
This file contains all the NEWS updates for the Open MPI v5.0.x series, in reverse chronological order.
16.2.1. Open MPI version 5.0.0rc8
- Date
29 September 2022
MPIR API has been removed
As was announced in summer 2017, Open MPI has removed support of MPIR-based tools beginning with the release of Open MPI v5.0.0.
The new PRRTE based runtime environment supports PMIx-tools API instead of the legacy MPIR API for debugging parallel jobs.
See https://github.com/openpmix/mpir-to-pmix-guide for more information.
zlib is suggested for better user experience
PMIx will optionally use zlib to compress large data streams. This may result in faster startup times and smaller memory footprints (compared to not using compression). The Open MPI community recommends building zlib support with PMIx, regardless of whether you are using an externally-installed PMIx or the PMIx that is installed with Open MPI.
Caution
Open MPI no longer builds 3rd-party packages such as Libevent, HWLOC, PMIx, and PRRTE as MCA components and instead:
Relies on external libraries whenever possible, and
Builds the 3rd party libraries only if needed, and as independent libraries, rather than linked into the Open MPI core libraries.
Changes since rc7:
Switched to the PRRTe v3.0 branch.
Many improvements and bugfixes to the one-sided
UCXtransport.Many improvements and bugfixes to
MPI Sessions.MPI-4: Initial implementations of
MPI_COMM_TYPE_HW_GUIDEDandMPI_COMM_TYPE_HW_GUIDEDadded.Fixes to singleton/MPI_COMM_SPAWN launching.
Changed the mpirun command line option
--stream-bufferingto be an –mca option. It can now be enabled with--mca ompi_stream_buffering Xwhere X could be 0 for unbuffered, 1 for line buffered, or 2 for fully buffered.Github: Automatic labeler added to label pull requests with their destination branch. Thanks to Joe Downs for the contribution.
Fixed a deadlock in a one-sided
RDMAfunction call. Thanks to @jotabf for the fix.Split out opal-core into two libraries. This will prevent unnecessary external dependencies from being linked with mpirun and other Open MPI tools.
The default atomics have been changed to be GCC, with C11 as a fallback. C11 atomics incurs sequential memory ordering, which in most cases is not desired.
Lots of updates to OpenMPI documentation.
Fixed a bug where users could not build the
OFIcomponent as a DSO. Thanks to Moritz Kreutzer for the report.Fixed the MPI_Parrived C binding. Thanks to @jprotze for the report.
Configure: Fix typo in CUDA checks. Thanks to Andreas Schwab for the fix.
Fixed bugs when compiling Open MPI with the –enable-script-wrapper-compilers configure option. Thanks to Julien Olivain for the fix.
Include missing sys/stat.h in sharedfp_sm.c to fix a compile error on FreeBSD. Thanks to Mosè Giordano for the fix.
Fixed numerous typos throughout the code base. Thanks to @luzpaz for these fixes.
Removed trailing whitespace from documentation. Thanks to @a-szegel for their contribution.
All other notable updates for v5.0.0:
Updated PMIx to the
v4.2branch - current hash:1f0b53f.Updated PRRTE to the
v3.0branch - current hash:30b3222.New Features:
ULFM Fault Tolerance support has been added. See the ULFM section
CUDAis now supported in theofiMTL.mpirun option
--mca ompi_display_comm mpi_init/mpi_finalizehas been added. This enables a communication protocol report: whenMPI_Initis invoked (using thempi_initvalue) and/or whenMPI_Finalizeis invoked (using thempi_finalizevalue).The threading framework has been added to allow building OMPI with different threading libraries. It currently supports Argobots, Qthreads, and Pthreads. See the
--with-threadsoption in theconfigurecommand. Thanks to Shintaro Iwasaki and Jan Ciesko for their contributions to this effort.New Thread Local Storage API: Removes global visibility of TLS structures and allows for dynamic TLS handling.
Added load-linked, store-conditional atomics support for AArch64.
Added atomicity support to the
ompiocomponent.Added support for MPI minimum alignment key to the one-sided
RDMAcomponent.Add ability to detect patched memory to
memory_patcher. Thanks to Rich Welch for the contribution.
MPI-4.0 updates and additions:
Support for
MPI Sessionshas been added.Added partitioned communication using persistent sends and persistent receives.
Added persistent collectives to the
MPI_namespace (they were previously available via theMPIX_prefix).Added
MPI_Isendrecv()and its variants.Added support for
MPI_Comm_idup_with_info().Added support for
MPI_Info_get_string().Added support for
initial_error_handlerand theERRORS_ABORTinfrastructure.Added error handling for “unbound” errors to
MPI_COMM_SELF.Made
MPI_Comm_get_info(),MPI_File_get_info(), andMPI_Win_get_info()compliant to the standard.Droped unknown/ignored info keys on communicators, files, and windows.
Transport updates and improvements
One-sided Communication:
Many MPI one-sided and RDMA emulation fixes for the
tcpBTL.This patch series fixs many issues when running with
--mca osc rdma --mca btl tcp, IE - TCP support for one sided MPI calls.
Many MPI one-sided fixes for the
ucxBTL.Added support for
acc_single_intrinsicto the one-sideducxcomponent.Removed the legacy
pt2ptone-sided component. Users should use therdmaone-sided component instead with thetcpBTL and/or other BTLs to use MPI one sided-calls via TCP transport.
Updated the
tcpBTL to use graph solving for global interface matching between peers in order to improveMPI_Init()wireup performance.Changes to the BTL
OFIcomponent to better support the HPE SS11 network.Shared Memory:
The legacy
sm(shared memory) BTL has been removed. The next-generation shared memory BTLvaderreplaces it, and has been renamed to besm(vaderwill still work as an alias).Update the new
smBTL to not use Linux Cross Memory Attach (CMA) in user namespaces.Fixed a crash when using the new
smBTL when compiled with Linux Cross Memory Attach (XPMEM). Thanks to George Katevenis for reporting this issue.
Updated the
-mca pmloption to only accept one pml, not a list.
Deprecations and removals:
ORTE, the underlying OMPI launcher has been removed, and replaced with The PMIx Reference RunTime Environment (
PRTE).PMI support has been removed from Open MPI; now only PMIx is supported. Thanks to Zach Osman for removing config/opal_check_pmi.m4.
Removed transports PML
yalla,mxm, MTLpsm, andikritcomponents. These transports are no longer supported, and are replaced withUCX.Removed all vestiges of Checkpoint Restart (C/R) support.
32 bit atomics are now only supported via C11 compliant compilers.
Explicitly disable support for GNU gcc < v4.8.1 (note: the default gcc compiler that is included in RHEL 7 is v4.8.5).
Various atomics support removed: S390/s390x, Sparc v9, ARMv4 and ARMv5 with CMA support.
The MPI C++ bindings have been removed.
The mpirun options
--amand--amcaoptions have been deprecated.ompi/contrib: Removed
libompitrace. This library was incomplete and unmaintained. If needed, it is available in the v4/v4.1 series.
HWLOC updates:
Open MPI now requires HWLOC v1.11.0 or later.
The internal HWLOC shipped with OMPI has been updated to v2.7.1.
Enable –enable-plugins when appropriate.
Documentation updates and improvements:
Open MPI now uses readthedocs.io for all documentation.
Converted man pages to markdown. Thanks to Fangcong Yin for their contribution to this effort.
Various
README.mdandHACKING.mdfixes - thanks to: Yixin Zhang, Samuel Cho, Robert Langfield, Alex Ross, Sophia Fang, mitchelltopaloglu, Evstrife, Hao Tong and Lachlan Bell for their contributions.Various CUDA documentation fixes. Thanks to Simon Byrne for finding and fixing these typos.
Build updates and fixes:
Various changes and cleanup to fix, and better support the static building of Open MPI.
Change the default component build behavior to prefer building components as part of the core Open MPI library instead of individual DSOs. Currently, this means the Open SHMEM layer will only build if the UCX library is found.
autogen.plnow supports a-joption to run multi-threaded. Users can also use the environment variableAUTOMAKE_JOBS.Updated
autogen.plto support macOS Big Sur. Thanks to @fxcoudert for reporting the issue.Fixed bug where
autogen.plwould not ignore all excluded components when using the--excludeoption.Fixed a bug the
-roption ofbuildrpm.shwhich would result in an rpm build failure. Thanks to John K. McIver III for reporting and fixing.Removed the
C++compiler requirement to build Open MPI.Updates to improve the handling of the compiler version string in the build system. This fixes a compiler error with clang and armclang.
Added OpenPMIx binaries to the build, including
pmix_info. Thanks to Mamzi Bayatpour for their contribution to this effort.Open MPI now links to Libevent using
-levent_coreand-levent_pthreadinstead of-levent.Added support for setting the wrapper C compiler. This adds a new option:
--with-wrapper-cc=to theconfigurecommand.Fixed compilation errors when running on IME file systems due to a missing header inclusion. Thanks to Sylvain Didelot for finding and fixing this issue.
Add support for GNU Autoconf v2.7.x.
Other updates and bug fixes:
Updated Open MPI to use
ROMIOv3.4.1.Fixed Fortran-8-byte-INTEGER vs. C-4-byte-int issue in the
mpi_f08MPI Fortran bindings module. Thanks to @ahaichen for reporting the bug.Add missing
MPI_Statusconversion subroutines:MPI_Status_c2f08(),MPI_Status_f082c(),MPI_Status_f082f(),MPI_Status_f2f08()and thePMPI_*related subroutines.Fixed Fortran keyword issue when compiling
oshmem_info. Thanks to Pak Lui for finding and fixing the bug.Added check for Fortran
ISO_FORTRAN_ENV:REAL16. Thanks to Jeff Hammond for reporting this issue.Fixed Fortran preprocessor issue with CPPFLAGS. Thanks to Jeff Hammond for reporting this issue.
MPI module: added the mpi_f08 TYPE(MPI_*) types for Fortran. Thanks to George Katevenis for the report and their contribution to the patch.
Fixed a typo in an error string when showing the stackframe. Thanks to Naribayashi Akira for finding and fixing the bug.
Fixed output error strings and some comments in the Open MPI code base. Thanks to Julien Emmanuel for finding and fixing these issues.
The
uctBTL transport now supportsUCXv1.9 and higher. There is no longer a maximum supported version.Updated the UCT BTL defaults to allow Mellanox HCAs (
mlx4_0, andmlx5_0) for compatibility with the one-sidedrdmacomponent.Fixed a crash during CUDA initialization. Thanks to Yaz Saito for finding and fixing the bug.
Singleton
MPI_Comm_spawn()support has been fixed.PowerPC atomics: Force usage of ppc assembly by default.
Various datatype bugfixes and performance improvements.
Various pack/unpack bugfixes and performance improvements.
Various OSHMEM bugfixes and performance improvements.
New algorithm for Allgather and Allgatherv has been added, based on the paper “Sparbit: a new logarithmic-cost and data locality-aware MPI Allgather algorithm”. Default algorithm selection rules are un-changed, to use these algorithms add:
--mca coll_tuned_allgather_algorithm sparbitand/or--mca coll_tuned_allgatherv_algorithm sparbitto yourmpiruncommand. Thanks to: Wilton Jaciel Loch, and Guilherme Koslovski for their contribution.Updated the usage of .gitmodules to use relative paths from absolute paths. This allows the submodule cloning to use the same protocol as OMPI cloning. Thanks to Felix Uhl for the contribution.