From f02c6a436fa28b03e50465a49707455476188bfa4857f954dcb8a79b549214e2 Mon Sep 17 00:00:00 2001 From: Nicolas Morey Date: Fri, 31 Oct 2025 09:07:14 +0100 Subject: [PATCH] Update to v5.0.9 Signed-off-by: Nicolas Morey --- ...nt-of-opal_atomic_int128_t-to-be-16B.patch | 28 ------------------- ...x-missing-definition-of-container_of.patch | 24 ---------------- openmpi-5.0.8.tar.bz2 | 3 -- openmpi-5.0.9.tar.bz2 | 3 ++ openmpi5.changes | 28 +++++++++++++++++++ openmpi5.spec | 4 +-- 6 files changed, 32 insertions(+), 58 deletions(-) delete mode 100644 Force-alignment-of-opal_atomic_int128_t-to-be-16B.patch delete mode 100644 mtl-ofi-fix-missing-definition-of-container_of.patch delete mode 100644 openmpi-5.0.8.tar.bz2 create mode 100644 openmpi-5.0.9.tar.bz2 diff --git a/Force-alignment-of-opal_atomic_int128_t-to-be-16B.patch b/Force-alignment-of-opal_atomic_int128_t-to-be-16B.patch deleted file mode 100644 index a34eeb6..0000000 --- a/Force-alignment-of-opal_atomic_int128_t-to-be-16B.patch +++ /dev/null @@ -1,28 +0,0 @@ -commit d9a5f9d9db092cc5b4d8fd563a834183b2e9b301 -Author: Joseph Schuchart -Date: Wed May 28 10:11:58 2025 -0400 - - Force alignment of opal_atomic_int128_t to be 16B - - Some architectures will align 128bit integer on 8B but require 16B alignment - for 128bit CAS instructions and otherwise fall back to a lock-based - atomicity model. By forcing 16bit alignment we can ensure that the variables - are properly aligned and the fall-back is not triggered. - - Thanks to Ulrich Weigand for the analysis and proposed fix in https://github.com/open-mpi/ompi/issues/10988#issuecomment-2913388506. - - Signed-off-by: Joseph Schuchart - -diff --git opal/include/opal_stdatomic.h opal/include/opal_stdatomic.h -index 354375512088..f7dd8353d3b6 100644 ---- opal/include/opal_stdatomic.h -+++ opal/include/opal_stdatomic.h -@@ -72,7 +72,7 @@ typedef _Atomic opal_int128_t opal_atomic_int128_t; - - # else - --typedef volatile opal_int128_t opal_atomic_int128_t; -+typedef volatile opal_int128_t opal_atomic_int128_t __opal_attribute_aligned__(16); - - # endif - diff --git a/mtl-ofi-fix-missing-definition-of-container_of.patch b/mtl-ofi-fix-missing-definition-of-container_of.patch deleted file mode 100644 index 231c0b4..0000000 --- a/mtl-ofi-fix-missing-definition-of-container_of.patch +++ /dev/null @@ -1,24 +0,0 @@ -commit 75b6dad5959ba75fcba8c64cc0a364d820e03ebc -Author: Nicolas Morey -Date: Fri Dec 20 12:44:38 2024 +0100 - - mtl: ofi: fix missing definition of container_of - - Signed-off-by: Nicolas Morey - -diff --git ompi/mca/mtl/ofi/mtl_ofi_request.h ompi/mca/mtl/ofi/mtl_ofi_request.h -index f68c2a91baa0..6d748fd59bdc 100644 ---- ompi/mca/mtl/ofi/mtl_ofi_request.h -+++ ompi/mca/mtl/ofi/mtl_ofi_request.h -@@ -15,6 +15,11 @@ - - #include "mtl_ofi.h" - -+#ifndef container_of -+#define container_of(ptr, type, field) \ -+ ((type *) ((char *)ptr - offsetof(type, field))) -+#endif -+ - #define TO_OFI_REQ(_ptr_ctx) \ - container_of((_ptr_ctx), struct ompi_mtl_ofi_request_t, ctx) - diff --git a/openmpi-5.0.8.tar.bz2 b/openmpi-5.0.8.tar.bz2 deleted file mode 100644 index 6c83188..0000000 --- a/openmpi-5.0.8.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:53131e1a57e7270f645707f8b0b65ba56048f5b5ac3f68faabed3eb0d710e449 -size 30293034 diff --git a/openmpi-5.0.9.tar.bz2 b/openmpi-5.0.9.tar.bz2 new file mode 100644 index 0000000..402f914 --- /dev/null +++ b/openmpi-5.0.9.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dfb72762531170847af3e4a0f21d77d7b23cf36f67ce7ce9033659273677d80b +size 30360927 diff --git a/openmpi5.changes b/openmpi5.changes index 1c05b55..4de38e1 100644 --- a/openmpi5.changes +++ b/openmpi5.changes @@ -1,3 +1,31 @@ +------------------------------------------------------------------- +Fri Oct 31 07:56:03 UTC 2025 - Nicolas Morey + +- Update to 5.0.9 + - Functionality Enhancements + - GPFS: Added support for GPFS 5.2.3-0 and newer versions + - OFI: Enhanced accelerator memory support with proper rcache flag handling + - OFI: Added memory monitor export for better memory management + - ROCm: Added missing header for memcpy operations in accelerator component + - UCC: Set node local id for better collective operation performance + - UCX: Set node local id in PML component for improved communication + - Bug Fixes and Minor Enhancements + - PML OB1: Fixed critical bug in MCA_PML_OB1_ADD_ACK_TO_PENDING that could cause memory overruns or allocation failures + - CUDA: Fixed CUDA detection when multiple libcuda.so files exist in CUDA install directory + - Fortran: Fixed off-by-one string copy error in C2F string conversion + - Fortran: Fixed ompi string c2f conversion when Fortran string length is less than C string length + - Threading: Fixed OMPI_MPI_THREAD_LEVEL environment variable handling to allow useful overrides in threaded library use cases + - Threading: Enhanced OMPI_MPI_THREAD_LEVEL to accept both numeric (0-3) and string ('multiple', 'MPI_THREAD_MULTIPLE', etc.) values + - OSC: Fixed rdma component when not using ob1 PML + - S390x: Fixed alignment of opal_atomic_int128_t to be 16-byte aligned + - Configury: Improved Fortran complex(real16) testing and module file cleanup + - Documentation: Fixed MCA environment variable prefix documentation for PRRTE + - Documentation: Updated MPI_Init*/MPI_Finalize*/MPI_Session_* man pages with numerous improvements + - Build system: Removed whitespace from conftestval-style tests and cleaned up configuration +- Drop patches merged upstream: + - Force-alignment-of-opal_atomic_int128_t-to-be-16B.patch + - mtl-ofi-fix-missing-definition-of-container_of.patch + ------------------------------------------------------------------- Tue Aug 5 18:48:52 UTC 2025 - Nicolas Morey diff --git a/openmpi5.spec b/openmpi5.spec index 18c2c67..bd48275 100644 --- a/openmpi5.spec +++ b/openmpi5.spec @@ -75,7 +75,7 @@ ExclusiveArch: do_not_build ############################################################################# Name: openmpi5%{?testsuite:-testsuite} -Version: 5.0.8 +Version: 5.0.9 Release: 0 Summary: An implementation of MPI/SHMEM (Version 5) License: BSD-3-Clause @@ -87,8 +87,6 @@ Source4: mpivars.sh Source5: mpivars.csh Source100: README.md Patch1: romio341-backport-fixes-from-mpich.patch -Patch2: mtl-ofi-fix-missing-definition-of-container_of.patch -Patch3: Force-alignment-of-opal_atomic_int128_t-to-be-16B.patch Provides: mpi BuildRoot: %{_tmppath}/%{name}-%{version}-build # Exclude 32b archs -- 2.51.1