Compare commits

...

45 Commits

Author SHA1 Message Date
db9334ea6c
Properly check valgrind arches
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2023-11-06 13:03:56 +02:00
Yaakov Selkowitz
f73f8383b3 Disable building docs in RHEL builds
python-recommonmark is unwanted in RHEL due to its dependencies.
2023-10-30 22:51:24 -04:00
Orion Poplawski
b82bf993d0 Update to 5.0.0
Drops 32-bit i686 support
Drops c++ bindings
Add doc sub-package
2023-10-28 19:02:51 -06:00
Cristian Le
37cfaa8286 Added CMAKE_PREFIX_PATH to the module file
Signed-off-by: Cristian Le <cristian.le@mpsd.mpg.de>
2023-10-12 09:44:01 +02:00
Benson Muite
60a3010320 Create included and cmake directories for OpenMPI package files 2023-09-30 04:04:50 +00:00
Benson Muite
b2d5f3c280 OpenMPI should own cmake and include install directories
Make sure that packages which install cmake and include files in OpenMPI locations
do not need to own the main directories for OpenMPI.

See https://download.copr.fedorainfracloud.org/results/fed500/gloo/fedora-rawhide-x86_64/06467673-gloo/fedora-review/review.txt
2023-09-29 06:50:57 +00:00
Orion Poplawski
01a28a7803 Rebuild for pmix 4.1.3 (bz#2240042) 2023-09-22 21:01:31 -06:00
Fedora Release Engineering
6b9dcb4d55 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-20 18:07:06 +00:00
Yaakov Selkowitz
0d7cd0891a Disable PSM2 in ELN builds
libpsm2 is listed as unwanted in ELN and RHEL 10+.  Also, clarify the
PSM conditional as disabled in RHEL 8+.
2023-07-10 00:25:36 -04:00
Yaakov Selkowitz
87fa84a1a1 Disable PSM, OrangeFS in RHEL builds
This is based on c9s:

4bc1e69400
5dda5cc9df
2023-06-22 03:51:39 -04:00
Python Maint
e1e224c97f Rebuilt for Python 3.12 2023-06-13 20:23:33 +02:00
Orion Poplawski
64f1b4b591 Update to 4.1.5 2023-02-26 08:06:05 -07:00
Fedora Release Engineering
cb9de3f188 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-19 22:53:03 +00:00
Orion Poplawski
454259f6ea Re-enable IPv6 support - was not the issue 2022-11-11 08:12:09 -07:00
Orion Poplawski
ef93e44212 Disable IPv6 support - appears to break MPI_Init() on koji builders (bz#2141137) 2022-11-10 21:25:01 -07:00
Davide Cavalca
8f566791db Enable IPv6 support 2022-08-19 11:53:46 -04:00
Fedora Release Engineering
63ea11607f Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-22 02:09:38 +00:00
Orion Poplawski
f1dc2cf7aa Drop java for i686 (bz#2104085) 2022-07-09 22:30:09 -06:00
Python Maint
d2fb0dab27 Rebuilt for Python 3.11 2022-06-13 14:51:56 +02:00
Orion Poplawski
43098f897c Update to 4.1.4 2022-05-29 16:54:09 -06:00
Orion Poplawski
d91b5d2dbc Update to 4.1.3 2022-04-16 17:36:19 -06:00
Jiri
ec99e913a1 Rebuilt for java-17-openjdk as system jdk
https://fedoraproject.org/wiki/Changes/Java17
2022-02-05 23:15:56 +01:00
Fedora Release Engineering
3e53b4ed04 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-20 22:25:05 +00:00
Orion Poplawski
c446ed0db6 Update to 4.1.2 2021-11-29 19:49:11 -07:00
Orion Poplawski
63c964d667 Upload source 2021-10-11 17:46:42 -06:00
Orion Poplawski
c387385b45 Update to 4.1.2rc1 2021-10-10 19:10:20 -06:00
Sandro Mani
352773be19 Create cmake dir 2021-09-14 07:37:05 +02:00
Sandro Mani
b8a28d859b Also own %{_libdir}/%{name}/lib/cmake/ 2021-09-03 16:20:46 +02:00
Fedora Release Engineering
17c0ab5595 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-22 17:16:42 +00:00
Orion Poplawski
c9da4b0fca Only need environment-modules for EL7 2021-06-22 08:12:38 -06:00
Python Maint
4366f00459 Rebuilt for Python 3.10 2021-06-04 10:43:08 +02:00
Orion Poplawski
227b60ec52 Update to 4.1.1 2021-04-26 20:25:09 -06:00
Orion Poplawski
c7b3ead5b7 Update to 4.1.1rc2 2021-04-05 07:53:48 -06:00
Orion Poplawski
059848ce5b Update to 4.1.1rc1 2021-02-10 18:46:56 -07:00
Orion Poplawski
8fc779b59b Add upstream patch for generalized requests 2021-01-28 08:28:30 -07:00
Orion Poplawski
8463f8f82f Whitespace 2021-01-27 21:05:01 -07:00
Orion Poplawski
cd2fcb2471 Add upstream patch to fix AVX library linkage 2021-01-27 21:02:13 -07:00
Fedora Release Engineering
b5bdf1245b - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-26 22:32:40 +00:00
Orion Poplawski
9af26a187c Use set_build_flags macro
Drop old opt_ macros
2021-01-24 21:11:55 -07:00
Orion Poplawski
0dc3e87935 Update to 4.1.0 2021-01-24 20:09:52 -07:00
Tom Stellard
fd11609c12 Add BuildRequires: make
https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot
2021-01-07 06:34:50 +00:00
Orion Poplawski
5707e44d8d Rebuild for libevent 2.1.12 2020-09-23 19:43:12 -06:00
Orion Poplawski
118dfb82cc Update to 4.0.5 2020-09-01 22:03:52 -06:00
Fedora Release Engineering
e58606bdc0 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-28 12:45:03 +00:00
Jiri
f3cb3adf54 Rebuilt for JDK-11 2020-07-11 03:44:01 +02:00
5 changed files with 327 additions and 103 deletions

11
.gitignore vendored
View File

@ -52,3 +52,14 @@ openmpi-1.4.1-RH.tar.bz2
/openmpi-4.0.3.tar.bz2 /openmpi-4.0.3.tar.bz2
/openmpi-4.0.4rc1.tar.bz2 /openmpi-4.0.4rc1.tar.bz2
/openmpi-4.0.4.tar.bz2 /openmpi-4.0.4.tar.bz2
/openmpi-4.0.5.tar.bz2
/openmpi-4.1.0.tar.bz2
/openmpi-4.1.1rc1.tar.bz2
/openmpi-4.1.1rc2.tar.bz2
/openmpi-4.1.1.tar.bz2
/openmpi-4.1.2rc1.tar.bz2
/openmpi-4.1.2.tar.bz2
/openmpi-4.1.3.tar.bz2
/openmpi-4.1.4.tar.bz2
/openmpi-4.1.5.tar.bz2
/openmpi-5.0.0.tar.bz2

View File

@ -1,7 +1,7 @@
%_openmpi_load \ %_openmpi_load \
. /etc/profile.d/modules.sh; \ . /etc/profile.d/modules.sh; \
module load mpi/openmpi-%{_arch}; \ module load mpi/openmpi-%{_arch}; \
export OMPI_MCA_rmaps_base_oversubscribe=1 export PRTE_MCA_rmaps_default_mapping_policy=:oversubscribe
%_openmpi_unload \ %_openmpi_unload \
. /etc/profile.d/modules.sh; \ . /etc/profile.d/modules.sh; \
module unload mpi/openmpi-%{_arch}; module unload mpi/openmpi-%{_arch};

View File

@ -6,6 +6,7 @@ conflict mpi
prepend-path PATH @LIBDIR@/bin prepend-path PATH @LIBDIR@/bin
prepend-path LD_LIBRARY_PATH @LIBDIR@/lib prepend-path LD_LIBRARY_PATH @LIBDIR@/lib
prepend-path PKG_CONFIG_PATH @LIBDIR@/lib/pkgconfig prepend-path PKG_CONFIG_PATH @LIBDIR@/lib/pkgconfig
prepend-path CMAKE_PREFIX_PATH @LIBDIR@
prepend-path MANPATH :@MANDIR@ prepend-path MANPATH :@MANDIR@
setenv MPI_BIN @LIBDIR@/bin setenv MPI_BIN @LIBDIR@/bin
setenv MPI_SYSCONFIG @ETCDIR@ setenv MPI_SYSCONFIG @ETCDIR@

View File

@ -1,17 +1,3 @@
%global _hardened_build 1
# We only compile with gcc, but other people may want other compilers.
# Set the compiler here.
%global opt_cc gcc
# Optional CFLAGS to use with the specific compiler...gcc doesn't need any,
# so uncomment and define to use
#global opt_cflags
%global opt_cxx g++
#global opt_cxxflags
%global opt_f77 gfortran
#global opt_fflags
%global opt_fc gfortran
#global opt_fcflags
# Optional name suffix to use...we leave it off when compiling with gcc, but # Optional name suffix to use...we leave it off when compiling with gcc, but
# for other compiled versions to install side by side, it will need a # for other compiled versions to install side by side, it will need a
# suffix in order to keep the names from conflicting. # suffix in order to keep the names from conflicting.
@ -39,15 +25,53 @@
%bcond_without rdma %bcond_without rdma
%endif %endif
# No more Java on i686
%ifarch %{java_arches}
%bcond_without java
%else
%bcond_with java
%endif
%if %{defined rhel}
%bcond_with orangefs
%bcond_with sphinx
%else
%bcond_without orangefs
%bcond_without sphinx
%endif
%ifarch x86_64
%if 0%{?rhel} >= 8
%bcond_with psm
%else
%bcond_without psm
%endif
%if 0%{?rhel} >= 10
%bcond_with psm2
%else
%bcond_without psm2
%endif
%else
%bcond_with psm
%bcond_with psm2
%endif
# Some RCs require unreleased pmix version - at least let us test builds
%bcond_without pmix
# Run autogen - needed for some patches
%bcond_with autogen
Name: openmpi%{?_cc_name_suffix} Name: openmpi%{?_cc_name_suffix}
Version: 4.0.4 Version: 5.0.0
Release: 1%{?dist} Release: 2.0.riscv64%{?dist}
Summary: Open Message Passing Interface Summary: Open Message Passing Interface
License: BSD and MIT and Romio License: BSD and MIT and Romio
URL: http://www.open-mpi.org/ URL: http://www.open-mpi.org/
ExcludeArch: %{ix86}
# We can't use %%{name} here because of _cc_name_suffix # We can't use %%{name} here because of _cc_name_suffix
Source0: https://www.open-mpi.org/software/ompi/v4.0/downloads/openmpi-%{version}.tar.bz2 Source0: https://www.open-mpi.org/software/ompi/v5.0/downloads/openmpi-%{version}.tar.bz2
Source1: openmpi.module.in Source1: openmpi.module.in
Source2: openmpi.pth.py2 Source2: openmpi.pth.py2
Source3: openmpi.pth.py3 Source3: openmpi.pth.py3
@ -55,7 +79,15 @@ Source4: macros.openmpi
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: gcc-gfortran BuildRequires: gcc-gfortran
BuildRequires: make
%if %{with autogen}
BuildRequires: libtool
BuildRequires: perl(Data::Dumper)
BuildRequires: perl(File::Find)
%endif
%ifarch %{valgrind_arches}
BuildRequires: valgrind-devel BuildRequires: valgrind-devel
%endif
%if %{with rdma} %if %{with rdma}
BuildRequires: opensm-devel > 3.3.0 BuildRequires: opensm-devel > 3.3.0
BuildRequires: rdma-core-devel BuildRequires: rdma-core-devel
@ -67,23 +99,37 @@ BuildRequires: rdma-core-devel
BuildRequires: hwloc-devel BuildRequires: hwloc-devel
# So configure can find lstopo # So configure can find lstopo
BuildRequires: hwloc-gui BuildRequires: hwloc-gui
%if %{with java}
BuildRequires: java-devel BuildRequires: java-devel
%else
Obsoletes: %{name}-java < %{version}-%{release}
Obsoletes: %{name}-java-devel < %{version}-%{release}
%endif
# Old libevent causes issues # Old libevent causes issues
%if !0%{?el7} %if !0%{?el7}
BuildRequires: libevent-devel BuildRequires: libevent-devel
%endif %endif
BuildRequires: libfabric-devel BuildRequires: libfabric-devel
%ifnarch s390 s390x %ifnarch s390x
BuildRequires: papi-devel BuildRequires: papi-devel
%endif %endif
%if %{with orangefs}
BuildRequires: orangefs-devel BuildRequires: orangefs-devel
%endif
BuildRequires: perl-generators BuildRequires: perl-generators
BuildRequires: perl-interpreter BuildRequires: perl-interpreter
BuildRequires: perl(Getopt::Long) BuildRequires: perl(Getopt::Long)
BuildRequires: pmix-devel %if %{with pmix}
BuildRequires: pmix-devel >= 4.2.7
%endif
# For configure to find /usr/bin/prte
BuildRequires: prrte
BuildRequires: prrte-devel
BuildRequires: python%{python3_pkgversion}-devel BuildRequires: python%{python3_pkgversion}-devel
%ifarch x86_64 %if %{with psm}
BuildRequires: infinipath-psm-devel BuildRequires: infinipath-psm-devel
%endif
%if %{with psm2}
BuildRequires: libpsm2-devel BuildRequires: libpsm2-devel
%endif %endif
%if %{with ucx} %if %{with ucx}
@ -93,13 +139,20 @@ BuildRequires: zlib-devel
%if !0%{?el7} %if !0%{?el7}
BuildRequires: rpm-mpi-hooks BuildRequires: rpm-mpi-hooks
%endif %endif
%if %{with sphinx}
# For docs
BuildRequires: /usr/bin/sphinx-build
BuildRequires: python3-recommonmark
BuildRequires: python3-sphinx_rtd_theme
%endif
Provides: mpi Provides: mpi
%if 0%{?rhel} %if 0%{?rhel} == 7
# Need this for /etc/profile.d/modules.sh # Need this for /etc/profile.d/modules.sh
Requires: environment-modules Requires: environment-modules
%endif %endif
Requires: environment(modules) Requires: environment(modules)
Requires: prrte
# openmpi currently requires ssh to run # openmpi currently requires ssh to run
# https://svn.open-mpi.org/trac/ompi/ticket/4228 # https://svn.open-mpi.org/trac/ompi/ticket/4228
Requires: openssh-clients Requires: openssh-clients
@ -132,6 +185,14 @@ Requires: (python(abi) = %{python3_version} if python3)
%description devel %description devel
Contains development headers and libraries for openmpi. Contains development headers and libraries for openmpi.
%package doc
Summary: HTML documentation for openmpi
BuildArch: noarch
%description doc
HTML documentation for openmpi.
%if %{with java}
%package java %package java
Summary: Java library Summary: Java library
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
@ -147,6 +208,7 @@ Requires: java-devel
%description java-devel %description java-devel
Contains development wrapper for compiling Java with openmpi. Contains development wrapper for compiling Java with openmpi.
%endif
# We set this to for convenience, since this is the unique dir we use for this # We set this to for convenience, since this is the unique dir we use for this
# particular package, version, compiler # particular package, version, compiler
@ -173,32 +235,41 @@ OpenMPI support for Python 3.
%prep %prep
%autosetup -p1 %autosetup -p1 -n %{name}-%{version}
%if %{with autogen}
./autogen.pl --force
%endif
%build %build
%set_build_flags
./configure --prefix=%{_libdir}/%{name} \ ./configure --prefix=%{_libdir}/%{name} \
--mandir=%{_mandir}/%{namearch} \ --mandir=%{_mandir}/%{namearch} \
--includedir=%{_includedir}/%{namearch} \ --includedir=%{_includedir}/%{namearch} \
--sysconfdir=%{_sysconfdir}/%{namearch} \ --sysconfdir=%{_sysconfdir}/%{namearch} \
--disable-silent-rules \ --disable-silent-rules \
--enable-builtin-atomics \ --enable-builtin-atomics \
--enable-mpi-cxx \ --enable-ipv6 \
%if %{with java}
--enable-mpi-java \ --enable-mpi-java \
%endif
--enable-mpi1-compatibility \ --enable-mpi1-compatibility \
%if %{with sphinx}
--enable-sphinx \
%endif
--with-prrte=external \
--with-sge \ --with-sge \
%ifarch %{valgrind_arches}
--with-valgrind \ --with-valgrind \
--enable-memchecker \ --enable-memchecker \
%endif
--with-hwloc=/usr \ --with-hwloc=/usr \
%if !0%{?el7} %if !0%{?el7}
--with-libevent=external \ --with-libevent=external \
%if %{with pmix}
--with-pmix=external \ --with-pmix=external \
%endif %endif
CC=%{opt_cc} CXX=%{opt_cxx} \ %endif
LDFLAGS='%{__global_ldflags}' \
CFLAGS="%{?opt_cflags} %{!?opt_cflags:$RPM_OPT_FLAGS}" \
CXXFLAGS="%{?opt_cxxflags} %{!?opt_cxxflags:$RPM_OPT_FLAGS}" \
FC=%{opt_fc} FCFLAGS="%{?opt_fcflags} %{!?opt_fcflags:$RPM_OPT_FLAGS}"
# --with-contrib-vt-flags='CXXFLAGS="-I%{_includedir}/dyninst -L%{_libdir}/dyninst"' \
%make_build V=1 %make_build V=1
@ -206,10 +277,6 @@ OpenMPI support for Python 3.
%make_install %make_install
find %{buildroot}%{_libdir}/%{name}/lib -name \*.la | xargs rm find %{buildroot}%{_libdir}/%{name}/lib -name \*.la | xargs rm
find %{buildroot}%{_mandir}/%{namearch} -type f | xargs gzip -9 find %{buildroot}%{_mandir}/%{namearch} -type f | xargs gzip -9
ln -s mpicc.1.gz %{buildroot}%{_mandir}/%{namearch}/man1/mpiCC.1.gz
# Remove dangling symlink
rm %{buildroot}%{_mandir}/%{namearch}/man1/mpiCC.1
mkdir %{buildroot}%{_mandir}/%{namearch}/man{2,4,5,6,8,9,n}
# Make the environment-modules file # Make the environment-modules file
mkdir -p %{buildroot}%{_datadir}/modulefiles/mpi mkdir -p %{buildroot}%{_datadir}/modulefiles/mpi
@ -247,6 +314,13 @@ cd %{buildroot}%{_libdir}/pkgconfig
ln -s ../%{name}/lib/pkgconfig/*.pc . ln -s ../%{name}/lib/pkgconfig/*.pc .
cd - cd -
# Create cmake dir
mkdir -p %{buildroot}%{_libdir}/%{name}/lib/cmake/
# Create directories for OpenMPI packages with development files
mkdir -p %{buildroot}%{_libdir}/%{name}/lib/openmpi/cmake
mkdir -p %{buildroot}%{_libdir}/%{name}/include
# Remove extraneous wrapper link libraries (bug 814798) # Remove extraneous wrapper link libraries (bug 814798)
sed -i -e s/-ldl// -e s/-lhwloc// \ sed -i -e s/-ldl// -e s/-lhwloc// \
%{buildroot}%{_libdir}/%{name}/share/openmpi/*-wrapper-data.txt %{buildroot}%{_libdir}/%{name}/share/openmpi/*-wrapper-data.txt
@ -260,7 +334,12 @@ mkdir -p %{buildroot}/%{python3_sitearch}/%{name}
install -pDm0644 %{SOURCE3} %{buildroot}/%{python3_sitearch}/openmpi.pth install -pDm0644 %{SOURCE3} %{buildroot}/%{python3_sitearch}/openmpi.pth
%check %check
make check fail=1
# Failing on s390x - https://github.com/open-mpi/ompi/issues/10988
%ifarch s390x
fail=0
%endif
make check || ( cat test/*/test-suite.log && exit $fail )
%files %files
%license LICENSE %license LICENSE
@ -269,57 +348,61 @@ make check
%dir %{_libdir}/%{name}/bin %dir %{_libdir}/%{name}/bin
%dir %{_libdir}/%{name}/lib %dir %{_libdir}/%{name}/lib
%dir %{_libdir}/%{name}/lib/openmpi %dir %{_libdir}/%{name}/lib/openmpi
%dir %{_libdir}/%{name}/lib/openmpi/cmake
%dir %{_libdir}/%{name}/include
%dir %{_mandir}/%{namearch} %dir %{_mandir}/%{namearch}
%dir %{_mandir}/%{namearch}/man* %dir %{_mandir}/%{namearch}/man*
%config(noreplace) %{_sysconfdir}/%{namearch}/* %config(noreplace) %{_sysconfdir}/%{namearch}/*
%{_libdir}/%{name}/bin/mpi[er]* %{_libdir}/%{name}/bin/mpi[er]*
%{_libdir}/%{name}/bin/ompi* %{_libdir}/%{name}/bin/ompi*
%{_libdir}/%{name}/bin/orte[-dr_]*
%if %{with ucx} %if %{with ucx}
%{_libdir}/%{name}/bin/oshmem_info %{_libdir}/%{name}/bin/oshmem_info
%{_libdir}/%{name}/bin/oshrun
%{_libdir}/%{name}/bin/shmemrun
%endif %endif
%{_libdir}/%{name}/bin/oshrun
%if %{without pmix}
%{_libdir}/%{name}/bin/pattrs
%{_libdir}/%{name}/bin/pctrl
%{_libdir}/%{name}/bin/pevent
%{_libdir}/%{name}/bin/plookup
%{_libdir}/%{name}/bin/pmix_info
%{_libdir}/%{name}/bin/pmixcc
%{_libdir}/%{name}/bin/pps
%{_libdir}/%{name}/bin/pquery
%{_libdir}/%{name}/lib/libpmix.so.2*
%{_libdir}/%{name}/lib/pmix/
%{_libdir}/%{name}/share/pmix/
%{_mandir}/%{namearch}/man1/pmix_info.1*
%{_mandir}/%{namearch}/man5/openpmix.5*
%endif
%{_mandir}/%{namearch}/man7/Open-MPI.7*
%{_libdir}/%{name}/lib/*.so.40* %{_libdir}/%{name}/lib/*.so.40*
%{_libdir}/%{name}/lib/libmca*.so.41* %{_libdir}/%{name}/lib/*.so.80*
%{_libdir}/%{name}/lib/libmca*.so.50*
%if 0%{?el7} %if 0%{?el7}
%{_libdir}/%{name}/lib/pmix/ %{_libdir}/%{name}/lib/pmix/
%endif %endif
%{_mandir}/%{namearch}/man1/mpi[er]* %{_mandir}/%{namearch}/man1/mpirun.1*
%{_mandir}/%{namearch}/man1/mpisync.1*
%{_mandir}/%{namearch}/man1/ompi* %{_mandir}/%{namearch}/man1/ompi*
%{_mandir}/%{namearch}/man1/orte[-dr_]*
%if %{with ucx} %if %{with ucx}
%{_mandir}/%{namearch}/man1/oshmem_info* %{_mandir}/%{namearch}/man1/oshmem_info*
%{_mandir}/%{namearch}/man1/oshrun*
%{_mandir}/%{namearch}/man1/shmemrun*
%endif %endif
%{_mandir}/%{namearch}/man7/ompi_*
%{_mandir}/%{namearch}/man7/opal_*
%{_mandir}/%{namearch}/man7/orte*
%{_libdir}/%{name}/lib/openmpi/* %{_libdir}/%{name}/lib/openmpi/*
%{_datadir}/modulefiles/mpi/ %{_datadir}/modulefiles/mpi/
%dir %{_libdir}/%{name}/share %dir %{_libdir}/%{name}/share
%dir %{_libdir}/%{name}/share/openmpi %dir %{_libdir}/%{name}/share/openmpi
%{_libdir}/%{name}/share/openmpi/amca-param-sets %{_libdir}/%{name}/share/openmpi/amca-param-sets
%{_libdir}/%{name}/share/openmpi/help*.txt %{_libdir}/%{name}/share/openmpi/help*.txt
%if %{with rdma}
%{_libdir}/%{name}/share/openmpi/mca-btl-openib-device-params.ini
%endif
%if 0%{?el7} %if 0%{?el7}
%{_libdir}/%{name}/share/pmix/ %{_libdir}/%{name}/share/pmix/
%endif %endif
%files devel %files devel
%dir %{_includedir}/%{namearch} %dir %{_includedir}/%{namearch}
%{_libdir}/%{name}/bin/aggregate_profile.pl
%{_libdir}/%{name}/bin/mpi[cCf]* %{_libdir}/%{name}/bin/mpi[cCf]*
%{_libdir}/%{name}/bin/opal_* %{_libdir}/%{name}/bin/opal_*
%{_libdir}/%{name}/bin/orte[cCf]*
%if %{with ucx} %if %{with ucx}
%{_libdir}/%{name}/bin/osh[cCf]* %{_libdir}/%{name}/bin/osh[cCf]*
%endif %endif
%{_libdir}/%{name}/bin/profile2mat.pl
%if %{with ucx} %if %{with ucx}
%{_libdir}/%{name}/bin/shmem[cCf]* %{_libdir}/%{name}/bin/shmem[cCf]*
%endif %endif
@ -327,11 +410,13 @@ make check
%{_fmoddir}/%{name}/ %{_fmoddir}/%{name}/
%{_libdir}/%{name}/lib/*.so %{_libdir}/%{name}/lib/*.so
%{_libdir}/%{name}/lib/*.mod %{_libdir}/%{name}/lib/*.mod
%{_libdir}/%{name}/lib/cmake/
%{_libdir}/%{name}/lib/pkgconfig/ %{_libdir}/%{name}/lib/pkgconfig/
%{_libdir}/pkgconfig/*.pc %{_libdir}/pkgconfig/*.pc
%{_mandir}/%{namearch}/man1/mpi[cCf]* %{_mandir}/%{namearch}/man1/mpi[cCf]*
%if %{with ucx} %if %{with ucx}
%{_mandir}/%{namearch}/man1/osh[cCf]* %{_mandir}/%{namearch}/man1/osh[cCf]*
%{_mandir}/%{namearch}/man1/oshmem-wrapper-compiler.1*
%{_mandir}/%{namearch}/man1/shmem[cCf]* %{_mandir}/%{namearch}/man1/shmem[cCf]*
%endif %endif
%{_mandir}/%{namearch}/man1/opal_* %{_mandir}/%{namearch}/man1/opal_*
@ -340,15 +425,21 @@ make check
%{_libdir}/%{name}/share/openmpi/*-wrapper-data.txt %{_libdir}/%{name}/share/openmpi/*-wrapper-data.txt
%{macrosdir}/macros.%{namearch} %{macrosdir}/macros.%{namearch}
%files doc
%license LICENSE
%doc %{_libdir}/%{name}/share/doc/
%exclude %{_libdir}/%{name}/share/doc/openmpi/javadoc-openmpi
%if %{with java}
%files java %files java
%{_libdir}/%{name}/lib/mpi.jar %{_libdir}/%{name}/lib/mpi.jar
%files java-devel %files java-devel
%{_libdir}/%{name}/bin/mpijavac %{_libdir}/%{name}/bin/mpijavac
%{_libdir}/%{name}/bin/mpijavac.pl %{_libdir}/%{name}/bin/mpijavac.pl
# Currently this only contaings openmpi/javadoc %doc %{_libdir}/%{name}/share/doc/openmpi/javadoc-openmpi
%{_libdir}/%{name}/share/doc/
%{_mandir}/%{namearch}/man1/mpijavac.1.gz %{_mandir}/%{namearch}/man1/mpijavac.1.gz
%endif
%if %{with python2} %if %{with python2}
%files -n python2-openmpi %files -n python2-openmpi
@ -362,6 +453,127 @@ make check
%changelog %changelog
* Mon Nov 06 2023 David Abdurachmanov <davidlt@rivosinc.com> - 5.0.0-2.0.riscv64
- Add support for riscv64
* Tue Oct 31 2023 Yaakov Selkowitz <yselkowi@redhat.com> - 5.0.0-2
- Disable building docs in RHEL builds
* Fri Oct 27 2023 Orion Poplawski <orion@nwra.com> - 5.0.0-1
- Update to 5.0.0
- Drops 32-bit i686 support
- Drops C++ bindings
- Add doc sub-package
* Thu Oct 12 2023 Cristian Le <fedora@lecris.me> - 4.1.5-8
- Added CMAKE_PREFIX_PATH to module file
* Sat Sep 30 2023 Benson Muite <benson_muite@emailplus.org> - 4.1.5-7
- Add include and cmake directories for development files for OpenMPI packages
* Fri Sep 22 2023 Orion Poplawski <orion@nwra.com> - 4.1.5-6
- Rebuild for pmix 4.1.3 (bz#2240042)
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.5-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Mon Jul 10 2023 Yaakov Selkowitz <yselkowi@redhat.com> - 4.1.5-4
- Disable PSM2 in RHEL 10 builds
* Thu Jun 22 2023 Yaakov Selkowitz <yselkowi@redhat.com> - 4.1.5-3
- Disable PSM, OrangeFS in RHEL builds
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 4.1.5-2
- Rebuilt for Python 3.12
* Sun Feb 26 2023 Orion Poplawski <orion@nwra.com> - 4.1.5-1
- Update to 4.1.5
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.4-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Fri Nov 11 2022 Orion Poplawski <orion@nwra.com> - 4.1.4-7
- Re-enable IPv6 support - was not the issue
* Fri Nov 11 2022 Orion Poplawski <orion@nwra.com> - 4.1.4-6
- Disable IPv6 support - appears to break MPI_Init() on koji builders (bz#2141137)
* Fri Aug 19 2022 Davide Cavalca <dcavalca@fedoraproject.org> - 4.1.4-5
- Enable IPv6 support (bz#2119845)
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.4-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Sun Jul 10 2022 Orion Poplawski <orion@nwra.com> - 4.1.4-3
- Drop java for i686 (bz#2104085)
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 4.1.4-2
- Rebuilt for Python 3.11
* Sun May 29 2022 Orion Poplawski <orion@nwra.com> - 4.1.4-1
- Update to 4.1.4
* Sat Apr 16 2022 Orion Poplawski <orion@nwra.com> - 4.1.3-1
- Update to 4.1.3
* Sat Feb 05 2022 Jiri Vanek <jvanek@redhat.com> - 4.1.2-3
- Rebuilt for java-17-openjdk as system jdk
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Mon Nov 29 2021 Orion Poplawski <orion@nwra.com> - 4.1.2-1
- Update to 4.1.2
* Sun Oct 10 2021 Orion Poplawski <orion@nwra.com> - 4.1.2-0.1.rc1
- Update to 4.1.2rc1
* Fri Sep 03 2021 Sandro Mani <manisandro@gmail.com> - 4.1.1-4
- Also own %%{_libdir}/%%{name}/lib/cmake/
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 4.1.1-2
- Rebuilt for Python 3.10
* Tue Apr 27 2021 Orion Poplawski <orion@nwra.com> - 4.1.1-1
- Update to 4.1.1
* Mon Apr 05 2021 Orion Poplawski <orion@nwra.com> - 4.1.1-0.2.rc2
- Update to 4.1.1rc2
* Thu Feb 11 2021 Orion Poplawski <orion@nwra.com> - 4.1.1-0.1.rc1
- Update to 4.1.1rc1
* Thu Jan 28 2021 Orion Poplawski <orion@nwra.com> - 4.1.0-5
- Add upstream patch for generalized requests
* Thu Jan 28 2021 Orion Poplawski <orion@nwra.com> - 4.1.0-4
- Add upstream patch to fix AVX library linkage
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Sun Jan 24 2021 Orion Poplawski <orion@nwra.com> - 4.1.0-2
- Use set_build_flags macro
- Drop old opt_ macros
* Sun Jan 24 2021 Orion Poplawski <orion@nwra.com> - 4.1.0-1
- Update to 4.1.0
* Wed Sep 23 2020 Orion Poplawski <orion@nwra.com> - 4.0.5-2
- Rebuild for libevent 2.1.12
* Wed Sep 02 2020 Orion Poplawski <orion@nwra.com> - 4.0.5-1
- Update to 4.0.5
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.4-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Sat Jul 11 2020 Jiri Vanek <jvanek@redhat.com> - 4.0.4-2
- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11
* Wed Jun 17 2020 Orion Poplawski <orion@nwra.com> - 4.0.4-1 * Wed Jun 17 2020 Orion Poplawski <orion@nwra.com> - 4.0.4-1
- Update to 4.0.4 - Update to 4.0.4

View File

@ -1 +1 @@
SHA512 (openmpi-4.0.4.tar.bz2) = 6c193b4b5cbfd9d48fa5efcef01372c424b51ae5e9727ccf4235e3b14556dfeb010865e41a9473419ccda16559139aa469086b1fff9abfd337e87387fdec1c64 SHA512 (openmpi-5.0.0.tar.bz2) = 29fa7d8d91c19d5ced867d4194da53c78dee775ad3d6ea6063a0609e2829799b06dc4603d165ab7cab045f645a0962d30774c8c05020b28da548c6cad55e82e6