Sync from SUSE:SLFO:Main openmpi4 revision 2e03cc4a3f92205e1156ec38f8fd44b2

This commit is contained in:
2025-03-15 14:55:28 +01:00
parent dc8a0179fa
commit 31681ed91b
6 changed files with 57 additions and 9 deletions

View File

@@ -0,0 +1,30 @@
commit fc4fb3a80615992277717e3e29ce585ebe1f2256
Author: Tomislav Janjusic <tomislavj@nvidia.com>
Date: Tue Feb 18 12:25:27 2025 -0600
Fix type mismatch error
Signed-off-by: Tomislav Janjusic <tomislavj@nvidia.com>
diff --git oshmem/mca/sshmem/base/sshmem_base_open.c oshmem/mca/sshmem/base/sshmem_base_open.c
index 1f0d1eb761e2..2694120e1cfe 100644
--- oshmem/mca/sshmem/base/sshmem_base_open.c
+++ oshmem/mca/sshmem/base/sshmem_base_open.c
@@ -31,7 +31,7 @@
* globals
*/
-void *mca_sshmem_base_start_address = UINTPTR_MAX;
+void *mca_sshmem_base_start_address = (void *)UINTPTR_MAX;
char * mca_sshmem_base_backing_file_dir = NULL;
@@ -49,7 +49,7 @@ mca_sshmem_base_register (mca_base_register_flag_t flags)
"base",
"start_address",
"Specify base address for shared memory region",
- MCA_BASE_VAR_TYPE_UNSIGNED_LONG_LONG,
+ MCA_BASE_VAR_TYPE_UNSIGNED_LONG,
NULL,
0,
MCA_BASE_VAR_FLAG_SETTABLE,

View File

@@ -8,7 +8,7 @@
<param name="versionformat">@PARENT_TAG@.@TAG_OFFSET@.%h</param>
<param name="versionrewrite-pattern">v(.*)</param>
<param name="versionrewrite-replacement">\1</param>
<param name="revision">6b7e5d9911d13fad2954f2823779d6c480e08201</param>
<param name="revision">ea8f4d03089018f08451f42f2cfa2467570f395e</param>
</service>
<service name="recompress" mode="manual">
<param name="file">openmpi*.tar</param>

BIN
openmpi-4.1.7.0.6b7e5d9911d1.tar.bz2 (Stored with Git LFS)

Binary file not shown.

BIN
openmpi-4.1.8.0.ea8f4d030890.tar.bz2 (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -1,3 +1,20 @@
-------------------------------------------------------------------
Wed Feb 19 16:04:48 UTC 2025 - Nicolas Morey <nicolas.morey@suse.com>
- Update to 4.1.8 (jsc#PED-11356):
- Allocate and exchange OpenSHMEM base segment addresses earlier in
startup.
- Fixed file_seek calculation when using SEEK_END and io/ompio.
- Protect against using CUDA without VMM support.
- Change several variables in coll/adapt, coll/basic, coll/han,
coll/hcoll, and coll/ucc from READONLY to ALL scope so that they can
be set via the MPI_T interface.
- Add version identifier to rules file in coll/tuned and extend the
dynamic rules file to support the alltoall_algorithm_max_requests
tuning parameter.
- Change default openmpi to openmpi5 for suse_version >= 1600
- Add Fix-type-mismatch-error.patch to fix a compilation error
-------------------------------------------------------------------
Fri Dec 20 11:46:32 UTC 2024 - Nicolas Morey <nicolas.morey@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
# University Research and Technology
# Corporation. All rights reserved.
@@ -42,7 +42,7 @@
# % define build_static_devel 1
%global pname openmpi
%define _vers 4_1_7
%define _vers 4_1_8
%define m_f_ver 4
%bcond_with ringdisabled
@@ -103,7 +103,7 @@ ExclusiveArch: do_not_build
%endif
# Detect whether we are the default openMPI implemantation or not
%if "%{flavor}" == "standard" && (%{suse_version} > 1500 || 0%{?sle_version} > 150300)
%if "%{flavor}" == "standard" && (%{suse_version} > 1500 || 0%{?sle_version} > 150300) && (%{suse_version} < 1600)
%define default_openmpi 1
%else
%define default_openmpi 0
@@ -124,7 +124,7 @@ ExcludeArch: i586 %arm s390
%{bcond_with hwloc}
%endif
%define git_ver .0.6b7e5d9911d1
%define git_ver .0.ea8f4d030890
#############################################################################
#
@@ -133,7 +133,7 @@ ExcludeArch: i586 %arm s390
#############################################################################
Name: %{package_name}%{?testsuite:-testsuite}
Version: 4.1.7
Version: 4.1.8
Release: 0
Summary: An implementation of MPI/SHMEM (Version %{m_f_ver})
License: BSD-3-Clause
@@ -149,6 +149,7 @@ Patch2: btl-openib-Add-VF-support-for-ConnectX-4-5-and-6.patch
Patch3: openmpi4-C99.diff
Patch4: test-datatype-partial.c-fix-compiler-warnings.patch
Patch5: mtl-ofi-fix-missing-definition-of-container_of.patch
Patch6: Fix-type-mismatch-error.patch
Provides: mpi
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: autoconf