commit mvapich2 for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package mvapich2 for openSUSE:Factory checked in at 2024-06-25 23:09:32 Comparing /work/SRC/openSUSE:Factory/mvapich2 (Old) and /work/SRC/openSUSE:Factory/.mvapich2.new.18349 (New) Package is "mvapich2" Tue Jun 25 23:09:32 2024 rev:38 rq:1183207 version:2.3.7 Changes: --- /work/SRC/openSUSE:Factory/mvapich2/mvapich2.changes2024-02-26 19:48:18.496236836 +0100 +++ /work/SRC/openSUSE:Factory/.mvapich2.new.18349/mvapich2.changes 2024-06-25 23:10:40.229289330 +0200 @@ -1,0 +2,6 @@ +Tue Jun 25 13:22:53 UTC 2024 - Nicolas Morey + +- Disable 32b builds of hpc flavours. +- Remove obsolete dependency to sysfsutils + +--- Other differences: -- ++ mvapich2.spec ++ --- /var/tmp/diff_new_pack.vTF5KR/_old 2024-06-25 23:10:41.56865 +0200 +++ /var/tmp/diff_new_pack.vTF5KR/_new 2024-06-25 23:10:41.545337303 +0200 @@ -1,5 +1,5 @@ # -# spec file for package mvapich2 +# spec file # # Copyright (c) 2024 SUSE LLC # @@ -186,6 +186,7 @@ %global hpc_mvapich2_pack_version %{hpc_mvapich2_dep_version} %{bcond_without pmix} %{bcond_without hwloc} +ExcludeArch:i586 %arm s390 %endif # Disable hpc builds for SLE12 @@ -239,7 +240,6 @@ %endif BuildRequires: libtool BuildRequires: libtool -BuildRequires: sysfsutils %if %{without hpc} BuildRequires: gcc-c++ BuildRequires: gcc-fortran
commit mvapich2 for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package mvapich2 for openSUSE:Factory checked in at 2024-02-26 19:47:35 Comparing /work/SRC/openSUSE:Factory/mvapich2 (Old) and /work/SRC/openSUSE:Factory/.mvapich2.new.1770 (New) Package is "mvapich2" Mon Feb 26 19:47:35 2024 rev:37 rq:1151453 version:2.3.7 Changes: --- /work/SRC/openSUSE:Factory/mvapich2/mvapich2.changes2023-11-10 12:37:41.334183571 +0100 +++ /work/SRC/openSUSE:Factory/.mvapich2.new.1770/mvapich2.changes 2024-02-26 19:48:18.496236836 +0100 @@ -1,0 +2,5 @@ +Thu Feb 22 11:49:03 UTC 2024 - pgaj...@suse.com + +- Use %patch -P N instead of deprecated %patchN. + +--- Other differences: -- ++ mvapich2.spec ++ --- /var/tmp/diff_new_pack.X4bjjE/_old 2024-02-26 19:48:19.460271687 +0100 +++ /var/tmp/diff_new_pack.X4bjjE/_new 2024-02-26 19:48:19.464271831 +0100 @@ -1,7 +1,7 @@ # -# spec file +# spec file for package mvapich2 # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -347,18 +347,18 @@ %{?with_hpc:%hpc_debug} %setup -q -n mvapich2-%{version}%{?rc_ver} -%patch0 -%patch2 -%patch3 -%patch4 -%patch5 -p1 -%patch6 -%patch7 +%patch -P 0 +%patch -P 2 +%patch -P 3 +%patch -P 4 +%patch -P 5 -p1 +%patch -P 6 +%patch -P 7 # Only apply these patches on Armv7 %ifarch armv7hl -%patch50 -p1 -%patch51 +%patch -P 50 -p1 +%patch -P 51 %endif cp /usr/share/automake*/config.* .
commit mvapich2 for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package mvapich2 for openSUSE:Factory checked in at 2023-11-10 12:33:50 Comparing /work/SRC/openSUSE:Factory/mvapich2 (Old) and /work/SRC/openSUSE:Factory/.mvapich2.new.17445 (New) Package is "mvapich2" Fri Nov 10 12:33:50 2023 rev:36 rq:1124847 version:2.3.7 Changes: --- /work/SRC/openSUSE:Factory/mvapich2/mvapich2.changes2023-08-08 15:55:00.961023924 +0200 +++ /work/SRC/openSUSE:Factory/.mvapich2.new.17445/mvapich2.changes 2023-11-10 12:37:41.334183571 +0100 @@ -1,0 +2,6 @@ +Thu Oct 26 10:42:07 UTC 2023 - Nicolas Morey + +- Add mvapich2-openpa-add-memory-barriers.patch to fix testsuite issue + on pcc64 (bsc#1216610, bsc#1216612) + +--- New: mvapich2-openpa-add-memory-barriers.patch BETA DEBUG BEGIN: New: - Add mvapich2-openpa-add-memory-barriers.patch to fix testsuite issue on pcc64 (bsc#1216610, bsc#1216612) BETA DEBUG END: Other differences: -- ++ mvapich2.spec ++ --- /var/tmp/diff_new_pack.mxMqQR/_old 2023-11-10 12:37:42.138213329 +0100 +++ /var/tmp/diff_new_pack.mxMqQR/_new 2023-11-10 12:37:42.138213329 +0100 @@ -214,6 +214,7 @@ Patch4: reproducible.patch Patch5: pass-correct-size-to-snprintf.patch Patch6: mvapich2-allow-building-with-external-hwloc.patch +Patch7: mvapich2-openpa-add-memory-barriers.patch ## Armv7 specific patches # PATCH-FIX-UPSTREAM 0001-Drop-real128.patch (https://github.com/pmodels/mpich/issues/4005) Patch50:0001-Drop-real128.patch @@ -352,6 +353,7 @@ %patch4 %patch5 -p1 %patch6 +%patch7 # Only apply these patches on Armv7 %ifarch armv7hl ++ mvapich2-openpa-add-memory-barriers.patch ++ commit 68c4106b2a8d8fdb9ba4e2bab90e90e3392b6bbd Author: Nicolas Morey Date: Thu Oct 26 12:39:20 2023 +0200 mvapich2: openpa: add memory barriers Backport from openPA: commit 28d602b620b5d7ec8ca1a7f3ad8ab27d439b1751 Author: Neil Fortner Date: Wed Dec 19 13:14:57 2012 -0600 Add more memory barriers to LL/SC ABA tests. This should fix the recent errors on POWER7. Reviewed by goodell. Signed-off-by: Nicolas Morey diff --git src/openpa/test/test_primitives.c src/openpa/test/test_primitives.c index a83b95e00578..4533c643d581 100644 --- src/openpa/test/test_primitives.c +++ src/openpa/test/test_primitives.c @@ -3783,12 +3783,18 @@ static int threaded_llsc_int_aba_helper_0(llsc_int_aba_t *udata) nerrors++; } /* end if */ +/* Make sure shared_val is initialized before passing point 0 */ +OPA_write_barrier(); + /* Point 0 */ OPA_store_int(&udata->pass_point_0, 1); /* Wait until thread 1 passes point 1 */ while(!OPA_load_int(&udata->pass_point_1)); +/* Make sure that change_val is loaded after passing point 1 */ +OPA_read_barrier(); + /* Store conditional 1 to the shared value */ if(OPA_SC_int(&udata->shared_val, 1)) { /* SC succeeded, make sure that the shared value was not changed by @@ -3870,12 +3876,12 @@ static void *threaded_llsc_int_aba_helper_1(void *_udata) * of this test */ OPA_store_int(&udata->shared_val, 1); OPA_store_int(&udata->shared_val, 0); - -/* Write barrier to make sure the shared value was actually updated - * before we mark point 1 as passed */ -OPA_write_barrier(); } /* end if */ +/* Write barrier to make sure the shared_val (if appropriate) and + * change_val are actually updated before we mark point 1 as passed */ +OPA_write_barrier(); + /* Point 1 */ OPA_store_int(&udata->pass_point_1, 1); @@ -4012,12 +4018,18 @@ static int threaded_llsc_ptr_aba_helper_0(llsc_ptr_aba_t *udata) nerrors++; } /* end if */ +/* Make sure shared_val is initialized before passing point 0 */ +OPA_write_barrier(); + /* Point 0 */ OPA_store_int(&udata->pass_point_0, 1); /* Wait until thread 1 passes point 1 */ while(!OPA_load_int(&udata->pass_point_1)); +/* Make sure that change_val is loaded after passing point 1 */ +OPA_read_barrier(); + /* Store conditional 1 to the shared value */ if(OPA_SC_ptr(&udata->shared_val, (void *) ((int *) 0 + 1))) { /* SC succeeded, make sure that the shared value was not changed by @@ -4099,12 +4111,12 @@ static void *threaded_llsc_ptr_aba_helper_1(void *_udata) * of this test */ OPA_store
commit mvapich2 for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package mvapich2 for openSUSE:Factory checked in at 2023-08-08 15:54:52 Comparing /work/SRC/openSUSE:Factory/mvapich2 (Old) and /work/SRC/openSUSE:Factory/.mvapich2.new.22712 (New) Package is "mvapich2" Tue Aug 8 15:54:52 2023 rev:35 rq:1102767 version:2.3.7 Changes: --- /work/SRC/openSUSE:Factory/mvapich2/mvapich2.changes2022-12-07 17:36:29.329039748 +0100 +++ /work/SRC/openSUSE:Factory/.mvapich2.new.22712/mvapich2.changes 2023-08-08 15:55:00.961023924 +0200 @@ -1,0 +2,5 @@ +Mon Aug 7 16:57:40 UTC 2023 - Nicolas Morey + +- Drop support for obsolete TrueScale (bsc#1212146) + +--- Other differences: -- ++ mvapich2.spec ++ --- /var/tmp/diff_new_pack.lKtuOZ/_old 2023-08-08 15:55:03.773041521 +0200 +++ /var/tmp/diff_new_pack.lKtuOZ/_new 2023-08-08 15:55:03.777041547 +0200 @@ -1,7 +1,7 @@ # # spec file # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -38,16 +38,6 @@ %{bcond_with hpc} %endif -%if "%{flavor}" == "psm" -%define build_flavor psm -%{bcond_with hpc} -%endif -%if "%{flavor}" == "psm-testsuite" -%define build_flavor psm -%define testsuite 1 -%{bcond_with hpc} -%endif - %if "%{flavor}" == "psm2" %define build_flavor psm2 %{bcond_with hpc} @@ -72,13 +62,6 @@ %{bcond_without hpc} %endif -%if "%flavor" == "gnu-hpc-psm" -%define compiler_family gnu -%undefine c_f_ver -%define build_flavor psm -%{bcond_without hpc} -%endif - %if "%flavor" == "gnu-hpc-psm2" %define compiler_family gnu %undefine c_f_ver @@ -100,13 +83,6 @@ %{bcond_without hpc} %endif -%if "%flavor" == "gnu7-hpc-psm" -%define compiler_family gnu -%define c_f_ver 7 -%define build_flavor psm -%{bcond_without hpc} -%endif - %if "%flavor" == "gnu7-hpc-psm2" %define compiler_family gnu %define c_f_ver 7 @@ -128,13 +104,6 @@ %{bcond_without hpc} %endif -%if "%flavor" == "gnu8-hpc-psm" -%define compiler_family gnu -%define c_f_ver 8 -%define build_flavor psm -%{bcond_without hpc} -%endif - %if "%flavor" == "gnu8-hpc-psm2" %define compiler_family gnu %define c_f_ver 8 @@ -156,13 +125,6 @@ %{bcond_without hpc} %endif -%if "%flavor" == "gnu9-hpc-psm" -%define compiler_family gnu -%define c_f_ver 9 -%define build_flavor psm -%{bcond_without hpc} -%endif - %if "%flavor" == "gnu9-hpc-psm2" %define compiler_family gnu %define c_f_ver 9 @@ -184,13 +146,6 @@ %{bcond_without hpc} %endif -%if "%flavor" == "gnu10-hpc-psm" -%define compiler_family gnu -%define c_f_ver 10 -%define build_flavor psm -%{bcond_without hpc} -%endif - %if "%flavor" == "gnu10-hpc-psm2" %define compiler_family gnu %define c_f_ver 10 @@ -299,10 +254,6 @@ %if %{with pmix} BuildRequires: pmix-devel %endif -%if "%{build_flavor}" == "psm" && %{with skip_hpc_build} -ExclusiveArch: %ix86 x86_64 -BuildRequires: infinipath-psm-devel -%endif %if "%{build_flavor}" == "psm2" && %{with skip_hpc_build} ExclusiveArch: x86_64 BuildRequires: libpsm2-devel @@ -335,9 +286,6 @@ Summary:OSU MVAPICH2 MPI package Group: Development/Libraries/Parallel Requires: %{name} = %{version} -%if "%{build_flavor}" == "psm" -Requires: infinipath-psm-devel -%endif %if "%{build_flavor}" == "psm2" Requires: libpsm2-devel %endif @@ -444,10 +392,6 @@ %if %{with pmix} --with-pmix=${_prefix} \ %endif -%if "%{build_flavor}" == "psm" - --with-device=ch3:psm \ - --with-psm=/usr \ -%endif %if "%{build_flavor}" == "psm2" --with-device=ch3:psm \ --with-psm2=/usr \ ++ _multibuild ++ --- /var/tmp/diff_new_pack.lKtuOZ/_old 2023-08-08 15:55:03.853042022 +0200 +++ /var/tmp/diff_new_pack.lKtuOZ/_new 2023-08-08 15:55:03.857042047 +0200 @@ -1,12 +1,9 @@ standard testsuite - psm - psm-testsuite psm2 psm2-testsuite gnu-hpc - gnu-hpc-psm gnu-hpc-psm2 gnu-hpc-testsuite
commit mvapich2 for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package mvapich2 for openSUSE:Factory checked in at 2022-12-07 17:35:10 Comparing /work/SRC/openSUSE:Factory/mvapich2 (Old) and /work/SRC/openSUSE:Factory/.mvapich2.new.1835 (New) Package is "mvapich2" Wed Dec 7 17:35:10 2022 rev:34 rq:1040772 version:2.3.7 Changes: --- /work/SRC/openSUSE:Factory/mvapich2/mvapich2.changes2022-11-29 10:53:07.284725864 +0100 +++ /work/SRC/openSUSE:Factory/.mvapich2.new.1835/mvapich2.changes 2022-12-07 17:36:29.329039748 +0100 @@ -1,0 +2,9 @@ +Mon Dec 5 21:11:29 UTC 2022 - Stefan Brüns + +- Reduce constraints to match the actual requirement. Exaggerating + the requirements hurts both this package (time until build can + start) as well as other OBS users (blocking large workers + without need). +- Use a reproducible timestamp instead of removing it altogether. + +--- Other differences: -- ++ _constraints ++ --- /var/tmp/diff_new_pack.PWAmIU/_old 2022-12-07 17:36:30.089043910 +0100 +++ /var/tmp/diff_new_pack.PWAmIU/_new 2022-12-07 17:36:30.093043932 +0100 @@ -1,12 +1,12 @@ -8 +4 - 10 + 4 - - 16 - + + 6 + (No newline at EOF) ++ reproducible.patch ++ --- /var/tmp/diff_new_pack.PWAmIU/_old 2022-12-07 17:36:30.185044436 +0100 +++ /var/tmp/diff_new_pack.PWAmIU/_new 2022-12-07 17:36:30.189044458 +0100 @@ -13,6 +13,8 @@ and other output files varied between builds. Signed-off-by: Nicolas Morey-Chaisemartin + +Also remove any unreproducible timestamps from generated files. diff --git maint/extractcvars.in maint/extractcvars.in index b627a6f8d937..879de7bf6d5a 100755 @@ -23,7 +25,7 @@ print "Cvars include :\n".Dumper(@cvars)."\n" if $debug; -my $run_timestamp = localtime(); -+my $run_timestamp = "openSUSE no date"; ++my $run_timestamp = localtime($ENV{"SOURCE_DATE_EPOCH"} || time); my $uc_ns = uc($ns); # Setup output files
commit mvapich2 for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package mvapich2 for openSUSE:Factory checked in at 2022-11-29 10:53:01 Comparing /work/SRC/openSUSE:Factory/mvapich2 (Old) and /work/SRC/openSUSE:Factory/.mvapich2.new.1597 (New) Package is "mvapich2" Tue Nov 29 10:53:01 2022 rev:33 rq:1038622 version:2.3.7 Changes: --- /work/SRC/openSUSE:Factory/mvapich2/mvapich2.changes2022-10-03 13:47:37.441727188 +0200 +++ /work/SRC/openSUSE:Factory/.mvapich2.new.1597/mvapich2.changes 2022-11-29 10:53:07.284725864 +0100 @@ -1,0 +2,5 @@ +Mon Nov 28 08:30:49 UTC 2022 - Nicolas Morey-Chaisemartin + +- Update reproducible.patch to remove timestamp generated at compilation time + +--- Other differences: -- ++ reproducible.patch ++ --- /var/tmp/diff_new_pack.3YDjBn/_old 2022-11-29 10:53:08.020729730 +0100 +++ /var/tmp/diff_new_pack.3YDjBn/_new 2022-11-29 10:53:08.024729751 +0100 @@ -1,4 +1,4 @@ -commit a99404dac8f07ec7e72aa244ff0527d9c85ad482 +commit bf7afdf34ad71b1e644dda34053e491653ca59e7 Author: Bernhard M. Wiedemann Date: Mon Mar 25 11:12:56 2019 +0100 @@ -15,9 +15,18 @@ Signed-off-by: Nicolas Morey-Chaisemartin diff --git maint/extractcvars.in maint/extractcvars.in -index b627a6f8d937..0eaa673adf1e 100755 +index b627a6f8d937..879de7bf6d5a 100755 --- maint/extractcvars.in +++ maint/extractcvars.in +@@ -125,7 +125,7 @@ foreach my $p (@cvars) { + print "Categories include: \n".Dumper(@categories) if $debug; + print "Cvars include :\n".Dumper(@cvars)."\n" if $debug; + +-my $run_timestamp = localtime(); ++my $run_timestamp = "openSUSE no date"; + my $uc_ns = uc($ns); + + # Setup output files @@ -594,7 +594,7 @@ sub ExpandDir { my @subdirs = (); my $DIR_HANDLE;
commit mvapich2 for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package mvapich2 for openSUSE:Factory checked in at 2022-10-03 13:46:54 Comparing /work/SRC/openSUSE:Factory/mvapich2 (Old) and /work/SRC/openSUSE:Factory/.mvapich2.new.2275 (New) Package is "mvapich2" Mon Oct 3 13:46:54 2022 rev:32 rq:1007635 version:2.3.7 Changes: --- /work/SRC/openSUSE:Factory/mvapich2/mvapich2.changes2022-07-05 12:09:00.972516744 +0200 +++ /work/SRC/openSUSE:Factory/.mvapich2.new.2275/mvapich2.changes 2022-10-03 13:47:37.441727188 +0200 @@ -1,0 +2,7 @@ +Wed Jul 6 15:08:09 UTC 2022 - Nicolas Morey-Chaisemartin + +- Add mvapich2-allow-building-with-external-hwloc.patch + to allow building against an external hwloc library +- Build mvapich2 HPC flavors against pmix and hwloc system libraries + +--- New: mvapich2-allow-building-with-external-hwloc.patch Other differences: -- ++ mvapich2.spec ++ --- /var/tmp/diff_new_pack.2UXTJm/_old 2022-10-03 13:47:38.077728587 +0200 +++ /var/tmp/diff_new_pack.2UXTJm/_new 2022-10-03 13:47:38.085728605 +0200 @@ -213,6 +213,8 @@ %define p_libexecdir %{p_prefix}/%{_lib} %define _moduledir /usr/share/modules/gnu-%{module_name} %define package_name mvapich2%{?pack_suff} +%{bcond_with pmix} +%{bcond_with hwloc} %else %{hpc_init -M -c %compiler_family %{?c_f_ver:-v %{c_f_ver}} -m mvapich2 %{?pack_suff:-e %{build_flavor}}} %define p_prefix %{hpc_prefix} @@ -227,6 +229,8 @@ %global hpc_mvapich2_dep_version %(VER=%{?m_f_ver}; echo -n ${VER}) %global hpc_mvapich2_dir mvapich2 %global hpc_mvapich2_pack_version %{hpc_mvapich2_dep_version} +%{bcond_without pmix} +%{bcond_without hwloc} %endif # Disable hpc builds for SLE12 @@ -254,7 +258,7 @@ Patch3: 0001-Drop-GCC-check.patch Patch4: reproducible.patch Patch5: pass-correct-size-to-snprintf.patch - +Patch6: mvapich2-allow-building-with-external-hwloc.patch ## Armv7 specific patches # PATCH-FIX-UPSTREAM 0001-Drop-real128.patch (https://github.com/pmodels/mpich/issues/4005) Patch50:0001-Drop-real128.patch @@ -273,6 +277,7 @@ BuildRequires: automake BuildRequires: bison BuildRequires: flex +BuildRequires: hwloc-devel >= 2.0 %ifnarch s390 s390x %{arm} BuildRequires: libnuma-devel %endif @@ -288,6 +293,12 @@ BuildRequires: lua-lmod BuildRequires: suse-hpc %endif +%if %{with hwloc} +BuildRequires: hwloc-devel +%endif +%if %{with pmix} +BuildRequires: pmix-devel +%endif %if "%{build_flavor}" == "psm" && %{with skip_hpc_build} ExclusiveArch: %ix86 x86_64 BuildRequires: infinipath-psm-devel @@ -392,6 +403,7 @@ %patch3 %patch4 %patch5 -p1 +%patch6 # Only apply these patches on Armv7 %ifarch armv7hl @@ -426,6 +438,12 @@ --docdir=%{_datadir}/doc/%{name} \ --disable-wrapper-rpath \ --enable-yield=sched_yield \ +%if %{with hwloc} + --with-hwloc=external \ +%endif +%if %{with pmix} + --with-pmix=${_prefix} \ +%endif %if "%{build_flavor}" == "psm" --with-device=ch3:psm \ --with-psm=/usr \ ++ mvapich2-allow-building-with-external-hwloc.patch ++ commit 2a05bb1eba231f7b95ddb3fdeec21146b99e43f1 Author: Nicolas Morey-Chaisemartin Date: Wed Jul 6 15:21:38 2022 +0200 mvapich2: allow building with external hwloc Signed-off-by: Nicolas Morey-Chaisemartin diff --git Makefile.am Makefile.am index 17788bb3ba49..c8cfeb941de7 100644 --- Makefile.am +++ Makefile.am @@ -203,9 +203,11 @@ if BUILD_OSU_MVAPICH if BUILD_HWLOC_v1 SUBDIRS += contrib/hwloc_v1 else +if BUILD_HWLOC_v2 SUBDIRS += contrib/hwloc_v2 endif endif +endif # build the current directory and then the examples directory after everything else SUBDIRS += . examples @@ -222,8 +224,12 @@ if BUILD_HWLOC_v1 AM_CPPFLAGS += -Icontrib/hwloc_v1/include/ -I$(top_srcdir)/contrib/hwloc_v1/include lib_lib@MPILIBNAME@_la_LIBADD += contrib/hwloc_v1/src/libhwloc_embedded.la else +if BUILD_HWLOC_v2 AM_CPPFLAGS += -Icontrib/hwloc_v2/include/ -I$(top_srcdir)/contrib/hwloc_v2/include -lib_lib@MPILIBNAME@_la_LIBADD += contrib/hwloc_v2/hwloc/libhwloc_embedded.la +lib_lib@MPILIBNAME@_la_LIBADD += contrib/hwloc_v2/src/libhwloc_embedded.la +else +lib_lib@MPILIBNAME@_la_LDFLAGS += -lhwloc +endif endif endif diff --git configure.ac configure.ac index d073cb1bef5e..b82de7a9a5fb 100644 --- configure.ac +++ configure.ac @@ -539,18 +539,24 @@ dnl based on the environment. AC_ARG_WITH(hwloc, AC_HELP_STRING([--with-hwloc=version], [Specify the hwloc version to use with MVAPICH2 -(Options: v1, v2) (Default: v1)]),, +(Options: v1, v2, external) (Defaul
commit mvapich2 for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package mvapich2 for openSUSE:Factory checked in at 2022-07-05 12:08:57 Comparing /work/SRC/openSUSE:Factory/mvapich2 (Old) and /work/SRC/openSUSE:Factory/.mvapich2.new.1548 (New) Package is "mvapich2" Tue Jul 5 12:08:57 2022 rev:31 rq:986553 version:2.3.7 Changes: --- /work/SRC/openSUSE:Factory/mvapich2/mvapich2.changes2022-02-17 00:32:14.061415680 +0100 +++ /work/SRC/openSUSE:Factory/.mvapich2.new.1548/mvapich2.changes 2022-07-05 12:09:00.972516744 +0200 @@ -1,0 +2,46 @@ +Wed Jun 29 12:54:33 UTC 2022 - Klaus K??mpf + +- add pass-correct-size-to-snprintf.patch to fix potential buffer + overflows (required to make 'sundials' testsuite pass) + +- Update to mvapich2 2.3.7 + * Features and Enhancements (since 2.3.6): +- Added support for systems with Rockport's switchless networks + * Added automatic architecture detection + * Optimized performance for point-to-point operations +- Added support for the Cray Slingshot 10 interconnect +- Enhanced support for blocking collective offload using + Mellanox SHARP +* Scatter and Scatterv +- Enhanced support for non-blocking collective offload using + Mellanox SHARP +* Iallreduce, Ibarrier, Ibcast, and Ireduce + + * Bug Fixes (since 2.3.6): +- Removed several deprectated functions + - Thanks to Honggang Li @RedHat for the report +- Fixed a bug where tools like CMake FindMPI would not + detect MVAPICH when compiled without Hydra mpiexec + - Thanks to Chris Chambreau and Adam Moody @LLNL for the report +- Fixed compilation error when building with mpirun and without hydra + - Thanks to James Long @University of Illinois for the report +- Fixed issue with setting RoCE mode correctly without RDMA_CM. + - Thanks to Nicolas Gagnon @Rockport Networks for the report +- Fixed an issue on heterogeneous clusters where QP attributes were + set incorrectly + - Thanks to X-ScaleSolutions for the report and fix +- Fixed a memory leak in improbe on the PSM channel + - Thanks to Gregory Lee @LLNL Beichuan Yan @University of Colorado +for the report +- Added retry logic for PSM connection establishment + - Thanks to Gregory Lee @LLNL for the report and X-ScaleSolutions +for the patch +- Fixed an initialization error when using PSM and gcc's -pg option + - Thanks to Gregory Lee @LLNL for the report and X-ScaleSolutions for +the patch +- Fixed a potential integer overflow when transfering large arrays + - Thanks to Alexander Melnikov for the report and patch + +- Fix Url: link + +--- Old: mvapich2-2.3.6.tar.gz New: _constraints mvapich2-2.3.7-1.tar.gz pass-correct-size-to-snprintf.patch Other differences: -- ++ mvapich2.spec ++ --- /var/tmp/diff_new_pack.tYMGbW/_old 2022-07-05 12:09:02.020518249 +0200 +++ /var/tmp/diff_new_pack.tYMGbW/_new 2022-07-05 12:09:02.028518260 +0200 @@ -19,8 +19,9 @@ %global flavor @BUILD_FLAVOR@%{nil} %define pname mvapich2 -%define vers 2.3.6 -%define _vers 2_3_6 +%define vers 2.3.7 +%define _vers 2_3_7 +%define rc_ver -1 %if "%{flavor}" == "" ExclusiveArch: do_not_build @@ -241,7 +242,7 @@ Group: Development/Libraries/Parallel Version:%{vers} Release:0 -Source0: http://mvapich.cse.ohio-state.edu/download/mvapich/mv2/mvapich2-%{version}.tar.gz +Source0: http://mvapich.cse.ohio-state.edu/download/mvapich/mv2/mvapich2-%{version}%{?rc_ver}.tar.gz Source1:mpivars.sh Source2:mpivars.csh Source3:macros.hpc-mvapich2 @@ -252,13 +253,14 @@ # It's been merged upstream, should be removed with the next release Patch3: 0001-Drop-GCC-check.patch Patch4: reproducible.patch +Patch5: pass-correct-size-to-snprintf.patch ## Armv7 specific patches # PATCH-FIX-UPSTREAM 0001-Drop-real128.patch (https://github.com/pmodels/mpich/issues/4005) Patch50:0001-Drop-real128.patch Patch51:0001-Drop-Real-16.patch -URL:http://mvapich.cse.ohio-state.edu/overview/mvapich2/ +URL:http://mvapich.cse.ohio-state.edu BuildRoot: %{_tmppath}/%{name}-%{version}-build %if %{without skip_hpc_build} @@ -389,6 +391,7 @@ %patch2 %patch3 %patch4 +%patch5 -p1 # Only apply these patches on Armv7 %ifarch armv7hl ++ _constraints ++ 8 10 16 (No newline at EOF) ++ pass-correct-size-to-snprintf.patch ++ diff -wruN -x '*~' -x '*.o' -x '*.a' -x '*.so' -x '*.so.[0-9]'
commit mvapich2 for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package mvapich2 for openSUSE:Factory checked in at 2022-02-17 00:30:56 Comparing /work/SRC/openSUSE:Factory/mvapich2 (Old) and /work/SRC/openSUSE:Factory/.mvapich2.new.1956 (New) Package is "mvapich2" Thu Feb 17 00:30:56 2022 rev:30 rq:955361 version:2.3.6 Changes: --- /work/SRC/openSUSE:Factory/mvapich2/mvapich2.changes2021-10-20 20:24:48.093397233 +0200 +++ /work/SRC/openSUSE:Factory/.mvapich2.new.1956/mvapich2.changes 2022-02-17 00:32:14.061415680 +0100 @@ -1,0 +2,5 @@ +Wed Feb 16 11:07:12 UTC 2022 - Nicolas Morey-Chaisemartin + +- Disable dlopen for verbs library (bsc#1196019) + +--- Other differences: -- ++ mvapich2.spec ++ --- /var/tmp/diff_new_pack.1QjneO/_old 2022-02-17 00:32:14.993415519 +0100 +++ /var/tmp/diff_new_pack.1QjneO/_new 2022-02-17 00:32:15.001415518 +0100 @@ -1,7 +1,7 @@ # # spec file # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -431,6 +431,9 @@ --with-device=ch3:psm \ --with-psm2=/usr \ %endif +%if "%{build_flavor}" == "verbs" + --disable-ibv-dlopen \ +%endif --without-mpe make %{?_smp_mflags} V=1
commit mvapich2 for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package mvapich2 for openSUSE:Factory checked in at 2021-10-20 20:23:54 Comparing /work/SRC/openSUSE:Factory/mvapich2 (Old) and /work/SRC/openSUSE:Factory/.mvapich2.new.1890 (New) Package is "mvapich2" Wed Oct 20 20:23:54 2021 rev:29 rq:926467 version:2.3.6 Changes: --- /work/SRC/openSUSE:Factory/mvapich2/mvapich2.changes2021-09-28 19:17:36.272259951 +0200 +++ /work/SRC/openSUSE:Factory/.mvapich2.new.1890/mvapich2.changes 2021-10-20 20:24:48.093397233 +0200 @@ -1,0 +2,5 @@ +Tue Oct 19 15:20:53 UTC 2021 - Nicolas Morey-Chaisemartin + +- Move rpm macros to %_rpmmacrodir (bsc#1191386) + +--- Other differences: -- ++ mvapich2.spec ++ --- /var/tmp/diff_new_pack.8eo4jG/_old 2021-10-20 20:24:48.701397608 +0200 +++ /var/tmp/diff_new_pack.8eo4jG/_new 2021-10-20 20:24:48.705397611 +0200 @@ -494,8 +494,8 @@ EOF %else # with hpc -install -d -m 755 %{buildroot}%{_sysconfdir}/rpm -cp %{S:3} %{buildroot}%{_sysconfdir}/rpm +install -d -m 755 %{buildroot}%{_rpmmacrodir} +cp %{S:3} %{buildroot}%{_rpmmacrodir} %hpc_write_modules_files #%%Module1.0# @@ -611,7 +611,7 @@ %if %{with hpc} %files macros-devel %defattr(-,root,root) -%config %{_sysconfdir}/rpm/macros.hpc-mvapich2 +%config %{_rpmmacrodir}/macros.hpc-mvapich2 %endif # with hpc %endif # !testsuite
commit mvapich2 for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package mvapich2 for openSUSE:Factory checked in at 2021-09-28 19:16:41 Comparing /work/SRC/openSUSE:Factory/mvapich2 (Old) and /work/SRC/openSUSE:Factory/.mvapich2.new.1899 (New) Package is "mvapich2" Tue Sep 28 19:16:41 2021 rev:28 rq:921947 version:2.3.6 Changes: --- /work/SRC/openSUSE:Factory/mvapich2/mvapich2.changes2021-05-19 17:49:19.233549624 +0200 +++ /work/SRC/openSUSE:Factory/.mvapich2.new.1899/mvapich2.changes 2021-09-28 19:17:36.272259951 +0200 @@ -1,0 +2,5 @@ +Tue Sep 28 07:20:18 UTC 2021 - Nicolas Morey-Chaisemartin + +- Remove obsolete python dependency (bsc#1190996) + +--- Other differences: -- ++ mvapich2.spec ++ --- /var/tmp/diff_new_pack.6G5sVg/_old 2021-09-28 19:17:36.964260748 +0200 +++ /var/tmp/diff_new_pack.6G5sVg/_new 2021-09-28 19:17:36.968260752 +0200 @@ -1,5 +1,5 @@ # -# spec file for package mvapich2 +# spec file # # Copyright (c) 2021 SUSE LLC # @@ -276,7 +276,6 @@ %endif BuildRequires: libtool BuildRequires: libtool -BuildRequires: python-devel BuildRequires: sysfsutils %if %{without hpc} BuildRequires: gcc-c++
commit mvapich2 for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package mvapich2 for openSUSE:Factory checked in at 2021-05-19 17:49:08 Comparing /work/SRC/openSUSE:Factory/mvapich2 (Old) and /work/SRC/openSUSE:Factory/.mvapich2.new.2988 (New) Package is "mvapich2" Wed May 19 17:49:08 2021 rev:27 rq:894098 version:2.3.6 Changes: --- /work/SRC/openSUSE:Factory/mvapich2/mvapich2.changes2021-04-01 14:18:42.484109368 +0200 +++ /work/SRC/openSUSE:Factory/.mvapich2.new.2988/mvapich2.changes 2021-05-19 17:49:19.233549624 +0200 @@ -1,0 +2,22 @@ +Tue May 18 08:08:52 UTC 2021 - Nicolas Morey-Chaisemartin + +- Update to mvapich2 2.3.6 +- Enhanced performance for UD-Hybrid code +- Add multi-rail support for UD-Hybrid code +- Enhanced performance for shared-memory collectives +- Enhanced job-startup performance for flux job launcher +- Use PMI2 by default when SLURM is selected as process manager +- Add support to use aligned memory allocations for multi-threaded + applications +- Architecture detection and enhanced point-to-point tuning for + Oracle BM.HPC2 cloud shape +- Add support for GCC compiler v11 +- Update hwloc v1 code to v1.11.14 +- Update hwloc v2 code to v2.4.2 +- Drop obsolete patches: + - fix-missing-return-code.patch as it was fixed upstream + - mvapich2-remove-deprecated-sys_siglist.patch + - rdma_find_network_type-return-MV2_NETWORK_CLASS_UNKNOWN-when-dev_list-is-freed.patch +- Refresh reproducible.patch + +--- Old: fix-missing-return-code.patch mvapich2-2.3.5.tar.gz mvapich2-remove-deprecated-sys_siglist.patch rdma_find_network_type-return-MV2_NETWORK_CLASS_UNKNOWN-when-dev_list-is-freed.patch New: mvapich2-2.3.6.tar.gz Other differences: -- ++ mvapich2.spec ++ --- /var/tmp/diff_new_pack.wcDzaw/_old 2021-05-19 17:49:19.913546773 +0200 +++ /var/tmp/diff_new_pack.wcDzaw/_new 2021-05-19 17:49:19.913546773 +0200 @@ -19,8 +19,8 @@ %global flavor @BUILD_FLAVOR@%{nil} %define pname mvapich2 -%define vers 2.3.5 -%define _vers 2_3_5 +%define vers 2.3.6 +%define _vers 2_3_6 %if "%{flavor}" == "" ExclusiveArch: do_not_build @@ -252,9 +252,6 @@ # It's been merged upstream, should be removed with the next release Patch3: 0001-Drop-GCC-check.patch Patch4: reproducible.patch -Patch5: fix-missing-return-code.patch -Patch6: mvapich2-remove-deprecated-sys_siglist.patch -Patch7: rdma_find_network_type-return-MV2_NETWORK_CLASS_UNKNOWN-when-dev_list-is-freed.patch ## Armv7 specific patches # PATCH-FIX-UPSTREAM 0001-Drop-real128.patch (https://github.com/pmodels/mpich/issues/4005) @@ -392,10 +389,7 @@ %patch0 %patch2 %patch3 -%patch4 -p1 -%patch5 -%patch6 -%patch7 -p1 +%patch4 # Only apply these patches on Armv7 %ifarch armv7hl ++ mvapich2-2.3.5.tar.gz -> mvapich2-2.3.6.tar.gz ++ /work/SRC/openSUSE:Factory/mvapich2/mvapich2-2.3.5.tar.gz /work/SRC/openSUSE:Factory/.mvapich2.new.2988/mvapich2-2.3.6.tar.gz differ: char 5, line 1 ++ reproducible.patch ++ --- /var/tmp/diff_new_pack.wcDzaw/_old 2021-05-19 17:49:20.061546152 +0200 +++ /var/tmp/diff_new_pack.wcDzaw/_new 2021-05-19 17:49:20.061546152 +0200 @@ -1,24 +1,23 @@ -http://mailman.cse.ohio-state.edu/pipermail/mvapich-discuss/2019-April/006837.html - -commit 2d6233b60e419059240e054e40fc6ece6fd94929 +commit a99404dac8f07ec7e72aa244ff0527d9c85ad482 Author: Bernhard M. Wiedemann Date: Mon Mar 25 11:12:56 2019 +0100 -Sort input file list +reproducible -so that mpich builds in a reproducible way +Sort input file list so that mpich builds in a reproducible way in spite of indeterministic filesystem readdir order See https://reproducible-builds.org/ for why this is good. -Without this patch, -README.envvar, /usr/lib64/mpi/gcc/mpich/bin/mpivars and other -output files varied between builds. +Without this patch, README.envvar, /usr/lib64/mpi/gcc/mpich/bin/mpivars +and other output files varied between builds. + +Signed-off-by: Nicolas Morey-Chaisemartin -Index: mvapich2-2.2/maint/extractcvars.in -=== mvapich2-2.2.orig/maint/extractcvars.in -+++ mvapich2-2.2/maint/extractcvars.in +diff --git maint/extractcvars.in maint/extractcvars.in +index b627a6f8d937..0eaa673adf1e 100755 +--- maint/extractcvars.in maint/extractcvars.in @@ -594,7 +594,7 @@ sub ExpandDir { my @subdirs = (); my $DIR_HANDLE; @@ -28,10 +27,10 @@ if ($filename =~ /^\./) { next; } elsif (-d
commit mvapich2 for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package mvapich2 for openSUSE:Factory checked in at 2021-04-01 14:17:25 Comparing /work/SRC/openSUSE:Factory/mvapich2 (Old) and /work/SRC/openSUSE:Factory/.mvapich2.new.2401 (New) Package is "mvapich2" Thu Apr 1 14:17:25 2021 rev:26 rq:882120 version:2.3.5 Changes: --- /work/SRC/openSUSE:Factory/mvapich2/mvapich2.changes2021-02-18 20:53:05.363477608 +0100 +++ /work/SRC/openSUSE:Factory/.mvapich2.new.2401/mvapich2.changes 2021-04-01 14:18:42.484109368 +0200 @@ -1,0 +2,33 @@ +Wed Mar 24 10:06:26 UTC 2021 - Egbert Eich + +- Update mvapich2 to 2.3.5. +* Enhanced performance for MPI_Allreduce and MPI_Barrier +* Support collective offload using Mellanox's SHARP for Barrier +- Enhanced tuning framework for Barrier using SHARP +* Remove dependency on underlying libibverbs, libibmad, libibumad, and + librdmacm libraries using dlopen +* Add support for Broadcom NetXtreme RoCE HCA +- Enhanced inter-node point-to-point support +* Support architecture detection for Fujitsu A64fx processor +* Enhanced point-to-point and collective tuning for Fujitsu A64fx processor +* Enhanced point-to-point and collective tuning for AMD ROME processor +* Add support for process placement aware HCA selection +- Add "MV2_PROCESS_PLACEMENT_AWARE_HCA_MAPPING" environment variable to + enable process placement aware HCA mapping +* Add support to auto-detect RoCE HCAs and auto-detect GID index +* Add support to use RoCE/Ethernet and InfiniBand HCAs at the same time +* Add architecture-specific flags to improve performance of certain CUDA + operations +- Thanks to Chris Chambreau @LLNL for the report +* Read MTU and maximum outstanding RDMA operations from the device +* Improved performance and scalability for UD-based communication +* Update maximum HCAs supported by default from 4 to 10 +* Enhanced collective tuning for Frontera@TACC, Expanse@SDSC, + Ookami@StonyBrook, and bb5@EPFL +* Enhanced support for SHARP v2.1.0 +* Generalize code for GPU support +- Obsolete: wrapper-revert-ldflag-order-change.patch. +- Replace: mvapich2-fix-double-free.patch by + rdma_find_network_type-return-MV2_NETWORK_CLASS_UNKNOWN-when-dev_list-is-freed.patch + +--- Old: mvapich2-2.3.4.tar.gz mvapich2-fix-double-free.patch wrapper-revert-ldflag-order-change.patch New: mvapich2-2.3.5.tar.gz rdma_find_network_type-return-MV2_NETWORK_CLASS_UNKNOWN-when-dev_list-is-freed.patch Other differences: -- ++ mvapich2.spec ++ --- /var/tmp/diff_new_pack.U9vuf7/_old 2021-04-01 14:18:43.308110366 +0200 +++ /var/tmp/diff_new_pack.U9vuf7/_new 2021-04-01 14:18:43.312110371 +0200 @@ -1,5 +1,5 @@ # -# spec file for package %{package_name} +# spec file for package mvapich2 # # Copyright (c) 2021 SUSE LLC # @@ -19,8 +19,8 @@ %global flavor @BUILD_FLAVOR@%{nil} %define pname mvapich2 -%define vers 2.3.4 -%define _vers 2_3_4 +%define vers 2.3.5 +%define _vers 2_3_5 %if "%{flavor}" == "" ExclusiveArch: do_not_build @@ -253,9 +253,8 @@ Patch3: 0001-Drop-GCC-check.patch Patch4: reproducible.patch Patch5: fix-missing-return-code.patch -Patch6: wrapper-revert-ldflag-order-change.patch -Patch7: mvapich2-fix-double-free.patch -Patch8: mvapich2-remove-deprecated-sys_siglist.patch +Patch6: mvapich2-remove-deprecated-sys_siglist.patch +Patch7: rdma_find_network_type-return-MV2_NETWORK_CLASS_UNKNOWN-when-dev_list-is-freed.patch ## Armv7 specific patches # PATCH-FIX-UPSTREAM 0001-Drop-real128.patch (https://github.com/pmodels/mpich/issues/4005) @@ -396,8 +395,7 @@ %patch4 -p1 %patch5 %patch6 -%patch7 -%patch8 +%patch7 -p1 # Only apply these patches on Armv7 %ifarch armv7hl ++ mvapich2-2.3.4.tar.gz -> mvapich2-2.3.5.tar.gz ++ /work/SRC/openSUSE:Factory/mvapich2/mvapich2-2.3.4.tar.gz /work/SRC/openSUSE:Factory/.mvapich2.new.2401/mvapich2-2.3.5.tar.gz differ: char 5, line 1 ++ rdma_find_network_type-return-MV2_NETWORK_CLASS_UNKNOWN-when-dev_list-is-freed.patch ++ From: Egbert Eich Date: Wed Mar 24 17:59:11 2021 +0100 Subject: rdma_find_network_type(): return MV2_NETWORK_CLASS_UNKNOWN when dev_list is freed Patch-mainline: Not yet Git-commit: 53c0c41fbd3728afb32cce7f23f596877e270911 References: This makes rdma_open_hca() bail early, so it doesn't reach the code which tries to free dev_list and avoids a double free. Signed-off-by: Egbert Eich --- src/mpid/ch3/channels/mrail/src/gen2/rdma_iba_priv.c | 2 +
commit mvapich2 for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package mvapich2 for openSUSE:Factory checked in at 2021-02-18 20:41:10 Comparing /work/SRC/openSUSE:Factory/mvapich2 (Old) and /work/SRC/openSUSE:Factory/.mvapich2.new.28504 (New) Package is "mvapich2" Thu Feb 18 20:41:10 2021 rev:25 rq:873286 version:2.3.4 Changes: --- /work/SRC/openSUSE:Factory/mvapich2/mvapich2.changes2020-08-03 14:14:23.016438775 +0200 +++ /work/SRC/openSUSE:Factory/.mvapich2.new.28504/mvapich2.changes 2021-02-18 20:53:05.363477608 +0100 @@ -1,0 +2,13 @@ +Thu Feb 18 04:46:04 UTC 2021 - Nicolas Morey-Chaisemartin + +- Re-add mvapich2-fix-double-free.patch as the bug was + somehow be reintroduced (bsc#1144000) +- Add mvapich2-remove-deprecated-sys_siglist.patch to + fix compilation errors with newer glibc + +--- +Sun Nov 29 13:44:44 UTC 2020 - Egbert Eich + +- HPC: Fix environment module settings for MANPATH. + +--- New: mvapich2-fix-double-free.patch mvapich2-remove-deprecated-sys_siglist.patch Other differences: -- ++ mvapich2.spec ++ --- /var/tmp/diff_new_pack.tnhiTN/_old 2021-02-18 20:53:06.095478295 +0100 +++ /var/tmp/diff_new_pack.tnhiTN/_new 2021-02-18 20:53:06.099478299 +0100 @@ -1,7 +1,7 @@ # -# spec file for package mvapich2 +# spec file for package %{package_name} # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -254,6 +254,9 @@ Patch4: reproducible.patch Patch5: fix-missing-return-code.patch Patch6: wrapper-revert-ldflag-order-change.patch +Patch7: mvapich2-fix-double-free.patch +Patch8: mvapich2-remove-deprecated-sys_siglist.patch + ## Armv7 specific patches # PATCH-FIX-UPSTREAM 0001-Drop-real128.patch (https://github.com/pmodels/mpich/issues/4005) Patch50:0001-Drop-real128.patch @@ -393,6 +396,8 @@ %patch4 -p1 %patch5 %patch6 +%patch7 +%patch8 # Only apply these patches on Armv7 %ifarch armv7hl @@ -519,9 +524,9 @@ set version %{version} -prepend-pathPATH%{hpc_prefix}/bin -prepend-pathMANPATH %{hpc_prefix}/man -prepend-pathLD_LIBRARY_PATH %{hpc_prefix}/%_lib +prepend-pathPATH%{hpc_bindir} +prepend-pathMANPATH %{hpc_mandir} +prepend-pathLD_LIBRARY_PATH %{hpc_libdir} prepend-pathMODULEPATH %{hpc_modulepath} prepend-pathMPI_DIR %{hpc_prefix} %{hpc_modulefile_add_pkgconfig_path} ++ mvapich2-fix-double-free.patch ++ commit 29cf7e8f54363de3ad614b3480517f02b84ade5e Author: Nicolas Morey-Chaisemartin Date: Thu May 2 09:56:40 2019 +0200 mvapich2 fix double free Fix double free that causes a SEGV when mvapich2 fails to open a rdma device Signed-off-by: Nicolas Morey-Chaisemartin diff --git src/mpid/ch3/channels/mrail/src/gen2/rdma_iba_priv.c src/mpid/ch3/channels/mrail/src/gen2/rdma_iba_priv.c index 89f666c8988b..48454297223c 100644 --- src/mpid/ch3/channels/mrail/src/gen2/rdma_iba_priv.c +++ src/mpid/ch3/channels/mrail/src/gen2/rdma_iba_priv.c @@ -790,10 +790,6 @@ int rdma_open_hca(struct mv2_MPIDI_CH3I_RDMA_Process_t *proc) } if (!ib_dev) { -/* Clean up before exit */ -if (dev_list) { -ibv_free_device_list(dev_list); -} MPIR_ERR_SETFATALANDJUMP1(mpi_errno, MPI_ERR_OTHER, "**fail", "**fail %s", "No IB device found"); } ++ mvapich2-remove-deprecated-sys_siglist.patch ++ commit d8dc7133c2c8255f194e1fa5e550ef1bd4796bf6 Author: Nicolas Morey-Chaisemartin Date: Thu Oct 15 10:12:24 2020 +0200 mvapich2 remove deprecated sys_siglist sys_siglist has been deprecated and even removed from newer glibc version. Use strsignal as a replacement Signed-off-by: Nicolas Morey-Chaisemartin diff --git src/mpid/ch3/channels/common/src/util/error_handling.c src/mpid/ch3/channels/common/src/util/error_handling.c index b6c67c41c056..27f7e63a64ac 100644 --- src/mpid/ch3/channels/common/src/util/error_handling.c +++ src/mpid/ch3/channels/common/src/util/error_handling.c @@ -69,7 +69,7 @@ int show_backtrace = 0; // Signal handler for errors void error_sighandler(int sig, siginfo_t *info, void *secret) { // Always print error -PRINT_ERROR( "Caught error: %s (signal %d)\n", sys_siglist[sig], sig ); +PR