Compare commits

...

99 Commits
f24 ... master

Author SHA1 Message Date
Orion Poplawski 46ecc9933c Merge branch '4.0' 2020-06-19 21:10:17 -06:00
Orion Poplawski 1c84837765 Drop python 2 for RHEL8+ as well; Drop old java conditional 2020-06-19 21:09:57 -06:00
Orion Poplawski 360a86dd58 Update to 4.0.4 2020-06-17 21:36:26 -06:00
Miro Hrončok 44fa6db1d2 Rebuilt for Python 3.9 2020-06-17 21:36:26 -06:00
Orion Poplawski cb293a9875 Set OMPI_MCA_rmaps_base_oversubscribe=1 in %_openmpi_load (bz#1839571) 2020-06-17 21:36:26 -06:00
Orion Poplawski a41a5d6e47 Upload source 2020-06-17 21:36:26 -06:00
Orion Poplawski 19e8b79eed Update to 4.0.4 rc1 2020-06-17 21:36:26 -06:00
Orion Poplawski 24b77d86b7 Update to 4.0.3 (use x to avoid epoch) 2020-06-17 21:36:26 -06:00
Orion Poplawski 7f4692ed9d Update to 4.0.3rc4 2020-06-17 21:36:26 -06:00
Orion Poplawski 4b9e9d107c Update to 4.0.3rc3 2020-06-17 21:36:26 -06:00
Fedora Release Engineering 5e7920089c - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-06-17 21:36:26 -06:00
Orion Poplawski e3c63280a0 Update to 4.0.4 2020-06-17 21:35:45 -06:00
Miro Hrončok b9229d65b0 Rebuilt for Python 3.9 2020-05-25 11:46:40 +02:00
Orion Poplawski 1e6639b309 Set OMPI_MCA_rmaps_base_oversubscribe=1 in %_openmpi_load (bz#1839571) 2020-05-24 16:08:44 -06:00
Orion Poplawski c4bde7f6b1 Upload source 2020-05-10 21:19:39 -06:00
Orion Poplawski e98280d601 Update to 4.0.4 rc1 2020-05-10 21:09:47 -06:00
Orion Poplawski e9dfb688c8 Update to 4.0.3 (use x to avoid epoch) 2020-03-05 19:55:01 -07:00
Orion Poplawski b201da4724 Update to 4.0.3rc4 2020-03-01 16:19:52 -07:00
Orion Poplawski d7eaa77411 Rebuild 2020-02-15 15:47:32 -07:00
Orion Poplawski be5edebef6 Update to 4.0.3rc3 2020-02-01 20:41:53 -07:00
Fedora Release Engineering f88321bc97 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-29 20:20:13 +00:00
Dominik 'Rathann' Mierzejewski e6fc7e4057 disable rdma on ARM 32-bit (bz#1780584) 2019-12-11 13:08:21 +01:00
Dominik 'Rathann' Mierzejewski 21ec655123 Revert "Add upstream fix for error in calculating aggregators in 32bit mode"
This reverts commit f25cd0ee4e.

<orionp> hmm, that's a mistake.  I meant to just push the arm exclusion...
2019-12-10 21:55:11 +01:00
Orion Poplawski f25cd0ee4e Add upstream fix for error in calculating aggregators in 32bit mode 2019-12-09 19:44:37 -07:00
Orion Poplawski 9ccbdc95ce Add upstream fix for error in calculating aggregators in 32bit mode 2019-11-24 16:35:22 -07:00
Orion Poplawski 03674c8f8f Drop python2 for Fedora 32+ (bz#1773125) 2019-11-15 17:11:04 -07:00
Philip Kovacs 554b26025b Update to 4.0.2 2019-10-07 19:15:02 -04:00
Orion Poplawski cc73771497 Update to 4.0.2rc2
Re-enable C++ bindings on power64
2019-09-14 18:45:22 -06:00
Philip Kovacs 73fc922a86 Rebuild for annobin update to correct aarch64 build (bug #1748529) 2019-09-06 17:24:21 -04:00
Philip Kovacs fe46b6f900 update comments
Signed-off-by: Philip Kovacs <pkdevel@yahoo.com>
2019-08-31 16:02:55 -04:00
Philip Kovacs 04d8899582 Apply upstream PR 6946 to avoid linking private glibc symbol __mmap
Add build deps to run upstream autogen.pl
Remove embedded tabs in the spec
2019-08-30 16:40:36 -04:00
Philip Kovacs 7231dd36d0 Temp hack for F32 aarch64 until they fix gcc PIC flags 2019-08-29 23:12:32 -04:00
Philip Kovacs 9d271f4752 Update to 4.0.2rc1
Closes bug #1746564
2019-08-29 17:10:13 -04:00
Zbigniew Jędrzejewski-Szmek 1d457c8c91 Fix MANPATH so normal modules can still be loaded 2019-08-29 10:11:35 +02:00
Zbigniew Jędrzejewski-Szmek 2ba690820b Rebuilt for hwloc-2.0 2019-08-25 12:51:14 +02:00
Zbigniew Jędrzejewski-Szmek 184e65743f Fix warning about macro expanded in comment 2019-08-25 12:50:48 +02:00
Miro Hrončok 7d5556a503 Rebuilt for Python 3.8 2019-08-19 00:13:00 +02:00
Philip Kovacs b5ec0b294f Remove torque support (torque retired: bug #1676147) 2019-08-09 01:40:59 -04:00
Fedora Release Engineering 86f4b25695 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-25 23:30:19 +00:00
Orion Poplawski ef35fd3f1b Re-enable UCX support, issue hopefully fixed in 1.5.2 2019-06-20 22:32:52 -06:00
Orion Poplawski d5202bd7e9 Rebuild for libfabric 1.8 2019-06-20 22:27:49 -06:00
Orion Poplawski f7e1092b14 Create with ucx conditional 2019-05-28 19:18:07 -06:00
Orion Poplawski fd6b4d8679 Drop UCX support for now 2019-05-27 07:46:18 -06:00
Orion Poplawski 7ef7dc2bf9 Add upstream patch OSC/UCX: use correct rkey for atomic_fadd in rget/rput 2019-05-15 22:21:03 -06:00
Orion Poplawski d91ddbc657 Add upstream patch to fix issue with UCX usage in BTL/UCT 2019-05-15 20:29:09 -06:00
Orion Poplawski 0983e4dd55 Add a guard for python3 version (#1705296)
Add requires on python(abi) to python packages
2019-05-07 20:22:54 -06:00
Orion Poplawski d3998d784c Drop old --enable-mpi-thread-multiple option 2019-05-07 19:59:53 -06:00
Orion Poplawski 2a99253c2c Merge branch '4.0'
Update to 4.0.1

Conflicts:
	.gitignore
	openmpi.spec
	sources
2019-04-28 14:01:07 -06:00
Orion Poplawski f8f2601f53 Update to 3.1.4 2019-04-28 13:49:34 -06:00
Björn Esser 1ef9acf22a
rebuilt(opensm) 2019-04-22 10:41:05 +02:00
Christoph Junghans 77fdc37e59 Rebuild to fix ibosmcomp linkage 2019-04-17 09:53:15 -06:00
Orion Poplawski b27bff5713 Upload sources 2019-03-31 10:27:56 -06:00
Orion Poplawski d1b7aac1de Update to 4.0.1 2019-03-30 20:28:43 -06:00
Orion Poplawski 1ba31991a3 Update to 4.0.1 2019-03-30 19:35:27 -06:00
Orion Poplawski 75e8b871eb Merge branch 'master' into 4.0
- Enable PVFS2/OrangeFS MPI-IO support (bug #1655010)
- Enable mpi1 compatibility

Conflicts:
	openmpi.spec
2019-03-10 10:32:33 -06:00
Orion Poplawski b76d14c187 Enable valgrind on s390x
Cleanup arch conditionals
2019-03-02 08:32:45 -07:00
Orion Poplawski b622ac67a6 Enable PVFS2/OrangeFS MPI-IO support (bug #1655010) 2019-02-20 19:32:56 -07:00
Orion Poplawski a1fb0a6ce8 mca-btl-openib-device-params.ini is now installed on arm32 2019-02-19 21:21:04 -07:00
Orion Poplawski 00d72c5615 Merge branch '3.1'
Conflicts:
	.gitignore
	openmpi.spec
	sources
2019-02-13 18:48:04 -07:00
Orion Poplawski d1561a074c mca-btl-openib-device-params.ini is now installed on arm32 2019-02-04 21:41:00 -07:00
Orion Poplawski 55b78e6afb Fix date 2019-02-02 22:03:24 -07:00
Orion Poplawski 748bae19d0 Update to 2.1.6 2019-02-02 22:02:25 -07:00
Orion Poplawski 393d6abd66 EL7 fixes 2019-02-02 21:59:58 -07:00
Fedora Release Engineering ee7055374b - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-01 17:26:37 +00:00
Igor Gnatenko a3a3aece56 Remove obsolete Group tag
References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag
2019-01-28 20:24:23 +01:00
Orion Poplawski f679d3e0af Update to 4.0.0 2018-12-15 18:02:17 -07:00
Orion Poplawski 8cf4509374 Update to 3.1.3
Drop ppc64le patch fixed upstream
Use external libevent and pmix
Fix EPEL7 builds
2018-12-15 17:55:51 -07:00
Orion Poplawski ab60e5c454 Update to 2.1.6rc1 2018-11-28 21:52:28 -07:00
Orion Poplawski 5161d2a089 Update to 2.1.5 2018-10-11 13:18:06 -06:00
Orion Poplawski 0566b67280 Add BR gcc-c++ (fix FTBFS bug #1605323) 2018-07-22 18:19:56 -06:00
Fedora Release Engineering e54a797f13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-13 15:08:08 +00:00
Miro Hrončok 7ebf50e66f Rebuilt for Python 3.7 2018-06-19 10:48:58 +02:00
Troy Dawson 3f7c9a8456 Build with rdma-core-devel instead of libibcm-devel 2018-05-10 13:23:19 -07:00
Florian Weimer ddb9958dde Rebuild with new flags from redhat-rpm-config 2018-04-30 09:55:10 +02:00
Igor Gnatenko acd7a3d3a9
Escape macros in %changelog
Reference: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/Y2ZUKK2B7T2IKXPMODNF6HB2O5T5TS6H/
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-09 09:05:20 +01:00
Orion Poplawski 1c36594586 Revert "Update to 2.1.2"
This reverts commit 9392d19876.
2018-02-06 21:37:43 -07:00
Orion Poplawski 9392d19876 Update to 2.1.2 2018-02-06 21:04:53 -07:00
Orion Poplawski 22f5f4a08d Rebuild for rdma-core 16.2 2018-02-05 14:46:56 -07:00
Christoph Junghans 1f16c37c12 s390x has openib support now 2018-01-31 10:20:18 -07:00
Christoph Junghans 13e1d13cc1 Rebuild for gfortran-8 2018-01-31 09:13:43 -07:00
Iryna Shcherbina 3074314409 Update Python 2 dependency declarations to new packaging standards 2018-01-12 13:27:19 +01:00
Adam Williamson baa77025b2 Disable hanging opal_fifo test on ppc64le (gh #2526 / #2966) 2017-08-24 09:36:53 -07:00
Adam Williamson 85926666be Disable RDMA support on 32-bit ARM (#1484155) 2017-08-23 15:44:56 -07:00
Fedora Release Engineering a3039dd3ca - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-03 04:33:24 +00:00
Fedora Release Engineering a3e4317ebb - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-27 01:49:31 +00:00
Orion Poplawski 9b8b93ea63 Provide pkgconfig files in the main namespace as well (1471512) 2017-07-19 19:09:15 -06:00
Orion Poplawski f30d5f9e9d Update to 2.1.1 2017-05-12 12:02:39 -06:00
Orion Poplawski e39995e71e Update to 2.1.0 2017-05-04 09:45:08 -06:00
Fedora Release Engineering d7b12e3f71 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-11 00:53:56 +00:00
Orion Poplawski 378a6c5c8b Update to 2.0.2 2017-02-02 10:36:11 -07:00
Björn Esser e9eb831438 Rebuilt for GCC-7 2017-01-28 20:55:47 +01:00
Miro Hrončok dc150636ab Rebuild for Python 3.6 2016-12-19 18:20:36 +01:00
Orion Poplawski ca60695cab Bump release 2016-11-02 11:45:52 -06:00
Orion Poplawski 7581124c88 Split python support into sub-packages (bug #1391157) 2016-11-02 11:32:02 -06:00
Dan Horák 9f7f021287 - Temporarily disable C++ bindings on ppc64/ppc64le (#1388561) 2016-10-27 09:15:40 +02:00
Orion Poplawski 8b7cef6329 Fix License tag format
- Use /usr/share/modulefiles for modulefile install location
2016-10-25 09:52:46 -06:00
Orion Poplawski 33b591bf29 Add .rpmlint 2016-10-25 09:52:32 -06:00
Orion Poplawski e7ca39cc11 Add upstream patch for thread wait issue with mpi4py 2016-10-24 13:23:19 -06:00
Orion Poplawski 34fb179080 Update to 2.0.1 2016-10-20 16:59:40 -06:00
6 changed files with 402 additions and 109 deletions

19
.gitignore vendored
View File

@ -33,3 +33,22 @@ openmpi-1.4.1-RH.tar.bz2
/openmpi-1.10.2.tar.bz2
/openmpi-1.10.3.tar.bz2
/openmpi-1.10.4.tar.bz2
/openmpi-2.0.1.tar.bz2
/openmpi-2.0.2.tar.bz2
/openmpi-2.1.0.tar.bz2
/openmpi-2.1.1.tar.bz2
/openmpi-2.1.5.tar.bz2
/openmpi-2.1.6rc1.tar.bz2
/openmpi-2.1.6.tar.bz2
/openmpi-3.1.3.tar.bz2
/openmpi-3.1.4.tar.bz2
/openmpi-4.0.0.tar.bz2
/openmpi-4.0.1.tar.bz2
/openmpi-4.0.2rc1.tar.bz2
/openmpi-4.0.2rc2.tar.bz2
/openmpi-4.0.2.tar.bz2
/openmpi-4.0.3rc3.tar.bz2
/openmpi-4.0.3rc4.tar.bz2
/openmpi-4.0.3.tar.bz2
/openmpi-4.0.4rc1.tar.bz2
/openmpi-4.0.4.tar.bz2

6
.rpmlint Normal file
View File

@ -0,0 +1,6 @@
from Config import *
addFilter("shared-library-calls-exit .*/lib(mpi|open-rte|oshmem|_java)\.so");
# We use environment modules to load these paths
addFilter("file-not-in-%lang /usr/share/man/openmpi-");
addFilter("invalid-locale-man-dir /usr/share/man/openmpi-");
addFilter("library-without-ldconfig-post[iu]n /usr/lib(|64)/openmpi/");

View File

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

View File

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

View File

@ -12,7 +12,6 @@
%global opt_fc gfortran
#global opt_fcflags
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
# 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
# suffix in order to keep the names from conflicting.
@ -20,70 +19,97 @@
%global macrosdir %(d=%{_rpmconfigdir}/macros.d; [ -d $d ] || d=%{_sysconfdir}/rpm; echo $d)
Name: openmpi%{?_cc_name_suffix}
Version: 1.10.4
Release: 4%{?dist}
Summary: Open Message Passing Interface
Group: Development/Libraries
License: BSD, MIT and Romio
URL: http://www.open-mpi.org/
%if 0%{?fedora} >= 32 || 0%{?rhel} >= 8
%bcond_with python2
%else
%bcond_without python2
%endif
# We can't use %{name} here because of _cc_name_suffix
Source0: http://www.open-mpi.org/software/ompi/v1.10/downloads/openmpi-%{version}.tar.bz2
Source1: openmpi.module.in
Source2: openmpi.pth.py2
Source3: openmpi.pth.py3
Source4: macros.openmpi
%ifarch aarch64 ppc64le x86_64
%bcond_without ucx
%else
%bcond_with ucx
%endif
BuildRequires: gcc-gfortran
%ifnarch s390 s390x
BuildRequires: valgrind-devel
BuildRequires: libibverbs-devel >= 1.1.3, opensm-devel > 3.3.0
BuildRequires: librdmacm-devel libibcm-devel
# ARM 32-bit is not supported by rdma
# https://bugzilla.redhat.com/show_bug.cgi?id=1780584
%ifarch %{arm}
%bcond_with rdma
%else
%bcond_without rdma
%endif
Name: openmpi%{?_cc_name_suffix}
Version: 4.0.4
Release: 1%{?dist}
Summary: Open Message Passing Interface
License: BSD and MIT and Romio
URL: http://www.open-mpi.org/
# 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
Source1: openmpi.module.in
Source2: openmpi.pth.py2
Source3: openmpi.pth.py3
Source4: macros.openmpi
BuildRequires: gcc-c++
BuildRequires: gcc-gfortran
BuildRequires: valgrind-devel
%if %{with rdma}
BuildRequires: opensm-devel > 3.3.0
BuildRequires: rdma-core-devel
%endif
# Doesn't compile:
# vt_dyn.cc:958:28: error: 'class BPatch_basicBlockLoop' has no member named 'getLoopHead'
# loop->getLoopHead()->getStartAddress(), loop_stmts );
#BuildRequires: dyninst-devel
BuildRequires: hwloc-devel
#BuildRequires: dyninst-devel
BuildRequires: hwloc-devel
# So configure can find lstopo
BuildRequires: hwloc-gui
BuildRequires: java-devel
BuildRequires: hwloc-gui
BuildRequires: java-devel
# Old libevent causes issues
%if !0%{?el7}
BuildRequires: libevent-devel
%endif
BuildRequires: libfabric-devel
%ifnarch s390 s390x
BuildRequires: libfabric-devel
BuildRequires: papi-devel
BuildRequires: papi-devel
%endif
BuildRequires: perl-generators
BuildRequires: perl(Getopt::Long)
BuildRequires: python
BuildRequires: python2-devel
BuildRequires: python3-devel
BuildRequires: orangefs-devel
BuildRequires: perl-generators
BuildRequires: perl-interpreter
BuildRequires: perl(Getopt::Long)
BuildRequires: pmix-devel
BuildRequires: python%{python3_pkgversion}-devel
%ifarch x86_64
BuildRequires: infinipath-psm-devel
BuildRequires: libpsm2-devel
BuildRequires: infinipath-psm-devel
BuildRequires: libpsm2-devel
%endif
%if %{with ucx}
BuildRequires: ucx-devel
%endif
BuildRequires: zlib-devel
%if !0%{?el7}
BuildRequires: rpm-mpi-hooks
%endif
BuildRequires: libtool-ltdl-devel
BuildRequires: torque-devel
BuildRequires: zlib-devel
BuildRequires: rpm-mpi-hooks
Provides: mpi
Requires: environment(modules)
Provides: mpi
%if 0%{?rhel}
# Need this for /etc/profile.d/modules.sh
Requires: environment-modules
%endif
Requires: environment(modules)
# openmpi currently requires ssh to run
# https://svn.open-mpi.org/trac/ompi/ticket/4228
Requires: openssh-clients
# We have problems using the system libevent - openmpi's is modified
# https://bugzilla.redhat.com/show_bug.cgi?id=1235044
Provides: bundled(libevent) = 2.0.21
# otf appears to be bundled
Provides: bundled(otf) = 1.12.3
Requires: openssh-clients
# Private openmpi libraries
%global __provides_exclude_from %{_libdir}/openmpi/lib/(lib(mca|ompi|open-(pal|rte|trace)|otf)|openmpi/).*.so
%global __requires_exclude lib(mca|ompi|open-(pal|rte|trace)|otf|vt).*
%global __provides_exclude_from %{_libdir}/openmpi/lib/(lib(mca|ompi|open-(pal|rte|trace))|openmpi/).*.so
%global __requires_exclude lib(mca|ompi|open-(pal|rte|trace)|vt).*
%description
Open MPI is an open source, freely available implementation of both the
Open MPI is an open source, freely available implementation of both the
MPI-1 and MPI-2 standards, combining technologies and resources from
several other projects (FT-MPI, LA-MPI, LAM/MPI, and PACX-MPI) in
order to build the best MPI library available. A completely new MPI-2
@ -93,32 +119,31 @@ researchers. For more information, see http://www.open-mpi.org/ .
%package devel
Summary: Development files for openmpi
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}, gcc-gfortran
Provides: mpi-devel
%if !0%{?el7}
Requires: rpm-mpi-hooks
# Make sure this package is rebuilt with correct Python version when updating
# Otherwise mpi.req from rpm-mpi-hooks doesn't work
# https://bugzilla.redhat.com/show_bug.cgi?id=1705296
Requires: (python(abi) = %{python3_version} if python3)
%endif
%description devel
Contains development headers and libraries for openmpi.
%package java
Summary: Java library
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
%if 0%{?fedora} >= 20 || 0%{?rhel} >= 7
Requires: java-headless
%else
Requires: java
%endif
Summary: Java library
Requires: %{name} = %{version}-%{release}
Requires: java-headless
%description java
Java library.
%package java-devel
Summary: Java development files for openmpi
Group: Development/Libraries
Requires: %{name}-java = %{version}-%{release}
Requires: java-devel
Summary: Java development files for openmpi
Requires: %{name}-java = %{version}-%{release}
Requires: java-devel
%description java-devel
Contains development wrapper for compiling Java with openmpi.
@ -127,8 +152,28 @@ Contains development wrapper for compiling Java with openmpi.
# particular package, version, compiler
%global namearch openmpi-%{_arch}%{?_cc_name_suffix}
%if %{with python2}
%package -n python2-openmpi
Summary: OpenMPI support for Python 2
BuildRequires: python2-devel
Requires: %{name} = %{version}-%{release}
Requires: python(abi) = %{python2_version}
%description -n python2-openmpi
OpenMPI support for Python 2.
%endif
%package -n python%{python3_pkgversion}-openmpi
Summary: OpenMPI support for Python 3
Requires: %{name} = %{version}-%{release}
Requires: python(abi) = %{python3_version}
%description -n python%{python3_pkgversion}-openmpi
OpenMPI support for Python 3.
%prep
%setup -q -n openmpi-%{version}
%autosetup -p1
%build
./configure --prefix=%{_libdir}/%{name} \
@ -136,15 +181,18 @@ Contains development wrapper for compiling Java with openmpi.
--includedir=%{_includedir}/%{namearch} \
--sysconfdir=%{_sysconfdir}/%{namearch} \
--disable-silent-rules \
--enable-mpi-thread-multiple \
--enable-builtin-atomics \
--enable-mpi-cxx \
--enable-mpi-java \
--enable-mpi1-compatibility \
--with-sge \
%ifnarch s390 s390x
--with-valgrind \
--enable-memchecker \
%endif
--with-hwloc=/usr \
--with-libltdl=/usr \
%if !0%{?el7}
--with-libevent=external \
--with-pmix=external \
%endif
CC=%{opt_cc} CXX=%{opt_cxx} \
LDFLAGS='%{__global_ldflags}' \
CFLAGS="%{?opt_cflags} %{!?opt_cflags:$RPM_OPT_FLAGS}" \
@ -152,66 +200,70 @@ Contains development wrapper for compiling Java with openmpi.
FC=%{opt_fc} FCFLAGS="%{?opt_fcflags} %{!?opt_fcflags:$RPM_OPT_FLAGS}"
# --with-contrib-vt-flags='CXXFLAGS="-I%{_includedir}/dyninst -L%{_libdir}/dyninst"' \
make %{?_smp_mflags} V=1
%make_build V=1
%install
make install DESTDIR=%{buildroot}
%make_install
find %{buildroot}%{_libdir}/%{name}/lib -name \*.la | xargs rm
find %{buildroot}%{_mandir}/%{namearch} -type f | xargs gzip -9
ln -s mpicc.1.gz %{buildroot}%{_mandir}/%{namearch}/man1/mpiCC.1.gz
rm -f %{buildroot}%{_mandir}/%{namearch}/man1/mpiCC.1
rm -f %{buildroot}%{_mandir}/%{namearch}/man1/orteCC.1*
rm -f %{buildroot}%{_libdir}/%{name}/share/vampirtrace/doc/opari/lacsi01.ps.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
mkdir -p %{buildroot}%{_sysconfdir}/modulefiles/mpi
mkdir -p %{buildroot}%{_datadir}/modulefiles/mpi
# Since we're doing our own substitution here, use our own definitions.
sed 's#@LIBDIR@#%{_libdir}/%{name}#;
s#@ETCDIR@#%{_sysconfdir}/%{namearch}#;
s#@FMODDIR@#%{_fmoddir}/%{name}#;
s#@INCDIR@#%{_includedir}/%{namearch}#;
s#@MANDIR@#%{_mandir}/%{namearch}#;
%if %{with python2}
s#@PY2SITEARCH@#%{python2_sitearch}/%{name}#;
%else
/@PY2SITEARCH@/d;
%endif
s#@PY3SITEARCH@#%{python3_sitearch}/%{name}#;
s#@COMPILER@#openmpi-%{_arch}%{?_cc_name_suffix}#;
s#@SUFFIX@#%{?_cc_name_suffix}_openmpi#' \
<%{SOURCE1} \
>%{buildroot}%{_sysconfdir}/modulefiles/mpi/%{namearch}
>%{buildroot}%{_datadir}/modulefiles/mpi/%{namearch}
# make the rpm config file
install -Dpm 644 %{SOURCE4} %{buildroot}/%{macrosdir}/macros.%{namearch}
# Link the fortran module to proper location
mkdir -p %{buildroot}/%{_fmoddir}/%{name}
mkdir -p %{buildroot}%{_fmoddir}/%{name}
for mod in %{buildroot}%{_libdir}/%{name}/lib/*.mod
do
modname=$(basename $mod)
ln -s ../../../%{name}/lib/${modname} %{buildroot}/%{_fmoddir}/%{name}/
done
# Link the pkgconfig files into the main namespace as well
mkdir -p %{buildroot}%{_libdir}/pkgconfig
cd %{buildroot}%{_libdir}/pkgconfig
ln -s ../%{name}/lib/pkgconfig/*.pc .
cd -
# Remove extraneous wrapper link libraries (bug 814798)
sed -i -e s/-ldl// -e s/-lhwloc// \
%{buildroot}%{_libdir}/%{name}/share/openmpi/*-wrapper-data.txt
# install .pth files
%if %{with python2}
mkdir -p %{buildroot}/%{python2_sitearch}/%{name}
install -pDm0644 %{SOURCE2} %{buildroot}/%{python2_sitearch}/openmpi.pth
%endif
mkdir -p %{buildroot}/%{python3_sitearch}/%{name}
install -pDm0644 %{SOURCE3} %{buildroot}/%{python3_sitearch}/openmpi.pth
# Remove COPYRIGHT-ptmalloc2.txt if installed (F24 and lower)
%if 0%{?fedora} <= 24
rm %{buildroot}%{_libdir}/openmpi/share/openmpi/doc/COPYRIGHT-ptmalloc2.txt
rmdir %{buildroot}%{_libdir}/openmpi/share/openmpi/doc
%global ptmalloc2_license opal/mca/memory/linux/COPYRIGHT-ptmalloc2.txt
%endif
%check
make check
%files
%license LICENSE %{?ptmalloc2_license}
%license LICENSE
%dir %{_libdir}/%{name}
%dir %{_sysconfdir}/%{namearch}
%dir %{_libdir}/%{name}/bin
@ -219,65 +271,73 @@ make check
%dir %{_libdir}/%{name}/lib/openmpi
%dir %{_mandir}/%{namearch}
%dir %{_mandir}/%{namearch}/man*
%dir %{python2_sitearch}/%{name}
%{python2_sitearch}/openmpi.pth
%dir %{python3_sitearch}/%{name}
%{python3_sitearch}/openmpi.pth
%config(noreplace) %{_sysconfdir}/%{namearch}/*
%{_libdir}/%{name}/bin/mpi[er]*
%{_libdir}/%{name}/bin/ompi*
%{_libdir}/%{name}/bin/opari
%{_libdir}/%{name}/bin/orte[-dr_]*
%if %{with ucx}
%{_libdir}/%{name}/bin/oshmem_info
%{_libdir}/%{name}/bin/oshrun
%{_libdir}/%{name}/bin/otf*
%{_libdir}/%{name}/bin/shmemrun
%{_libdir}/%{name}/lib/*.so.*
%endif
%{_libdir}/%{name}/lib/*.so.40*
%{_libdir}/%{name}/lib/libmca*.so.41*
%{_libdir}/%{name}/lib/libmca*.so.50*
%if 0%{?el7}
%{_libdir}/%{name}/lib/pmix/
%endif
%{_mandir}/%{namearch}/man1/mpi[er]*
%{_mandir}/%{namearch}/man1/ompi*
%{_mandir}/%{namearch}/man1/orte[-dr_]*
%if %{with ucx}
%{_mandir}/%{namearch}/man1/oshmem_info*
%{_mandir}/%{namearch}/man1/oshrun*
%{_mandir}/%{namearch}/man1/shmemrun*
%{_mandir}/%{namearch}/man7/ompi*
%endif
%{_mandir}/%{namearch}/man7/ompi_*
%{_mandir}/%{namearch}/man7/opal_*
%{_mandir}/%{namearch}/man7/orte*
%{_libdir}/%{name}/lib/openmpi/*
%{_sysconfdir}/modulefiles/mpi/
%{_datadir}/modulefiles/mpi/
%dir %{_libdir}/%{name}/share
%dir %{_libdir}/%{name}/share/openmpi
%dir %{_libdir}/%{name}/share/doc
%dir %{_libdir}/%{name}/share/doc/openmpi
%{_libdir}/%{name}/share/openmpi/amca-param-sets
%{_libdir}/%{name}/share/openmpi/help*.txt
%ifnarch s390 s390x
%if %{with rdma}
%{_libdir}/%{name}/share/openmpi/mca-btl-openib-device-params.ini
%endif
%{_libdir}/%{name}/share/openmpi/mca-coll-ml.config
%if 0%{?el7}
%{_libdir}/%{name}/share/pmix/
%endif
%files devel
%dir %{_includedir}/%{namearch}
%dir %{_libdir}/%{name}/share/vampirtrace
%{_libdir}/%{name}/bin/aggregate_profile.pl
%{_libdir}/%{name}/bin/mpi[cCf]*
%{_libdir}/%{name}/bin/opal_*
%{_libdir}/%{name}/bin/orte[cCf]*
%{_libdir}/%{name}/bin/osh[cf]*
%{_libdir}/%{name}/bin/shmem[cf]*
%{_libdir}/%{name}/bin/vt*
%if %{with ucx}
%{_libdir}/%{name}/bin/osh[cCf]*
%endif
%{_libdir}/%{name}/bin/profile2mat.pl
%if %{with ucx}
%{_libdir}/%{name}/bin/shmem[cCf]*
%endif
%{_includedir}/%{namearch}/*
%{_fmoddir}/%{name}/
%{_libdir}/%{name}/lib/*.so
%{_libdir}/%{name}/lib/lib*.a
%{_libdir}/%{name}/lib/*.mod
%{_libdir}/%{name}/lib/pkgconfig/
%{_libdir}/pkgconfig/*.pc
%{_mandir}/%{namearch}/man1/mpi[cCf]*
%if %{with ucx}
%{_mandir}/%{namearch}/man1/osh[cCf]*
%{_mandir}/%{namearch}/man1/shmem[cCf]*
%endif
%{_mandir}/%{namearch}/man1/opal_*
%{_mandir}/%{namearch}/man3/*
%{_mandir}/%{namearch}/man7/opal*
%{_libdir}/%{name}/share/openmpi/openmpi-valgrind.supp
%{_libdir}/%{name}/share/openmpi/*-wrapper-data.txt
%{_libdir}/%{name}/share/vampirtrace/*
%{macrosdir}/macros.%{namearch}
%files java
@ -286,11 +346,218 @@ make check
%files java-devel
%{_libdir}/%{name}/bin/mpijavac
%{_libdir}/%{name}/bin/mpijavac.pl
%{_libdir}/%{name}/share/doc/openmpi/javadoc-openmpi/
# Currently this only contaings openmpi/javadoc
%{_libdir}/%{name}/share/doc/
%{_mandir}/%{namearch}/man1/mpijavac.1.gz
%if %{with python2}
%files -n python2-openmpi
%dir %{python2_sitearch}/%{name}
%{python2_sitearch}/openmpi.pth
%endif
%files -n python%{python3_pkgversion}-openmpi
%dir %{python3_sitearch}/%{name}
%{python3_sitearch}/openmpi.pth
%changelog
* Wed Jun 17 2020 Orion Poplawski <orion@nwra.com> - 4.0.4-1
- Update to 4.0.4
* Mon May 25 2020 Miro Hrončok <mhroncok@redhat.com> - 4.0.4-0.3.rc1
- Rebuilt for Python 3.9
* Sun May 24 2020 Orion Poplawski <orion@nwra.com> - 4.0.4-0.2.rc1
- Set OMPI_MCA_rmaps_base_oversubscribe=1 in %%_openmpi_load (bz#1839571)
* Sun May 10 2020 Orion Poplawski <orion@nwra.com> - 4.0.4-0.1.rc1
- Update to 4.0.4 rc1
* Thu Mar 05 2020 Orion Poplawski <orion@nwra.com> - 4.0.3x-1
- Update to 4.0.3 (use x to avoid epoch)
* Sun Mar 01 2020 Orion Poplawski <orion@nwra.com> - 4.0.3rc4-1
- Update to 4.0.3rc4
* Sat Feb 1 2020 Orion Poplawski <orion@nwra.com> - 4.0.3rc3-1
- Update to 4.0.3rc3
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.2-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Tue Dec 10 2019 Dominik Mierzejewski <rpm@greysector.net> - 4.0.2-4
- disable rdma on ARM 32-bit (bz#1780584)
* Sun Nov 24 2019 Orion Poplawski <orion@nwra.com> - 4.0.2-3
- Add upstream fix for error in calculating aggregators in 32bit mode
* Fri Nov 15 2019 Orion Poplawski <orion@nwra.com> - 4.0.2-2
- Drop python2 for Fedora 32+ (bz#1773125)
* Mon Oct 7 2019 Philip Kovacs <pkfed@fedoraproject.org> - 4.0.2-1
- Update to 4.0.2
* Sat Sep 14 2019 Orion Poplawski <orion@nwra.com> - 4.0.2-0.4.rc2
- Update to 4.0.2rc2
- Re-enable C++ bindings on power64
* Fri Sep 6 2019 Philip Kovacs <pkfed@fedoraproject.org> - 4.0.2-0.3.rc1
- Rebuild for annobin update to correct aarch64 build (bug #1748529)
* Fri Aug 30 2019 Philip Kovacs <pkfed@fedoraproject.org> - 4.0.2-0.2.rc1
- Apply upstream PR 6946 to avoid linking to __mmap
- Add build deps to run upstream autogen.pl
- Remove embedded tabs in the spec
* Thu Aug 29 2019 Philip Kovacs <pkfed@fedoraproject.org> - 4.0.2-0.1.rc1
- Update to 4.0.2rc1
- Closes bug #1746564
* Thu Aug 29 2019 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 4.0.1-11
- Fix MANPATH so normal modules can still be loaded (#1564899)
* Sun Aug 25 2019 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 4.0.1-10
- Rebuilt for hwloc-2.0
* Sun Aug 18 2019 Miro Hrončok <mhroncok@redhat.com> - 4.0.1-9
- Rebuilt for Python 3.8
* Fri Aug 9 2019 Philip Kovacs <pkfed@fedoraproject.org> - 4.0.1-8
- Remove torque support (torque retired: bug #1676147)
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.1-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Fri Jun 21 2019 Orion Poplawski <orion@nwra.com> - 4.0.1-6
- Rebuild for libfabric 1.8
- Re-enable UCX, hopefully issue fixed in 1.5.2
* Mon May 27 2019 Orion Poplawski <orion@nwra.com> - 4.0.1-5
- Drop UCX support for now
* Wed May 15 2019 Orion Poplawski <orion@nwra.com> - 4.0.1-4
- Add upstream patch OSC/UCX: use correct rkey for atomic_fadd in rget/rput
* Wed May 15 2019 Orion Poplawski <orion@nwra.com> - 4.0.1-3
- Add upstream patch to fix issue with UCX usage in BTL/UCT
* Tue May 7 2019 Orion Poplawski <orion@nwra.com> - 4.0.1-2
- Add a guard for python3 version (#1705296)
- Add requires on python(abi) to python packages
* Sun Apr 28 2019 Orion Poplawski <orion@nwra.com> - 4.0.1-1
- Update to 4.0.1
* Sun Apr 28 2019 Orion Poplawski <orion@nwra.com> - 3.1.4-1
- Update to 3.1.4
* Mon Apr 22 2019 Björn Esser <besser82@fedoraproject.org> - 3.1.3-5
- rebuilt(opensm)
* Wed Apr 17 2019 Christoph Junghans <junghans@votca.org> - 3.1.3-4
- Rebuild to fix ibosmcomp linkage
* Sat Mar 2 2019 Orion Poplawski <orion@nwra.com> - 3.1.3-3
- Enable valgrind on s390x
- Cleanup arch conditionals
* Tue Feb 19 2019 Orion Poplawski <orion@nwra.com> - 3.1.3-2
- Enable PVFS2/OrangeFS MPI-IO support (bug #1655010)
* Wed Feb 13 2019 Orion Poplawski <orion@nwra.com> - 3.1.3-1
- Update to 3.1.3
- Drop ppc64le patch fixed upstream
- Use external libevent and pmix, except on EL7
- Fix EPEL7 builds
* Sat Feb 2 2019 Orion Poplawski <orion@nwra.com> - 2.1.6-1
- Update to 2.1.6
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.6-0.2.rc1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Wed Nov 28 2018 Orion Poplawski <orion@nwra.com> - 2.1.6-0.1.rc1
- Update to 2.1.6rc1
* Thu Oct 11 2018 Orion Poplawski <orion@nwra.com> - 2.1.5-1
- Update to 2.1.5
* Sun Jul 22 2018 Orion Poplawski <orion@nwra.com> - 2.1.1-14
- Add BR gcc-c++ (fix FTBFS bug #1605323)
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.1-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 2.1.1-12
- Rebuilt for Python 3.7
* Thu May 10 2018 Troy Dawson <tdawson@redhat.com> - 2.1.1-11
- Build with rdma-core-devel instead of libibcm-devel
* Mon Apr 30 2018 Florian Weimer <fweimer@redhat.com> - 2.1.1-10
- Rebuild with new flags from redhat-rpm-config
* Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.1.1-9
- Escape macros in %%changelog
* Mon Feb 05 2018 Orion Poplawski <orion@cora.nwra.com> - 2.1.1-8
- Rebuild for rdma-core 16.2
* Wed Jan 31 2018 Christoph Junghans <junghans@votca.org> - 2.1.1-7
- Rebuild for gfortran-8
* Fri Jan 12 2018 Iryna Shcherbina <ishcherb@redhat.com> - 2.1.1-6
- Update Python 2 dependency declarations to new packaging standards
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
* Wed Aug 23 2017 Adam Williamson <awilliam@redhat.com> - 2.1.1-5
- Disable RDMA support on 32-bit ARM (#1484155)
- Disable hanging opal_fifo test on ppc64le (gh #2526 / #2966)
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Wed Jul 19 2017 Orion Poplawski <orion@cora.nwra.com> - 2.1.1-2
- Provide pkgconfig files in the main namespace as well (1471512)
* Fri May 12 2017 Orion Poplawski <orion@cora.nwra.com> - 2.1.1-1
- Update to 2.1.1
* Thu May 4 2017 Orion Poplawski <orion@cora.nwra.com> - 2.1.0-1
- Update to 2.1.0
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Thu Feb 2 2017 Orion Poplawski <orion@cora.nwra.com> - 2.0.2-1
- Update to 2.0.2
* Sat Jan 28 2017 Björn Esser <besser82@fedoraproject.org> - 2.0.1-7
- Rebuilt for GCC-7
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 2.0.1-6
- Rebuild for Python 3.6
* Wed Nov 2 2016 Orion Poplawski <orion@cora.nwra.com> - 2.0.1-5
- Split python support into sub-packages (bug #1391157)
* Thu Oct 27 2016 Dan Horák <dan[at]danny.cz> - 2.0.1-4
- Temporarily disable C++ bindings on ppc64/ppc64le (#1388561)
* Mon Oct 24 2016 Orion Poplawski <orion@cora.nwra.com> - 2.0.1-3
- Fix License tag format
- Use /usr/share/modulefiles for modulefile install location
* Mon Oct 24 2016 Orion Poplawski <orion@cora.nwra.com> - 2.0.1-2
- Add upstream patch for thread wait issue with mpi4py
* Fri Oct 21 2016 Orion Poplawski <orion@cora.nwra.com> - 2.0.1-1
- Update to 2.0.1
* Thu Oct 20 2016 Orion Poplawski <orion@cora.nwra.com> - 1.10.4-4
- Support s390(x) (bug #1358701)
@ -627,7 +894,7 @@ make check
- Update to fix licencing and packaging issues:
Use the system plpa and ltdl librarires rather than the ones in the tarball
Remove licence incompatible files from the tarball.
- update module.in to prepend-path PYTHONPATH
- update module.in to prepend-path PYTHONPATH
* Tue Mar 9 2010 Jay Fenlason <fenlason@redhat.com> - 1.4.1-3
- remove the pkgconfig file completely like we did in RHEL.
@ -659,8 +926,8 @@ make check
- Create and own man* directories for use by dependent packages.
* Wed Sep 16 2009 Jay Fenlason <fenlason@redhat.com> - 1.3.3-5
- Move the module file from %{_datadir}/Modules/modulefiles/%{namearch} to
%{_sysconfdir}/modulefiles/%{namearch} where it belongs.
- Move the module file from %%{_datadir}/Modules/modulefiles/%%{namearch} to
%%{_sysconfdir}/modulefiles/%%{namearch} where it belongs.
- Have the -devel subpackage own the man1 and man7 directories for completeness.
- Add a blank line before the clean section.
- Remove --enable-mpirun-prefix-by-default from configure.
@ -800,7 +1067,7 @@ make check
* Wed Feb 15 2006 Jason Vas Dias <jvdias@redhat.com> - 1.0.1-1
- Import into Fedora Core
- Resolve LAM clashes
- Resolve LAM clashes
* Wed Jan 25 2006 Orion Poplawski <orion@cora.nwra.com> - 1.0.1-2
- Use configure options to install includes and libraries

View File

@ -1 +1 @@
9d2375835c5bc5c184ecdeb76c7c78ac openmpi-1.10.4.tar.bz2
SHA512 (openmpi-4.0.4.tar.bz2) = 6c193b4b5cbfd9d48fa5efcef01372c424b51ae5e9727ccf4235e3b14556dfeb010865e41a9473419ccda16559139aa469086b1fff9abfd337e87387fdec1c64