SHA256
1
0
forked from pool/mpich

81 Commits

Author SHA256 Message Date
0de26d06e3 Accepting request 1265556 from science:HPC
- Remove support for gnu-hpc build flavours

- Disable gnu-hpc build flavours (bsc#1239982)

OBS-URL: https://build.opensuse.org/request/show/1265556
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mpich?expand=0&rev=36
2025-04-03 14:46:44 +00:00
ed256dcfb4 - Remove support for gnu-hpc build flavours
OBS-URL: https://build.opensuse.org/package/show/science:HPC/mpich?expand=0&rev=79
2025-03-30 15:33:43 +00:00
676e345393 - Disable gnu-hpc build flavours (bsc#1239982)
OBS-URL: https://build.opensuse.org/package/show/science:HPC/mpich?expand=0&rev=78
2025-03-24 16:00:26 +00:00
b2677afd16 Accepting request 1247233 from science:HPC
OBS-URL: https://build.opensuse.org/request/show/1247233
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mpich?expand=0&rev=35
2025-02-20 15:40:16 +00:00
751f748c71 - Update to 4.3.0
- Support MPI memory allocation kinds side document.
  - Support MPI ABI Proposal. Configure with --enable-mpi-abi and build with
    mpicc_abi. By default, mpicc still builds and links with MPICH ABI.
  - Added benchmark tests test/mpi/bench/p2p_{latency,bw}. 
  - Added CMA support in CH4 IPC.
  - Added IPC read algorithm for intranode Allgather and Allgatherv.
  - Added CVAR MPIR_CVAR_CH4_SHM_POSIX_TOPO_ENABLE to enable non-temporal memcpy
    for inter-numa shm communication.
  - Added CVAR MPIR_CVAR_DEBUG_PROGRESS_TIMEOUT for debugging MPI deadlock issues.  
  - ch4:ucx now supports dynamic processes. MPI_Comm_spawn{_multiple} will work.
    MPI_Open_port will fail due to ucx port name exceeds current MPI_MAX_PORT_NAME
    of 256. One can work around by use an info hint "port_name_size" and use a
    larger port name buffer.
  - PMI-1 defines PMI_MAX_PORT_NAME, which may be different from MPI_MAX_PORT_NAME.
    This is used by "PMI_Lookup_name". Consequently, MPI_Lookup_name accepts info
    hint "port_name_size" that may be larger than MPI_MAX_PORT_NAME. If the port
    name does not fit in "port_name_size", it will return a truncation error.
  - Autogen default to use -yaksa-depth=2.
  - Default MPIR_CVAR_CH4_ROOTS_ONLY_PMI to on.
  - Added ch4 netmod API am_tag_send and am_tag_recv.
  - Added MPIR_CVAR_CH4_OFI_EAGER_THRESHOLD to force RNDV send mode.
  - Make check target will run ROMIO tests.
  - Add back handle conversion macros (f2c/c2f) to preserve ABI
    compatibility with older MPICH libraries
  - Fix compilation issue with g++ in -std=gnu++20 mode
  - Fix bug in MPI_ANY_SOURCE handling observed using the libfabric CXI
    provider
  - Add NIC information to error messages in ch4:ofi netmod
- Add romio-disable-tests.patch to disable romio tests

OBS-URL: https://build.opensuse.org/package/show/science:HPC/mpich?expand=0&rev=76
2025-02-19 20:17:01 +00:00
9a0939998e Accepting request 1193491 from science:HPC
OBS-URL: https://build.opensuse.org/request/show/1193491
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mpich?expand=0&rev=34
2024-08-13 11:24:22 +00:00
82176c5905 Accepting request 1183208 from science:HPC
OBS-URL: https://build.opensuse.org/request/show/1183208
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mpich?expand=0&rev=33
2024-06-25 21:09:34 +00:00
c03905df39 - Remove unneeded sysfsutil dependency
- Do no build hpc flavours on 32b systems

OBS-URL: https://build.opensuse.org/package/show/science:HPC/mpich?expand=0&rev=72
2024-06-25 14:27:35 +00:00
2d507ade6c Accepting request 1177100 from science:HPC
OBS-URL: https://build.opensuse.org/request/show/1177100
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mpich?expand=0&rev=32
2024-05-28 15:28:44 +00:00
1bd3602333 Accepting request 1175813 from home:dimstar:Factory
- Use %autosetup macro: allows us to eliminate usage of deprecated
  %patchN syntax.

OBS-URL: https://build.opensuse.org/request/show/1175813
OBS-URL: https://build.opensuse.org/package/show/science:HPC/mpich?expand=0&rev=70
2024-05-27 11:05:19 +00:00
c0dea43290 Accepting request 1101766 from science:HPC
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1101766
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mpich?expand=0&rev=31
2023-08-02 14:50:17 +00:00
7f701ca24f Accepting request 1100769 from home:NMorey:branches:science:HPC
- Update to 4.1.2
  - Update UCX module to includes fixes for building with GCC 13
  - Update libfabric module to 1.18.0 with additional fixes for building
    with recent versions of LLVM/Clang
  - Fix compiler wrapper scripts to be compatible with CUDA memory hooks
  - Fix MPIX_WAITALL_ENQUEUE to make a copy of the input request array
  - Fix bug in MPI_ALLREDUCE that could result in ranks receiving
    different floating point values
  - Fix potential deadlock when progressing RMA windows
  - Fix potential crash in MPI_REDUCE with non-zero root and MPI_IN_PLACE
  - Fix potential crash during probe with libfabric CXI provider
  - Fix MPI_PARRIVED when the partitioned request is inactive
  - Fix potential bug when an attribute delete callback deletes another
    attribute on the same object
  - Fix build issue in ROMIO Lustre driver
  - Improve Fortran 2008 binding support detection during configure
  - Report an error if collective tuning json file fails to open
  - Several fixes for testsuite programs and build configuration
  - Update embedded UCX module to 1.13.1. Fixes a build issue with
    binutils >= 2.39.
  - Update yaksa module. Support explicit NVCC setting by the user. Fixes
    a build issue when there is no libtool available in PATH.
  - Fix ch4:ucx initialization when configured with
    --enable-ch4-vci-method=implicit.
  - Fix potential error handler leak during MPI_SESSION_FINALIZE
  - Fix value of MPI_UNDEFINED in mpif.h binding
  - Fix MPI_IALLTOALLW with MPI_IN_PLACE
  - Fix send attribute handling in IPC path
  - Fix a bug in persistent MPI_ALLGATHER
  - Fix tests for use with non-MPICH libraries

OBS-URL: https://build.opensuse.org/request/show/1100769
OBS-URL: https://build.opensuse.org/package/show/science:HPC/mpich?expand=0&rev=68
2023-07-26 07:39:21 +00:00
1bb48dad5b Accepting request 1031093 from science:HPC
OBS-URL: https://build.opensuse.org/request/show/1031093
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mpich?expand=0&rev=30
2022-10-26 10:31:15 +00:00
Nicolas Morey-Chaisemartin
f7d960de5e Accepting request 1031092 from home:NMoreyChaisemartin:branches:science:HPC
- Revert use of internal PMIx and hwloc library
  - Using external libraries disables the build of all process managers

OBS-URL: https://build.opensuse.org/request/show/1031092
OBS-URL: https://build.opensuse.org/package/show/science:HPC/mpich?expand=0&rev=66
2022-10-25 09:11:56 +00:00
f5fbdc3e47 Accepting request 1029587 from science:HPC
OBS-URL: https://build.opensuse.org/request/show/1029587
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mpich?expand=0&rev=29
2022-10-18 10:45:17 +00:00
Nicolas Morey-Chaisemartin
4d0298891c Accepting request 1029586 from home:NMoreyChaisemartin:branches:science:HPC
- Disable valgrind on ppc64 to fix build dependency issues.
- Add _constraints to fix compilation running out of disk space.

OBS-URL: https://build.opensuse.org/request/show/1029586
OBS-URL: https://build.opensuse.org/package/show/science:HPC/mpich?expand=0&rev=64
2022-10-17 18:18:51 +00:00
6cfea5061a Accepting request 1007232 from science:HPC
OBS-URL: https://build.opensuse.org/request/show/1007232
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mpich?expand=0&rev=28
2022-09-30 15:58:46 +00:00
Nicolas Morey-Chaisemartin
d702c4a1a5 Accepting request 1007189 from home:NMoreyChaisemartin:branches:science:HPC
- Update to 4.0.2
  - Fix support for dynamic process functionality with PMI2 clients
  - Fix non-zero appnum bug in PMI2 server in Hydra
  - Fix MPI_Op support for types created with MPI_Type_create_f90_xxx
  - Fix Level Zero properties initialization in MPL.
  - Use standard names for CPU affinity functions with POSIX
    threads.
  - Add elemental to eq/neq operators in Fortran 2008 binding

- Switch to external hwloc, and PMIx
- On 32b systems, use ofi instead of verbs flavor by default

OBS-URL: https://build.opensuse.org/request/show/1007189
OBS-URL: https://build.opensuse.org/package/show/science:HPC/mpich?expand=0&rev=62
2022-09-30 11:26:08 +00:00
839bc9e32f Accepting request 960008 from science:HPC
OBS-URL: https://build.opensuse.org/request/show/960008
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mpich?expand=0&rev=27
2022-03-08 19:31:41 +00:00
Nicolas Morey-Chaisemartin
563e1b6972 Accepting request 960004 from home:NMoreyChaisemartin:branches:science:HPC
- Update to mpich 4.0.1 (bsc#1194369)
  - All MPI-4 APIs have been implemented. Major MPI-4 features include MPI
    sessions, partitioned point-to-point communications, events in the MPI tool
    information interface, large-count functions, persistent collectives,
    MPI_Comm_idup_with_info, MPI_Isendrecv and MPI_Isendrecv_replace,
    MPI_Info_get_string, MPI_Comm_split_type with new split_type --
    MPI_COMM_TYPE_HW_GUIDED and MPI_COMM_TYPE_HW_UNGUIDED.
  - Add MPIX_Delete_error_{class,code,string}.
  - MPI_Info objects can be accessed before MPI_Init{_thread}.
  - Drop support for UCX version < 1.7.0.
  - Multi-NIC support in ch4:ofi.
  - Extend IPC to support non-contig datatypes.
  - Many bug fixes and code clean-ups.
- Drop 0001-Drop-real128.patch as it was fixed upstream
- Refresh autogen-only-deal-with-json-yaksa-if-enabled.patch
  against latest sources

OBS-URL: https://build.opensuse.org/request/show/960004
OBS-URL: https://build.opensuse.org/package/show/science:HPC/mpich?expand=0&rev=60
2022-03-07 15:37:47 +00:00
70d7d04dc8 Accepting request 948453 from science:HPC
OBS-URL: https://build.opensuse.org/request/show/948453
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mpich?expand=0&rev=26
2022-01-24 22:10:22 +00:00
Nicolas Morey-Chaisemartin
1d2abfb911 Accepting request 948361 from home:NMoreyChaisemartin:branches:science:HPC
- Update to mpich 3.4.3
  - Fix nemesis shm bug on systems with weak memory consistency
  - Fix progress issue in ch4:ucx finalize
  - Fix nonblocking collective issue during finalize
  - Fix predefined datatype handle leaks
  - Fix bug in topology-aware communicator creation
  - Fix Slurm nodelist parsing
  - Hydra help message improvements

OBS-URL: https://build.opensuse.org/request/show/948361
OBS-URL: https://build.opensuse.org/package/show/science:HPC/mpich?expand=0&rev=59
2022-01-24 16:29:10 +00:00
bd6ef73075 Accepting request 926466 from science:HPC
OBS-URL: https://build.opensuse.org/request/show/926466
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mpich?expand=0&rev=25
2021-10-20 18:23:54 +00:00
Nicolas Morey-Chaisemartin
dabc3f16ca Accepting request 926461 from home:NMoreyChaisemartin:branches:science:HPC
- Move rpm macros to %_rpmmacrodir (bsc#1191385)

OBS-URL: https://build.opensuse.org/request/show/926461
OBS-URL: https://build.opensuse.org/package/show/science:HPC/mpich?expand=0&rev=58
2021-10-20 06:46:47 +00:00
5a8d1f306c Accepting request 917141 from science:HPC
OBS-URL: https://build.opensuse.org/request/show/917141
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mpich?expand=0&rev=24
2021-09-07 19:21:25 +00:00
Nicolas Morey-Chaisemartin
1f8f2d6c9a Accepting request 917140 from home:NMoreyChaisemartin:branches:science:HPC
- Update to mpich 3.4.2
  - Update embedded hwloc to version 2.4.1. Fixes a build issue on
    systems with OpenCL.
  - Fix additional bugs in GPU-aware nonblocking op collectives
  - Fix support for GNI provider in ch4:ofi netmod
  - Fix bug in dynamic window memory registration with ch4:ofi netmod
  - Fix bug in persistent pt2pt when used with MPI_PROC_NULL
  - Fix bug in hydra nameserver when freeing published entries
  - Fix bugs in XPMEM support
  - Fix bug in MPI_Comm_spawn_multiple where non-root args were not ignored

OBS-URL: https://build.opensuse.org/request/show/917140
OBS-URL: https://build.opensuse.org/package/show/science:HPC/mpich?expand=0&rev=57
2021-09-06 14:39:33 +00:00
79f8f504ba Accepting request 900758 from science:HPC
- don't own /usr/share/doc (owned by "filesystem") to avoid conflict on install (forwarded request 899802 from cboltz)

OBS-URL: https://build.opensuse.org/request/show/900758
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mpich?expand=0&rev=23
2021-06-19 21:04:06 +00:00
5afb3e5bb1 Accepting request 899802 from home:cboltz:branches:science:HPC
- don't own /usr/share/doc (owned by "filesystem") to avoid conflict on install

OBS-URL: https://build.opensuse.org/request/show/899802
OBS-URL: https://build.opensuse.org/package/show/science:HPC/mpich?expand=0&rev=55
2021-06-18 12:51:18 +00:00
Richard Brown
eb42a5dc90 Accepting request 882725 from science:HPC
OBS-URL: https://build.opensuse.org/request/show/882725
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mpich?expand=0&rev=22
2021-04-06 15:30:06 +00:00
Nicolas Morey-Chaisemartin
7e96e2736c Accepting request 882702 from home:NMoreyChaisemartin:branches:science:HPC
- Update to mpich 3.4.1
  - ch4 replaces ch3 as the default device configuration. If no network
    module is specified at configuration-time, MPICH will search the
    user environment in order to select one to build. The user will be
    prompted to choose if no preferred network library is dectected.
  - Add support for XPMEM.
  - Add support for multiple virtual communication interfaces for more
    efficient MPI_THREAD_MULTIPLE (experimental).
  - Add support for Arm compiler toolchain
  - Add support for flang/f18 Fortran compiler
  - See CHANGES for the complete list of CHANGES
- Changed MPI interface in mpich package
  - 64bit archs use ch4:ucx
  - 32bit archs use ch3:nemesis (verbs)
- Drop patches merged upstream:
  - ch3-fix-improper-error-handling-from-MPL_get_sockaddr.patch
  - opmi-fix-a-wrong-condition-checking-return-of-MPL_get_sockaddr.patch
- Add patches to make sure built is used with the proper system libraries
  and not the embedded ones:
  - autogen-only-deal-with-json-yaksa-if-enabled.patch
  - autoconf-pull-dynamic-and-not-static-libs-from-pkg-config.patch
- Refresh 0001-Drop-real128.patch against latest sources

OBS-URL: https://build.opensuse.org/request/show/882702
OBS-URL: https://build.opensuse.org/package/show/science:HPC/mpich?expand=0&rev=53
2021-04-02 14:12:08 +00:00
0091bf560d Accepting request 851676 from science:HPC
- HPC: Fix environment module settings for MANPATH.

OBS-URL: https://build.opensuse.org/request/show/851676
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mpich?expand=0&rev=21
2020-11-30 08:53:52 +00:00
65f3d9aecd - HPC: Fix environment module settings for MANPATH.
OBS-URL: https://build.opensuse.org/package/show/science:HPC/mpich?expand=0&rev=51
2020-11-29 11:47:17 +00:00
7c153fb59d Accepting request 823139 from science:HPC
OBS-URL: https://build.opensuse.org/request/show/823139
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mpich?expand=0&rev=20
2020-08-03 12:13:42 +00:00
Nicolas Morey-Chaisemartin
ed65c5ebb7 Accepting request 823020 from home:eeich:branches:science:HPC
- For HPC builds check for gnu compiler suite version >= 10 and
  set -fallow-argument-mismatch.

OBS-URL: https://build.opensuse.org/request/show/823020
OBS-URL: https://build.opensuse.org/package/show/science:HPC/mpich?expand=0&rev=49
2020-07-28 11:49:07 +00:00
492165256d Accepting request 822497 from science:HPC
OBS-URL: https://build.opensuse.org/request/show/822497
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mpich?expand=0&rev=19
2020-07-24 10:10:51 +00:00
48bed94404 Accepting request 822455 from home:eeich:branches:science:HPC
- Add build support for gcc8/9/10 to HPC build (bsc#1174439).

OBS-URL: https://build.opensuse.org/request/show/822455
OBS-URL: https://build.opensuse.org/package/show/science:HPC/mpich?expand=0&rev=47
2020-07-23 18:49:04 +00:00
0ae1ad90e2 Accepting request 813039 from science:HPC
OBS-URL: https://build.opensuse.org/request/show/813039
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mpich?expand=0&rev=18
2020-06-09 22:54:08 +00:00
Nicolas Morey-Chaisemartin
9db3a5f21a Accepting request 813038 from home:NMoreyChaisemartin:branches:science:HPC
- Fix compilation with GCC10 by adding -fallow-argument-mismatch to FFLAGS

OBS-URL: https://build.opensuse.org/request/show/813038
OBS-URL: https://build.opensuse.org/package/show/science:HPC/mpich?expand=0&rev=45
2020-06-09 20:03:56 +00:00
00097ea28c Accepting request 794232 from science:HPC
OBS-URL: https://build.opensuse.org/request/show/794232
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mpich?expand=0&rev=17
2020-04-15 17:57:28 +00:00
Nicolas Morey-Chaisemartin
0714096804 Accepting request 794230 from home:NMoreyChaisemartin:branches:science:HPC
- Add ch3-fix-improper-error-handling-from-MPL_get_sockaddr.patch and
 pmi-fix-a-wrong-condition-checking-return-of-MPL_get_sockaddr.patch to fix crash when 
 using getsockaddr (bsc#1168092)

OBS-URL: https://build.opensuse.org/request/show/794230
OBS-URL: https://build.opensuse.org/package/show/science:HPC/mpich?expand=0&rev=43
2020-04-15 15:38:22 +00:00
2fe0a044e6 Accepting request 751623 from science:HPC
OBS-URL: https://build.opensuse.org/request/show/751623
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mpich?expand=0&rev=16
2019-11-30 09:37:54 +00:00
Nicolas Morey-Chaisemartin
4b516587fb Accepting request 751622 from home:NMoreyChaisemartin:branches:science:HPC
- Update to mpich 3.3.2 (jsc#SLE-8574)
  - See CHANGES for a list of changes

OBS-URL: https://build.opensuse.org/request/show/751622
OBS-URL: https://build.opensuse.org/package/show/science:HPC/mpich?expand=0&rev=41
2019-11-28 14:08:23 +00:00
99ad0827b2 Accepting request 734304 from science:HPC
OBS-URL: https://build.opensuse.org/request/show/734304
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mpich?expand=0&rev=15
2019-10-02 09:59:24 +00:00
Nicolas Morey-Chaisemartin
bf11404783 Accepting request 734301 from home:NMoreyChaisemartin:branches:science:HPC
- Update to mpich 3.3.1 (jsc#SLE-8574)
  - See CHANGES for a list of changes
- Drop 0001-Drop-GCC-check.patch as it was picked upstream
- Add 0001-Drop-real128.patch to fix a compilation error on armv7

- Fix LTO support in archive file

OBS-URL: https://build.opensuse.org/request/show/734301
OBS-URL: https://build.opensuse.org/package/show/science:HPC/mpich?expand=0&rev=39
2019-10-01 12:38:10 +00:00
d1affc320b Accepting request 702621 from science:HPC
OBS-URL: https://build.opensuse.org/request/show/702621
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mpich?expand=0&rev=14
2019-06-19 18:56:59 +00:00
Nicolas Morey-Chaisemartin
0e8c2c81c2 Accepting request 702586 from home:NMoreyChaisemartin:branches:science:HPC:Updates
- Update to mpich 3.3
  - See CHANGES for a list of changes

OBS-URL: https://build.opensuse.org/request/show/702586
OBS-URL: https://build.opensuse.org/package/show/science:HPC/mpich?expand=0&rev=37
2019-05-13 10:05:35 +00:00
30cd6fd929 Accepting request 687317 from science:HPC
OBS-URL: https://build.opensuse.org/request/show/687317
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mpich?expand=0&rev=13
2019-03-22 14:09:31 +00:00
Nicolas Morey-Chaisemartin
bdc7ec003e Accepting request 687142 from home:anag:branches:science:HPC
- Add patch to remove obsolete GCC check (bnc#1129421). It also patches
  autogen.sh to get the autotools working in SLE12SP4.
  * 0001-Drop-GCC-check.patch
- Force to re-run autotools to generate properly the files after 
  patching src/binding/cxx/buildiface

OBS-URL: https://build.opensuse.org/request/show/687142
OBS-URL: https://build.opensuse.org/package/show/science:HPC/mpich?expand=0&rev=35
2019-03-21 13:00:04 +00:00
16e7fcdd96 Accepting request 650121 from science:HPC
OBS-URL: https://build.opensuse.org/request/show/650121
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mpich?expand=0&rev=12
2018-11-26 09:23:49 +00:00
Nicolas Morey-Chaisemartin
979709079d Accepting request 650045 from home:eeich:branches:science:HPC
- Add macro _hpc_mpich_modules for modules support (bsc#1116458).

OBS-URL: https://build.opensuse.org/request/show/650045
OBS-URL: https://build.opensuse.org/package/show/science:HPC/mpich?expand=0&rev=33
2018-11-19 08:07:08 +00:00
e3280c340b Accepting request 636134 from science:HPC
- Remove bashism in postun scriptlet

- Fix handling of mpi-selector during updates (bsc#1098653)

OBS-URL: https://build.opensuse.org/request/show/636134
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mpich?expand=0&rev=11
2018-09-18 09:44:31 +00:00
Nicolas Morey-Chaisemartin
93dc3010a4 Accepting request 636120 from home:NMoreyChaisemartin:branches:science:HPC
Fix scriptlet

OBS-URL: https://build.opensuse.org/request/show/636120
OBS-URL: https://build.opensuse.org/package/show/science:HPC/mpich?expand=0&rev=31
2018-09-17 09:24:38 +00:00
Nicolas Morey-Chaisemartin
da46537d6c Accepting request 634890 from home:NMoreyChaisemartin:branches:science:HPC
- Remove bashism in postun scriptlet

OBS-URL: https://build.opensuse.org/request/show/634890
OBS-URL: https://build.opensuse.org/package/show/science:HPC/mpich?expand=0&rev=30
2018-09-11 07:41:41 +00:00
Nicolas Morey-Chaisemartin
9a89dae7d3 Accepting request 633987 from home:NMoreyChaisemartin:branches:science:HPC
Fix ==

OBS-URL: https://build.opensuse.org/request/show/633987
OBS-URL: https://build.opensuse.org/package/show/science:HPC/mpich?expand=0&rev=29
2018-09-07 09:15:15 +00:00
Nicolas Morey-Chaisemartin
5daf3c5991 Accepting request 633762 from home:NMoreyChaisemartin:branches:science:HPC
- Fix handling of mpi-selector during updates (bsc#1098653)

OBS-URL: https://build.opensuse.org/request/show/633762
OBS-URL: https://build.opensuse.org/package/show/science:HPC/mpich?expand=0&rev=28
2018-09-06 15:42:17 +00:00
d471f343fb Accepting request 630812 from science:HPC
OBS-URL: https://build.opensuse.org/request/show/630812
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mpich?expand=0&rev=10
2018-08-22 12:22:03 +00:00
Nicolas Morey-Chaisemartin
3ceb1cc703 Accepting request 630697 from home:eeich:branches:science:HPC
- macros.hpc-mpich:
  replace %%compiler_family by %%hpc_compiler_family

OBS-URL: https://build.opensuse.org/request/show/630697
OBS-URL: https://build.opensuse.org/package/show/science:HPC/mpich?expand=0&rev=26
2018-08-21 19:53:48 +00:00
2b4f91ee50 Accepting request 599752 from science:HPC
- Remove 'BuildRequires: Modules' for HPC builds: it conflicts
  with lmod (boo#1089970).

OBS-URL: https://build.opensuse.org/request/show/599752
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mpich?expand=0&rev=9
2018-04-23 13:26:11 +00:00
5fc5dbc98c - Remove 'BuildRequires: Modules' for HPC builds: it conflicts
with lmod (boo#1089970).

OBS-URL: https://build.opensuse.org/package/show/science:HPC/mpich?expand=0&rev=24
2018-04-22 11:17:31 +00:00
794f558d65 Accepting request 574685 from science:HPC
OBS-URL: https://build.opensuse.org/request/show/574685
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mpich?expand=0&rev=8
2018-02-10 16:58:40 +00:00
Nicolas Morey-Chaisemartin
04e0ce07de Accepting request 574683 from home:mslacken:hpc_fix
- Fix summary in module files (bnc#1080259)

OBS-URL: https://build.opensuse.org/request/show/574683
OBS-URL: https://build.opensuse.org/package/show/science:HPC/mpich?expand=0&rev=22
2018-02-09 14:25:22 +00:00
04c95e09ca Accepting request 571421 from science:HPC
- Use macro in mpivars.(c)sh to be independent of changes to the module
  setup for the compiler (boo#1078364).

OBS-URL: https://build.opensuse.org/request/show/571421
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mpich?expand=0&rev=7
2018-01-31 18:54:43 +00:00
Nicolas Morey-Chaisemartin
0b42a0c099 Fix path to mpivars
OBS-URL: https://build.opensuse.org/package/show/science:HPC/mpich?expand=0&rev=20
2018-01-31 09:01:41 +00:00
Nicolas Morey-Chaisemartin
d9b1cbd3d3 Accepting request 571223 from home:eeich:branches:science:HPC
- Use macro in mpivars.(c)sh to be independent of changes to the module
  setup for the compiler (boo#1078364).

OBS-URL: https://build.opensuse.org/request/show/571223
OBS-URL: https://build.opensuse.org/package/show/science:HPC/mpich?expand=0&rev=19
2018-01-31 08:08:26 +00:00
6c02017434 Accepting request 567903 from science:HPC
- Update to mpich 3.2.1
  - Bug fixes
  - No release notes available (forwarded request 567902 from NMoreyChaisemartin)

OBS-URL: https://build.opensuse.org/request/show/567903
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mpich?expand=0&rev=6
2018-01-22 15:18:43 +00:00
Nicolas Morey-Chaisemartin
be819874cc Accepting request 567902 from home:NMoreyChaisemartin:branches:science:HPC
- Update to mpich 3.2.1
  - Bug fixes
  - No release notes available

OBS-URL: https://build.opensuse.org/request/show/567902
OBS-URL: https://build.opensuse.org/package/show/science:HPC/mpich?expand=0&rev=17
2018-01-20 13:56:01 +00:00
e87a73ee24 Accepting request 562438 from science:HPC
OBS-URL: https://build.opensuse.org/request/show/562438
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mpich?expand=0&rev=5
2018-01-09 13:54:39 +00:00
Nicolas Morey-Chaisemartin
2bdbd3425b Accepting request 562253 from home:eeich:branches:fix-compilers-hpc
- Add gcc7 as additional compiler flavor for HPC on SLES.
- Fix library package requires - use HPC macro (boo#1074890).
- Fix mpich HPC installation path in spec file.
- Fix hpc macros: add %mpich_requires.

OBS-URL: https://build.opensuse.org/request/show/562253
OBS-URL: https://build.opensuse.org/package/show/science:HPC/mpich?expand=0&rev=15
2018-01-08 09:46:06 +00:00
f04d7e75c8 Accepting request 538288 from science:HPC
- Add HPC specific build targets using environment modules (Fate#323977).

OBS-URL: https://build.opensuse.org/request/show/538288
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mpich?expand=0&rev=4
2017-11-03 15:26:43 +00:00
Nicolas Morey-Chaisemartin
48394e14c0 Remove extra libmpich meta package
OBS-URL: https://build.opensuse.org/package/show/science:HPC/mpich?expand=0&rev=13
2017-11-02 08:42:24 +00:00
Nicolas Morey-Chaisemartin
90bde5773f - Add HPC specific build targets using environment modules (Fate#323977).
OBS-URL: https://build.opensuse.org/package/show/science:HPC/mpich?expand=0&rev=12
2017-10-30 08:58:16 +00:00
Nicolas Morey-Chaisemartin
3a97afaf03 Accepting request 537196 from science:HPC:EnvMod
- Add HPC specific build targets using environment modules.

OBS-URL: https://build.opensuse.org/request/show/537196
OBS-URL: https://build.opensuse.org/package/show/science:HPC/mpich?expand=0&rev=11
2017-10-27 13:54:07 +00:00
512525a0b9 Accepting request 523633 from science:HPC
1

OBS-URL: https://build.opensuse.org/request/show/523633
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mpich?expand=0&rev=3
2017-09-12 17:57:55 +00:00
Nicolas Morey-Chaisemartin
eb8e28db4f Accepting request 523630 from home:NMoreyChaisemartin:branches:science:HPC
- Drop unnecessary dependency to xorg-x11-devel

OBS-URL: https://build.opensuse.org/request/show/523630
OBS-URL: https://build.opensuse.org/package/show/science:HPC/mpich?expand=0&rev=9
2017-09-12 09:44:37 +00:00
5268a66203 Accepting request 519489 from science:HPC
- Add LD_LIBRARY_PATH to mpivars.sh and mpivars.csh

OBS-URL: https://build.opensuse.org/request/show/519489
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mpich?expand=0&rev=2
2017-08-30 14:23:29 +00:00
57c287dc33 Accepting request 510016 from science:HPC
Add mpich package

OBS-URL: https://build.opensuse.org/request/show/510016
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mpich?expand=0&rev=1
2017-08-24 16:37:52 +00:00
Nicolas Morey-Chaisemartin
238551b511 Accepting request 510126 from home:NMoreyChaisemartin:branches:science:HPC
- Add LD_LIBRARY_PATH to mpivars.sh and mpivars.csh

OBS-URL: https://build.opensuse.org/request/show/510126
OBS-URL: https://build.opensuse.org/package/show/science:HPC/mpich?expand=0&rev=6
2017-07-13 15:51:53 +00:00
Nicolas Morey-Chaisemartin
3973589205 Accepting request 510015 from home:NMoreyChaisemartin:branches:science:HPC
- Disable rpath in pkgconfig files

OBS-URL: https://build.opensuse.org/request/show/510015
OBS-URL: https://build.opensuse.org/package/show/science:HPC/mpich?expand=0&rev=5
2017-07-13 08:01:54 +00:00
Nicolas Morey-Chaisemartin
2afb017ad8 Accepting request 508444 from home:NMoreyChaisemartin:branches:science:HPC
- Register mpich package to mpi-selector
- Remove redondant configure options already passed by %configure

OBS-URL: https://build.opensuse.org/request/show/508444
OBS-URL: https://build.opensuse.org/package/show/science:HPC/mpich?expand=0&rev=4
2017-07-06 07:18:01 +00:00
Nicolas Morey-Chaisemartin
e3a8a455a2 Accepting request 508339 from home:NMoreyChaisemartin:branches:science:HPC
- Fix compilation for aarch64
- Build multiple flavour of mpich (psm, psm2, tessuite)
- Update to mpich 3.2
  * see CHANGES file for all details, some pertinent changes are:
    - Added support for MPI-3.1 features including nonblocking collective I/O,
      address manipulation routines, thread-safety for MPI initialization,
      pre-init functionality, and new MPI_T routines to look up variables
      by name.
    - Fortran 2008 bindings are enabled by default and fully supported.
    - Completely revamped RMA infrastructure including several
      scalability improvements, performance improvements, and bug fixes.
    - Added experimental support for Open Fabrics Interfaces (OFI) version 1.0.0.
    https://github.com/ofiwg/libfabric (thanks to Intel for code contribution)

OBS-URL: https://build.opensuse.org/request/show/508339
OBS-URL: https://build.opensuse.org/package/show/science:HPC/mpich?expand=0&rev=3
2017-07-05 11:53:19 +00:00
Nicolas Morey-Chaisemartin
b88dd1c278 OBS-URL: https://build.opensuse.org/package/show/science:HPC/mpich?expand=0&rev=2 2017-06-23 05:56:52 +00:00
8 changed files with 82 additions and 318 deletions

View File

@@ -3,8 +3,4 @@
<package>testsuite</package>
<package>ofi</package>
<package>ofi-testsuite</package>
<package>gnu-hpc</package>
<package>gnu-hpc-testsuite</package>
<package>gnu-hpc-ofi</package>
<package>gnu-hpc-ofi-testsuite</package>
</multibuild>

View File

@@ -1,20 +0,0 @@
#
# mpich
#
%hpc_mpich_init(V:) \
%{-V: %define _mf_ver %{-V*}} \
%{expand: %%global hpc_mpich_dep_version %%{?_mf_ver}} \
%{expand: %%global hpc_mpich_dir mpich%{hpc_mpich_dep_version}} \
%global hpc_mpich_pack_version %{hpc_mpich_dep_version} \
%{expand: %%global _hpc_mpich_modules mpich}
# We may have to add a version here.
%hpc_setup_mpich \
module load mpich
%hpc_mpich_requires \
Requires: mpich%{hpc_mpich_dep_version}-%{hpc_compiler_family}%{hpc_cf_pack_version}-hpc
%hpc_mpich_requires_devel \
Requires: mpich%{hpc_mpich_dep_version}-%{hpc_compiler_family}%{hpc_cf_pack_version}-hpc-devel

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3492e98adab62b597ef0d292fb2459b6123bc80070a8aa0a30be6962075a12f0
size 39250122

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:883f5bb3aeabf627cb8492ca02a03b191d09836bbe0f599d8508351179781d41
size 40241352

BIN
mpich-4.3.0.tar.gz LFS Normal file

Binary file not shown.

View File

@@ -1,3 +1,48 @@
-------------------------------------------------------------------
Sat Mar 29 14:25:11 UTC 2025 - Nicolas Morey <nicolas.morey@suse.com>
- Remove support for gnu-hpc build flavours
-------------------------------------------------------------------
Mon Mar 24 12:49:48 UTC 2025 - Nicolas Morey <nicolas.morey@suse.com>
- Disable gnu-hpc build flavours (bsc#1239982)
-------------------------------------------------------------------
Wed Feb 19 15:24:58 UTC 2025 - Nicolas Morey <nicolas.morey@suse.com>
- Update to 4.3.0
- Support MPI memory allocation kinds side document.
- Support MPI ABI Proposal. Configure with --enable-mpi-abi and build with
mpicc_abi. By default, mpicc still builds and links with MPICH ABI.
- Added benchmark tests test/mpi/bench/p2p_{latency,bw}.
- Added CMA support in CH4 IPC.
- Added IPC read algorithm for intranode Allgather and Allgatherv.
- Added CVAR MPIR_CVAR_CH4_SHM_POSIX_TOPO_ENABLE to enable non-temporal memcpy
for inter-numa shm communication.
- Added CVAR MPIR_CVAR_DEBUG_PROGRESS_TIMEOUT for debugging MPI deadlock issues.
- ch4:ucx now supports dynamic processes. MPI_Comm_spawn{_multiple} will work.
MPI_Open_port will fail due to ucx port name exceeds current MPI_MAX_PORT_NAME
of 256. One can work around by use an info hint "port_name_size" and use a
larger port name buffer.
- PMI-1 defines PMI_MAX_PORT_NAME, which may be different from MPI_MAX_PORT_NAME.
This is used by "PMI_Lookup_name". Consequently, MPI_Lookup_name accepts info
hint "port_name_size" that may be larger than MPI_MAX_PORT_NAME. If the port
name does not fit in "port_name_size", it will return a truncation error.
- Autogen default to use -yaksa-depth=2.
- Default MPIR_CVAR_CH4_ROOTS_ONLY_PMI to on.
- Added ch4 netmod API am_tag_send and am_tag_recv.
- Added MPIR_CVAR_CH4_OFI_EAGER_THRESHOLD to force RNDV send mode.
- Make check target will run ROMIO tests.
- Add back handle conversion macros (f2c/c2f) to preserve ABI
compatibility with older MPICH libraries
- Fix compilation issue with g++ in -std=gnu++20 mode
- Fix bug in MPI_ANY_SOURCE handling observed using the libfabric CXI
provider
- Add NIC information to error messages in ch4:ofi netmod
- Add romio-disable-tests.patch to disable romio tests
as they cannot be ran within %check
-------------------------------------------------------------------
Mon Aug 12 10:30:53 UTC 2024 - Nicolas Morey <nicolas.morey@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file
# spec file for package mpich
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -24,185 +24,25 @@
# % define build_static_devel 1
%define pname mpich
%define vers 4.2.2
%define _vers 4_2_2
%if "%{flavor}" == ""
ExclusiveArch: do_not_build
%{bcond_with hpc}
%endif
%if "%{flavor}" == "standard"
%define build_flavor ucx
%{bcond_with hpc}
%endif
%if "%{flavor}" == "testsuite"
%define build_flavor ucx
%define testsuite 1
%{bcond_with hpc}
%endif
%if "%{flavor}" == "ofi"
%define build_flavor ofi
%{bcond_with hpc}
%endif
%if "%{flavor}" == "ofi-testsuite"
%define build_flavor ofi
%define testsuite 1
%{bcond_with hpc}
%endif
%if "%flavor" == "gnu-hpc"
%define compiler_family gnu
%undefine c_f_ver
%define build_flavor ucx
%define build_static_devel 1
%{bcond_without hpc}
%endif
%if "%flavor" == "gnu-hpc-testsuite"
%define compiler_family gnu
%undefine c_f_ver
%define testsuite 1
%define build_flavor ucx
%{bcond_without hpc}
%endif
%if "%flavor" == "gnu-hpc-ofi"
%define compiler_family gnu
%undefine c_f_ver
%define build_flavor ofi
%define build_static_devel 1
%{bcond_without hpc}
%endif
%if "%flavor" == "gnu-hpc-ofi-testsuite"
%define compiler_family gnu
%undefine c_f_ver
%define testsuite 1
%define build_flavor ofi
%{bcond_without hpc}
%endif
%if "%flavor" == "gnu7-hpc"
%define compiler_family gnu
%define c_f_ver 7
%define build_flavor ucx
%define build_static_devel 1
%{bcond_without hpc}
%endif
%if "%flavor" == "gnu7-hpc-testsuite"
%define compiler_family gnu
%define c_f_ver 7
%define testsuite 1
%define build_flavor ucx
%{bcond_without hpc}
%endif
%if "%flavor" == "gnu7-hpc-ofi"
%define compiler_family gnu
%define c_f_ver 7
%define build_flavor ofi
%define build_static_devel 1
%{bcond_without hpc}
%endif
%if "%flavor" == "gnu7-hpc-ofi-testsuite"
%define compiler_family gnu
%define c_f_ver 7
%define testsuite 1
%define build_flavor ofi
%{bcond_without hpc}
%endif
%if "%flavor" == "gnu8-hpc"
%define compiler_family gnu
%define c_f_ver 8
%define build_flavor ucx
%define build_static_devel 1
%{bcond_without hpc}
%endif
%if "%flavor" == "gnu8-hpc-testsuite"
%define compiler_family gnu
%define c_f_ver 8
%define testsuite 1
%define build_flavor ucx
%{bcond_without hpc}
%endif
%if "%flavor" == "gnu8-hpc-ofi"
%define compiler_family gnu
%define c_f_ver 8
%define build_flavor ofi
%define build_static_devel 1
%{bcond_without hpc}
%endif
%if "%flavor" == "gnu8-hpc-ofi-testsuite"
%define compiler_family gnu
%define c_f_ver 8
%define testsuite 1
%define build_flavor ofi
%{bcond_without hpc}
%endif
%if "%flavor" == "gnu9-hpc"
%define compiler_family gnu
%define c_f_ver 9
%define build_flavor ucx
%define build_static_devel 1
%{bcond_without hpc}
%endif
%if "%flavor" == "gnu9-hpc-testsuite"
%define compiler_family gnu
%define c_f_ver 9
%define testsuite 1
%define build_flavor ucx
%{bcond_without hpc}
%endif
%if "%flavor" == "gnu9-hpc-ofi"
%define compiler_family gnu
%define c_f_ver 9
%define build_flavor ofi
%define build_static_devel 1
%{bcond_without hpc}
%endif
%if "%flavor" == "gnu9-hpc-ofi-testsuite"
%define compiler_family gnu
%define c_f_ver 9
%define testsuite 1
%define build_flavor ofi
%{bcond_without hpc}
%endif
%if "%flavor" == "gnu10-hpc"
%define compiler_family gnu
%define c_f_ver 10
%define build_flavor ucx
%define build_static_devel 1
%{bcond_without hpc}
%endif
%if "%flavor" == "gnu10-hpc-testsuite"
%define compiler_family gnu
%define c_f_ver 10
%define testsuite 1
%define build_flavor ucx
%{bcond_without hpc}
%endif
%if "%flavor" == "gnu10-hpc-ofi"
%define compiler_family gnu
%define c_f_ver 10
%define build_flavor ofi
%define build_static_devel 1
%{bcond_without hpc}
%endif
%if "%flavor" == "gnu10-hpc-ofi-testsuite"
%define compiler_family gnu
%define c_f_ver 10
%define testsuite 1
%define build_flavor ofi
%{bcond_without hpc}
%endif
%if "%{build_flavor}" != "ucx"
@@ -217,7 +57,6 @@ ExclusiveArch: do_not_build
%endif
%endif
%if %{without hpc}
%define module_name mpich%{?pack_suff}
%define p_prefix /usr/%_lib/mpi/gcc/%{module_name}
%define p_bindir %{p_prefix}/bin
@@ -228,37 +67,21 @@ ExclusiveArch: do_not_build
%define p_libexecdir %{p_prefix}/%{_lib}
%define _moduledir /usr/share/modules/gnu-%{module_name}
%define package_name %{pname}%{?pack_suff}
%else
%{hpc_init -M -c %compiler_family %{?c_f_ver:-v %{c_f_ver}} -m mpich %{?pack_suff:-e %{build_flavor}} %{?mpi_f_ver:-V %{mpi_f_ver}}}
%define p_prefix %{hpc_prefix}
%define p_bindir %{hpc_bindir}
%define p_datadir %{hpc_datadir}
%define p_includedir %{hpc_includedir}
%define p_mandir %{hpc_mandir}
%define p_libdir %{hpc_libdir}
%define p_libexecdir %{hpc_libexecdir}
%define package_name %{pname}%{?pack_suff}_%{_vers}-%{compiler_family}%{?c_f_ver}-hpc
%global hpc_mpich_dep_version %(VER=%{?m_f_ver}; echo -n ${VER})
%global hpc_mpich_dir mpich
%global hpc_mpich_pack_version %{hpc_mpich_dep_version}
ExcludeArch: i586 %arm s390
%endif
Name: %{package_name}%{?testsuite:-testsuite}
Version: %{vers}
Version: 4.3.0
Release: 0
Summary: High-performance and widely portable implementation of MPI
License: MIT
Group: Development/Libraries/Parallel
URL: http://www.mpich.org/
Source0: http://www.mpich.org/static/downloads/%{version}/mpich-%{vers}.tar.gz
Source0: http://www.mpich.org/static/downloads/%{version}/mpich-%{version}.tar.gz
Source1: mpivars.sh
Source2: mpivars.csh
Source3: macros.hpc-mpich
Source100: _multibuild
Patch1: autogen-only-deal-with-json-yaksa-if-enabled.patch
Patch2: autoconf-pull-dynamic-and-not-static-libs-from-pkg-config.patch
Patch3: romio-disable-tests.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: fdupes
@@ -291,19 +114,12 @@ ExcludeArch: %ix86 %arm
%endif
Provides: mpi
%if %{without hpc}
BuildRequires: Modules
BuildRequires: gcc-c++
BuildRequires: gcc-fortran
BuildRequires: mpi-selector
Requires: mpi-selector
Requires(preun):mpi-selector
%else
BuildRequires: %{compiler_family}%{?c_f_ver}-compilers-hpc-macros-devel
BuildRequires: lua-lmod
BuildRequires: suse-hpc
%hpc_requires
%endif
Requires(preun): mpi-selector
%if 0%{?testsuite}
BuildRequires: %package_name = %{version}
@@ -326,15 +142,11 @@ The goals of MPICH are:
%if 0%{!?testsuite:1}
%package devel
Summary: SDK for MPICH %{?with_hpc:HPC} version %{version}
Summary: SDK for MPICH version %{version}
Group: Development/Libraries/Parallel
Requires: %{name} = %{version}
%if %{without hpc}
Requires: libstdc++-devel
%else
%hpc_requires_devel
%endif
Requires: %{name} = %{version}
Requires: libstdc++-devel
%description devel
MPICH is a freely available, portable implementation of MPI, the
@@ -344,21 +156,9 @@ headers and libraries needed for developing MPI applications.
This RPM contains all the wrappers necessary to compile, link, and run
Open MPI jobs.
%if %{with hpc}
%package macros-devel
Summary: HPC Macros for MPICH version %{version}
Group: Development/Libraries/Parallel
Requires: %{name}-devel = %{version}
Provides: %{pname}-hpc-macros-devel = %{version}
Conflicts: otherproviders(%{pname}-hpc-macros-devel)
%description macros-devel
HPC Macros for building RPM packages for MPICH version %{version}.
%endif
%if 0%{?build_static_devel}
%package devel-static
Summary: Static libraries for MPICH %{?with_hpc:HPC} version %{version}
Summary: Static libraries for MPICH version %{version}
Group: Development/Libraries/Parallel
Requires: %{name}-devel = %{version}
@@ -371,23 +171,10 @@ This RPM contains the static library files, which are packaged separately from
the dynamic library and headers.
%endif
%if %{with hpc}
%{hpc_master_package -L -a}
%{hpc_master_package -a devel}
%{hpc_master_package macros-devel}
%{hpc_master_package -a devel-static}
%endif # ?with_hpc
%endif # ! testsuite
%prep
echo FLAVOR %{flavor}
%if %{with hpc}
echo with HPC
%endif
%if %{without hpc}
echo without HPC
%endif
%autosetup -p0 -n mpich-%{version}%{?rc_ver}
# Make sure prebuilt dependencies are used and not mpich submodules
@@ -397,17 +184,12 @@ rm -R modules/{ucx,libfabric,json-c}
%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
# GCC10 needs an extra flag to allow badly passed parameters
%if 0%{?suse_version} > 1500 || 0%{?hpc_gnu_dep_version} >= 10
%if 0%{?suse_version} > 1500
export FFLAGS="-fallow-argument-mismatch $FFLAGS"
export FCFLAGS="-fallow-argument-mismatch $FCFLAGS"
%endif
./autogen.sh --without-ucx --without-ofi --without-json
%{?with_hpc:%hpc_debug}
%if %{with hpc}
%{hpc_setup}
%{hpc_configure} \
%else
%configure \
--prefix=%{p_prefix} \
--exec-prefix=%{p_prefix} \
@@ -417,7 +199,6 @@ export FCFLAGS="-fallow-argument-mismatch $FCFLAGS"
--libdir=%{p_libdir} \
--libexecdir=%{p_libexecdir} \
--mandir=%{p_mandir} \
%endif
--docdir=%{_datadir}/doc/%{name} \
--disable-rpath \
--disable-wrapper-rpath \
@@ -477,7 +258,6 @@ make check
%else
%if %{without hpc}
# make and install mpivars files
install -m 0755 -d %{buildroot}%{_bindir}
sed -e 's,prefix,%p_prefix,g' -e 's,libdir,%{p_libdir},g' %{S:1} > %{buildroot}%{p_bindir}/mpivars.sh
@@ -507,47 +287,6 @@ cat << EOF > %{buildroot}%{_moduledir}/.version
set ModulesVersion "%{version}"
EOF
%else # with hpc
install -d -m 755 %{buildroot}%{_rpmmacrodir}
cp %{S:3} %{buildroot}%{_rpmmacrodir}
%hpc_write_modules_files
#%%Module1.0#####################################################################
proc ModulesHelp { } {
puts stderr " "
puts stderr "This module loads the %{pname} library built with the %{compiler_family} toolchain."
puts stderr "\nVersion %{version}\n"
}
module-whatis "Name: %{pname} built with %{compiler_family} toolchain"
module-whatis "Version: %{version}"
module-whatis "Category: runtime library"
module-whatis "Description: %{SUMMARY:0}"
module-whatis "URL: %{url}"
set version %{version}
prepend-path PATH %{hpc_bindir}
prepend-path MANPATH %{hpc_mandir}
prepend-path LD_LIBRARY_PATH %{hpc_libdir}
prepend-path MODULEPATH %{hpc_modulepath}
prepend-path MPI_DIR %{hpc_prefix}
%{hpc_modulefile_add_pkgconfig_path}
family "MPI"
EOF
cat <<EOF > %{buildroot}/%{p_bindir}/mpivars.sh
%hpc_setup_compiler
module load %{hpc_mpi_family}%{?pack_suff}/%{version}
EOF
sed -e "s/export/setenv/" -e "s/=/ /" \
%{buildroot}/%{p_bindir}/mpivars.sh > \
%{buildroot}/%{p_bindir}/mpivars.csh
mkdir -p %{buildroot}%{_sysconfdir}/rpm
%endif # with hpc
find %{buildroot} -type f -name "*.la" -exec rm -f {} ';'
@@ -555,18 +294,15 @@ find %{buildroot} -type f -name "*.la" -exec rm -f {} ';'
%post
/sbin/ldconfig
%if %{without hpc}
# Always register. We might be already registered in the case of an udate
# but mpi-selector handles it fine
/usr/bin/mpi-selector \
--register %{name}%{?pack_suff} \
--source-dir %{p_bindir} \
--yes
%endif
%postun
/sbin/ldconfig
%if %{without hpc}
# Only unregister when uninstalling
if [ "$1" = "0" ]; then
/usr/bin/mpi-selector --unregister %{name}%{?pack_suff} --yes
@@ -575,23 +311,15 @@ if [ "$1" = "0" ]; then
/usr/bin/mpi-selector --system --unset --yes
fi
fi
%else
%hpc_module_delete_if_default
%endif
%files
%defattr(-,root,root)
%doc CHANGES COPYRIGHT README README.envvar RELEASE_NOTES
%if %{without hpc}
%dir /usr/%_lib/mpi
%dir /usr/%_lib/mpi/gcc
%dir /usr/share/modules
%dir %{_moduledir}
%{_moduledir}
%else
%hpc_mpi_dirs
%hpc_modules_files
%endif
%doc %{_datadir}/doc/*
%dir %{p_prefix}
%dir %{p_bindir}
@@ -619,12 +347,6 @@ fi
%{p_libdir}/*.a
%endif
%if %{with hpc}
%files macros-devel
%defattr(-,root,root)
%config %{_rpmmacrodir}/macros.hpc-mpich
%endif # with hpc
%endif # !testsuite
%changelog

24
romio-disable-tests.patch Normal file
View File

@@ -0,0 +1,24 @@
commit 064abd16295dd402a436d9e9e3a1ad887c6fafb6
Author: Nicolas Morey <nmorey@suse.com>
Date: Wed Feb 19 19:45:08 2025 +0100
romio: disable tests
Tests assumes mpich to be fully installed which does not work
for %check
Signed-off-by: Nicolas Morey <nmorey@suse.com>
diff --git src/mpi/romio/Makefile.am src/mpi/romio/Makefile.am
index a6429766fd47..eb9ccd4f2f81 100644
--- src/mpi/romio/Makefile.am
+++ src/mpi/romio/Makefile.am
@@ -56,7 +56,7 @@ nodist_include_HEADERS += include/mpio.h include/mpiof.h
# ------------------------------------------------------------------------
-SUBDIRS = $(external_subdirs) . test
+SUBDIRS = $(external_subdirs) .
DIST_SUBDIRS = test test-internal $(external_dist_subdirs)
# for the sake of parallel make and avoiding an excessive number of convenience