3d11c8
# We only compile with gcc, but other people may want other compilers.
3d11c8
# Set the compiler here.
3d11c8
%global opt_cc gcc
3d11c8
# Optional CFLAGS to use with the specific compiler...gcc doesn't need any,
3d11c8
# so uncomment and define to use
3d11c8
#global opt_cflags
3d11c8
%global opt_cxx g++
3d11c8
#global opt_cxxflags
3d11c8
%global opt_f77 gfortran
3d11c8
#global opt_fflags
3d11c8
%global opt_fc gfortran
3d11c8
#global opt_fcflags
3d11c8
3d11c8
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
3d11c8
# Optional name suffix to use...we leave it off when compiling with gcc, but
3d11c8
# for other compiled versions to install side by side, it will need a
3d11c8
# suffix in order to keep the names from conflicting.
3d11c8
#global _cc_name_suffix -gcc
3d11c8
3d11c8
%global macrosdir %(d=%{_rpmconfigdir}/macros.d; [ -d $d ] || d=%{_sysconfdir}/rpm; echo $d)
3d11c8
3d11c8
%global majmin 1.10
3d11c8
%global mainversion	%{majmin}.7
00b9d7
%global ompi3ver	3.0.2
3d11c8
3d11c8
Name:			openmpi%{?_cc_name_suffix}
3d11c8
Version:		%{mainversion}
00b9d7
Release:		2%{?dist}
3d11c8
Summary:		Open Message Passing Interface
3d11c8
Group:			Development/Libraries
3d11c8
License:		BSD and MIT and Romio
3d11c8
URL:			http://www.open-mpi.org/
3d11c8
3d11c8
Source0:		http://www.open-mpi.org/software/ompi/v%{majmin}/downloads/openmpi-%{mainversion}.tar.bz2
3d11c8
Source1:		openmpi.module.in
3d11c8
Source2:		macros.openmpi.in
3d11c8
Patch1:			0001-Add-Chelsio-T6-adapter-device-parameters.patch
3d11c8
Patch2:			0002-btl-openib-fix-segmentation-fault.patch
3d11c8
3d11c8
# openmpi-1.6.4-clean.tar.xz was generated by taking the upstream tarball
3d11c8
# and removing license-incompatible files:
3d11c8
# rm -r opal/mca/backtrace/darwin/MoreBacktrace
3d11c8
Source100:		openmpi-1.6.4-clean.tar.xz
3d11c8
# Patch to handle removed items
3d11c8
Patch100:		openmpi-removed.patch
3d11c8
# Patch to use system ltdl for tests
3d11c8
Patch101:               openmpi-ltdl.patch
3d11c8
# Learn configure about ppc64le
3d11c8
Patch102:		openmpi-1.6.4-ppc64le.patch
3d11c8
# Backport of gcc atomics needed for AArch64
3d11c8
Patch103:		openmpi-1.6.4-aarch64.patch
3d11c8
00b9d7
Source300:              https://www.open-mpi.org/software/ompi/v3.0/downloads/openmpi-%{ompi3ver}.tar.bz2
3d11c8
Source301:              openmpi3.module.in
3d11c8
Source302:              macros.openmpi3
3d11c8
# Only for ppc64le
3d11c8
# https://github.com/open-mpi/ompi/issues/2526
3d11c8
# https://github.com/open-mpi/ompi/issues/2966
3d11c8
Patch301:               0001-tests-disable-opal_fifo-test.patch
3d11c8
3d11c8
BuildRequires:		gcc-gfortran
3d11c8
#sparc 64 doesn't have valgrind
3d11c8
%ifnarch %{sparc} s390
3d11c8
BuildRequires:		valgrind-devel
3d11c8
%endif
3d11c8
BuildRequires:		libibverbs-devel >= 1.1.3, opensm-devel > 3.3.0
3d11c8
BuildRequires:		librdmacm-devel
3d11c8
BuildRequires:		hwloc-devel
3d11c8
BuildRequires:		python libtool-ltdl-devel
3d11c8
BuildRequires:		libesmtp-devel
3d11c8
BuildRequires:		libfabric-devel
3d11c8
%ifarch x86_64
3d11c8
BuildRequires:		infinipath-psm-devel libpsm2-devel
3d11c8
%endif
3d11c8
%ifarch ppc64le
3d11c8
BuildRequires:		automake
3d11c8
%endif
3d11c8
3d11c8
Obsoletes:             openmpi-libs
3d11c8
Obsoletes:             openmpi-psm
3d11c8
3d11c8
Provides:		mpi
3d11c8
Requires:		environment-modules
3d11c8
3d11c8
# Provides for compat with openmpi-1.10.0.
3d11c8
# See the comment about libmpi_usempi.so.1 in the install section.
3d11c8
%if 0%{?__isa_bits} == 64
3d11c8
Provides:		libmpi_usempi.so.1()(64bit)
3d11c8
%else
3d11c8
Provides:		libmpi_usempi.so.1
3d11c8
%endif
3d11c8
3d11c8
# Private openmpi libraries
3d11c8
%global __provides_exclude_from %{_libdir}/(openmpi3|openmpi|compat-openmpi16)/lib/(lib(mca|ompi|open-(pal|rte|trace))|openmpi/).*.so
3d11c8
%global __requires_exclude lib(mca|ompi|open-(pal|rte|trace)|vt).*
3d11c8
3d11c8
%description
3d11c8
Open MPI is an open source, freely available implementation of both the 
3d11c8
MPI-1 and MPI-2 standards, combining technologies and resources from
3d11c8
several other projects (FT-MPI, LA-MPI, LAM/MPI, and PACX-MPI) in
3d11c8
order to build the best MPI library available.  A completely new MPI-2
3d11c8
compliant implementation, Open MPI offers advantages for system and
3d11c8
software vendors, application developers, and computer science
3d11c8
researchers. For more information, see http://www.open-mpi.org/ .
3d11c8
3d11c8
%package devel
3d11c8
Summary:        Development files for openmpi
3d11c8
Group:          Development/Libraries
3d11c8
Requires:       %{name} = %{mainversion}-%{release}, gcc-gfortran
3d11c8
Provides:	mpi-devel
3d11c8
Obsoletes:	openmpi-psm-devel
3d11c8
3d11c8
%description devel
3d11c8
Contains development headers and libraries for openmpi
3d11c8
3d11c8
%ifnarch ppc ppc64
3d11c8
%package -n openmpi3%{?_cc_name_suffix}
3d11c8
Summary:        Open Message Passing Interface 3
3d11c8
Group:          Development/Libraries
00b9d7
Version:        %{ompi3ver}
3d11c8
Release:        1%{?dist}
3d11c8
Provides:       mpi
3d11c8
Requires:       environment-modules
3d11c8
Requires:       openssh-clients
3d11c8
3d11c8
%description -n openmpi3%{?_cc_name_suffix}
3d11c8
The Open MPI Project is an open source Message Passing Interface implementation
3d11c8
that is developed and maintained by a consortium of academic, research, and
3d11c8
industry partners. Open MPI is therefore able to combine the expertise,
3d11c8
technologies, and resources from all across the High Performance Computing
3d11c8
community in order to build the best MPI library available. Open MPI offers
3d11c8
advantages for system and software vendors, application developers and computer
3d11c8
science researchers.
3d11c8
Features implemented or in short-term development for Open MPI include:
3d11c8
 * Full MPI-3.1 standards conformance
3d11c8
 * Thread safety and concurrency
3d11c8
 * Dynamic process spawning
3d11c8
 * Network and process fault tolerance
3d11c8
 * Support network heterogeneity
3d11c8
 * Single library supports all networks
3d11c8
 * Run-time instrumentation
3d11c8
 * Many job schedulers supported
3d11c8
 * Many OS's supported (32 and 64 bit)
3d11c8
 * Production quality software
3d11c8
 * High performance on all platforms
3d11c8
 * Portable and maintainable
3d11c8
 * Tunable by installers and end-users
3d11c8
 * Component-based design, documented APIs
3d11c8
 * Active, responsive mailing list
3d11c8
 * Open source license based on the BSD license
3d11c8
3d11c8
%package -n openmpi3%{?_cc_name_suffix}-devel
3d11c8
Summary:        Development files for openmpi3
3d11c8
Group:          Development/Libraries
00b9d7
Version:        %{ompi3ver}
3d11c8
Release:        %{release}
3d11c8
Requires:       openmpi3%{?_cc_name_suffix}%{?_isa} = %{version}-%{release}, gcc-gfortran
3d11c8
Provides:       mpi-devel
3d11c8
3d11c8
%description -n openmpi3%{?_cc_name_suffix}-devel
3d11c8
Contains development headers and libraries for openmpi3.
3d11c8
3d11c8
%endif
3d11c8
3d11c8
%ifnarch s390 s390x
3d11c8
%package -n compat-openmpi16%{?_cc_name_suffix}
3d11c8
Summary:        Open MPI 1.6 compat library
3d11c8
Group:          Development/Libraries
3d11c8
Version:        1.6.4
00b9d7
Release:        10.7%{?dist}
3d11c8
Provides:       mpi
3d11c8
Requires:       environment-modules
3d11c8
3d11c8
%description -n compat-openmpi16%{?_cc_name_suffix}
3d11c8
Open MPI is an open source, freely available implementation of both the
3d11c8
MPI-1 and MPI-2 standards, combining technologies and resources from
3d11c8
several other projects (FT-MPI, LA-MPI, LAM/MPI, and PACX-MPI) in
3d11c8
order to build the best MPI library available.  A completely new MPI-2
3d11c8
compliant implementation, Open MPI offers advantages for system and
3d11c8
software vendors, application developers, and computer science
3d11c8
researchers. For more information, see http://www.open-mpi.org/ .
3d11c8
3d11c8
This package provides compatibility for applications compiled with Open MPI
3d11c8
version 1.6.
3d11c8
3d11c8
%package -n compat-openmpi16%{?_cc_name_suffix}-devel
3d11c8
Summary:        Development files for compat-openmpi16
3d11c8
Group:          Development/Libraries
3d11c8
Version:        1.6.4
3d11c8
Release:        %{release}
3d11c8
Requires:       compat-openmpi16%{?_cc_name_suffix}%{?_isa} = %{version}-%{release}, gcc-gfortran
3d11c8
Provides:       mpi-devel
3d11c8
3d11c8
%description -n compat-openmpi16%{?_cc_name_suffix}-devel
3d11c8
Contains development headers and libraries for compat-openmpi16
3d11c8
3d11c8
%endif
3d11c8
3d11c8
# When dealing with multilib installations, aka the ability to run either
3d11c8
# i386 or x86_64 binaries on x86_64 machines, we install the native i386
3d11c8
# openmpi libs/compilers and the native x86_64 libs/compilers.  Obviously,
3d11c8
# on i386 you can only run i386, so you don't really need the -m32 flag
3d11c8
# to gcc in order to force 32 bit mode.  However, since we use the native
3d11c8
# i386 package to support i386 operation on x86_64, and since on x86_64
3d11c8
# the default is x86_64, the i386 package needs to force i386 mode.  This
3d11c8
# is true of all the multilib arches, hence the non-default arch (aka i386
3d11c8
# on x86_64) must force the non-default mode (aka 32 bit compile) in it's
3d11c8
# native-arch package (aka, when built on i386) so that it will work
3d11c8
# properly on the non-native arch as a multilib package (aka i386 installed
3d11c8
# on x86_64).  Just to be safe, we also force the default mode (aka 64 bit)
3d11c8
# in default arch packages (aka, the x86_64 package).  There are, however,
3d11c8
# some arches that don't support forcing *any* mode, those we just leave
3d11c8
# undefined.
3d11c8
3d11c8
%ifarch %{ix86} ppc sparcv9
3d11c8
%global mode 32
3d11c8
%global modeflag -m32
3d11c8
%endif
3d11c8
%ifarch ia64
3d11c8
%global mode 64
3d11c8
%endif
3d11c8
%ifarch x86_64 %{power64} sparc64
3d11c8
%global mode 64
3d11c8
%global modeflag -m64
3d11c8
%endif
3d11c8
3d11c8
%prep
3d11c8
%setup -q -n openmpi-%{mainversion} -b 100 -b 300
3d11c8
%patch1 -p1
3d11c8
%patch2 -p1
3d11c8
cd ..
3d11c8
00b9d7
cd openmpi-%{ompi3ver}
3d11c8
%ifarch ppc64le
3d11c8
%patch301 -p1
3d11c8
%endif
3d11c8
cd ..
3d11c8
3d11c8
cd openmpi-1.6.4
3d11c8
%patch100 -p1 -b .removed
3d11c8
%patch101 -p1 -b .ltdl
3d11c8
%ifarch ppc64le
3d11c8
%patch102 -p1 -b .ppc64le
3d11c8
%endif
3d11c8
%ifarch aarch64
3d11c8
%patch103 -p1 -b .aarch64
3d11c8
%endif
3d11c8
# Make sure we don't use the local libltdl library
3d11c8
rm -r opal/libltdl
3d11c8
cd ..
3d11c8
3d11c8
%build
3d11c8
# We set this to for convenience, since this is the unique dir we use for this
3d11c8
# particular package, version, compiler
3d11c8
%global variant openmpi
3d11c8
%global libname %{variant}%{?_cc_name_suffix}
3d11c8
%global namearch %{variant}-%{_arch}%{?_cc_name_suffix}
3d11c8
3d11c8
# %%configure macro would change --prefix
3d11c8
./configure --prefix=%{_libdir}/%{libname} \
3d11c8
%ifarch armv5tel
3d11c8
	--build=armv5tel-redhat-linux-gnueabi \
3d11c8
	--host=armv5tel-redhat-linux-gnueabi \
3d11c8
%endif
3d11c8
	--mandir=%{_mandir}/%{namearch} \
3d11c8
	--includedir=%{_includedir}/%{namearch} \
3d11c8
	--sysconfdir=%{_sysconfdir}/%{namearch} \
3d11c8
	--disable-silent-rules \
3d11c8
	--with-verbs=/usr \
3d11c8
	--with-sge \
3d11c8
%ifnarch %{sparc} s390
3d11c8
	--with-valgrind \
3d11c8
	--enable-memchecker \
3d11c8
%endif
3d11c8
%ifarch aarch64
3d11c8
	--enable-builtin-atomics \
3d11c8
%endif
3d11c8
	--with-hwloc=/usr \
3d11c8
	--with-libltdl=/usr \
3d11c8
	--with-wrapper-cflags="%{?modeflag}" \
3d11c8
	--with-wrapper-cxxflags="%{?modeflag}" \
3d11c8
	--with-wrapper-fcflags="%{?modeflag}" \
3d11c8
	CC=%{opt_cc} CXX=%{opt_cxx} \
3d11c8
	LDFLAGS='-Wl,-z,noexecstack' \
3d11c8
	CFLAGS="%{?opt_cflags} %{!?opt_cflags:$RPM_OPT_FLAGS}" \
3d11c8
	CXXFLAGS="%{?opt_cxxflags} %{!?opt_cxxflags:$RPM_OPT_FLAGS}" \
3d11c8
	FC=%{opt_fc} FCFLAGS="%{?opt_fcflags} %{!?opt_fcflags:$RPM_OPT_FLAGS}"
3d11c8
3d11c8
make %{?_smp_mflags}
3d11c8
cd ..
3d11c8
3d11c8
%ifnarch ppc ppc64
3d11c8
%global variant openmpi3
3d11c8
%global libname %{variant}%{?_cc_name_suffix}
3d11c8
%global namearch %{variant}-%{_arch}%{?_cc_name_suffix}
3d11c8
00b9d7
cd openmpi-%{ompi3ver}
3d11c8
./configure --prefix=%{_libdir}/%{libname} \
3d11c8
	--mandir=%{_mandir}/%{namearch} \
3d11c8
	--includedir=%{_includedir}/%{namearch} \
3d11c8
	--sysconfdir=%{_sysconfdir}/%{namearch} \
3d11c8
	--disable-silent-rules \
3d11c8
	--enable-builtin-atomics \
3d11c8
	--enable-mpi-cxx \
3d11c8
	--with-sge \
3d11c8
%ifnarch s390
3d11c8
	--with-valgrind \
3d11c8
	--enable-memchecker \
3d11c8
%endif
3d11c8
	--with-hwloc=/usr \
3d11c8
	CC=%{opt_cc} CXX=%{opt_cxx} \
3d11c8
	LDFLAGS='%{__global_ldflags}' \
3d11c8
	CFLAGS="%{?opt_cflags} %{!?opt_cflags:$RPM_OPT_FLAGS}" \
3d11c8
	CXXFLAGS="%{?opt_cxxflags} %{!?opt_cxxflags:$RPM_OPT_FLAGS}" \
3d11c8
	FC=%{opt_fc} FCFLAGS="%{?opt_fcflags} %{!?opt_fcflags:$RPM_OPT_FLAGS}"
3d11c8
# This fails - https://github.com/open-mpi/ompi/issues/2616
3d11c8
#	--with-hwloc=external \
3d11c8
# We cannot use external pmix without external libevent
3d11c8
#	--with-pmix=external \
3d11c8
3d11c8
make %{?_smp_mflags}
3d11c8
cd ..
3d11c8
%endif
3d11c8
3d11c8
%ifnarch s390 s390x
3d11c8
%global variant compat-openmpi16
3d11c8
%global libname %{variant}%{?_cc_name_suffix}
3d11c8
%global namearch %{variant}-%{_arch}%{?_cc_name_suffix}
3d11c8
3d11c8
cd openmpi-1.6.4
3d11c8
3d11c8
%ifarch ppc64le
3d11c8
# learn autotools about new arch
3d11c8
cp -p %{_datadir}/automake-*/config.{guess,sub} ./config/
3d11c8
cp -p %{_datadir}/automake-*/config.{guess,sub} ./ompi/mca/io/romio/romio/confdb/
3d11c8
cp -p %{_datadir}/automake-*/config.{guess,sub} ./ompi/contrib/vt/vt/config/
3d11c8
cp -p %{_datadir}/automake-*/config.{guess,sub} ./ompi/contrib/vt/vt/extlib/otf/config/
3d11c8
%endif
3d11c8
# %%configure macro would change --prefix
3d11c8
./configure --prefix=%{_libdir}/%{libname} \
3d11c8
%ifarch armv5tel
3d11c8
	--build=armv5tel-redhat-linux-gnueabi \
3d11c8
	--host=armv5tel-redhat-linux-gnueabi \
3d11c8
%endif
3d11c8
	--mandir=%{_mandir}/%{namearch} \
3d11c8
	--includedir=%{_includedir}/%{namearch} \
3d11c8
	--sysconfdir=%{_sysconfdir}/%{namearch} \
3d11c8
	--disable-silent-rules \
3d11c8
	--enable-opal-multi-threads \
3d11c8
	--with-openib=/usr \
3d11c8
	--with-sge \
3d11c8
%ifnarch %{sparc} s390
3d11c8
	--with-valgrind \
3d11c8
	--enable-memchecker \
3d11c8
%endif
3d11c8
%ifarch aarch64
3d11c8
	--enable-builtin-atomics \
3d11c8
%endif
3d11c8
	--with-esmtp \
3d11c8
	--with-hwloc=/usr \
3d11c8
	--with-libltdl=/usr \
3d11c8
	--with-wrapper-cflags="%{?modeflag}" \
3d11c8
	--with-wrapper-cxxflags="%{?modeflag}" \
3d11c8
	--with-wrapper-fflags="%{?modeflag}" \
3d11c8
	--with-wrapper-fcflags="%{?modeflag}" \
3d11c8
	CC=%{opt_cc} CXX=%{opt_cxx} \
3d11c8
	LDFLAGS='-Wl,-z,noexecstack' \
3d11c8
	CFLAGS="%{?opt_cflags} %{!?opt_cflags:$RPM_OPT_FLAGS}" \
3d11c8
	CXXFLAGS="%{?opt_cxxflags} %{!?opt_cxxflags:$RPM_OPT_FLAGS}" \
3d11c8
	FC=%{opt_fc} FCFLAGS="%{?opt_fcflags} %{!?opt_fcflags:$RPM_OPT_FLAGS}" \
3d11c8
	F77=%{opt_f77} FFLAGS="%{?opt_fflags} %{!?opt_fflags:$RPM_OPT_FLAGS}"
3d11c8
3d11c8
make %{?_smp_mflags}
3d11c8
cd ..
3d11c8
%endif
3d11c8
3d11c8
%install
3d11c8
%global variant openmpi
3d11c8
%global libname %{variant}%{?_cc_name_suffix}
3d11c8
%global namearch %{variant}-%{_arch}%{?_cc_name_suffix}
3d11c8
3d11c8
make install DESTDIR=%{buildroot}
3d11c8
rm -fr %{buildroot}%{_libdir}/%{libname}/lib/pkgconfig
3d11c8
find %{buildroot}%{_libdir}/%{libname}/lib -name \*.la | xargs rm
3d11c8
find %{buildroot}%{_mandir}/%{namearch} -type f | xargs gzip -9
3d11c8
ln -s mpicc.1.gz %{buildroot}%{_mandir}/%{namearch}/man1/mpiCC.1.gz
3d11c8
rm -f %{buildroot}%{_mandir}/%{namearch}/man1/mpiCC.1
3d11c8
rm -f %{buildroot}%{_mandir}/%{namearch}/man1/orteCC.1*
3d11c8
rm -f %{buildroot}%{_libdir}/%{libname}/share/vampirtrace/doc/opari/lacsi01.ps.gz
3d11c8
mkdir %{buildroot}%{_mandir}/%{namearch}/man{2,4,5,6,8,9,n}
3d11c8
3d11c8
# Make the environment-modules file
3d11c8
mkdir -p %{buildroot}%{_sysconfdir}/modulefiles/mpi
3d11c8
# Since we're doing our own substitution here, use our own definitions.
3d11c8
sed 's#@LIBDIR@#'%{_libdir}/%{libname}'#g;
3d11c8
     s#@ETCDIR@#'%{_sysconfdir}/%{namearch}'#g;
3d11c8
     s#@FMODDIR@#'%{_fmoddir}/%{namearch}'#g;
3d11c8
     s#@INCDIR@#'%{_includedir}/%{namearch}'#g;
3d11c8
     s#@MANDIR@#'%{_mandir}/%{namearch}'#g;
3d11c8
     s#@PYSITEARCH@#'%{python_sitearch}/%{libname}'#g;
3d11c8
     s#@COMPILER@#%{variant}-'%{_arch}%{?_cc_name_suffix}'#g;
3d11c8
     s#@SUFFIX@#'%{?_cc_name_suffix}'_%{variant}#g' \
3d11c8
     < %SOURCE1 \
3d11c8
     > %{buildroot}%{_sysconfdir}/modulefiles/mpi/%{namearch}
3d11c8
3d11c8
# make the rpm config file
3d11c8
mkdir -p %{buildroot}/%{_sysconfdir}/rpm
3d11c8
LIBNAME="%{libname}"
3d11c8
# do not expand _arch
3d11c8
sed "s#@MACRONAME@#${LIBNAME//-/_}#g;s#@MODULENAME@#%{variant}-%%{_arch}%{?_cc_name_suffix}#" < %SOURCE2 > %{buildroot}/%{_sysconfdir}/rpm/macros.%{namearch}
3d11c8
mkdir -p %{buildroot}/%{_fmoddir}/%{namearch}
3d11c8
mkdir -p %{buildroot}/%{python_sitearch}/%{libname}
3d11c8
# Remove extraneous wrapper link libraries (bug 814798)
3d11c8
#sed -i -e s/-ldl// -e s/-lhwloc// \
3d11c8
#  %{buildroot}%{_libdir}/%{libname}/bin/orte_wrapper_script \
3d11c8
#  %{buildroot}%{_libdir}/%{libname}/share/%{libname}/*-wrapper-data.txt
3d11c8
3d11c8
# openmpi 1.10.2 bumped the soname of libmpi_usempi.so from .1 to .5,
3d11c8
# even though it only added new interfaces (MPI_Aint_{add,diff}),
3d11c8
# which was a compatible change. So it's OK to add a compat symlink:
3d11c8
ln -s libmpi_usempi.so.5 %{buildroot}/%{_libdir}/%{libname}/lib/libmpi_usempi.so.1
3d11c8
3d11c8
cd ..
3d11c8
3d11c8
%ifnarch ppc ppc64
3d11c8
%global variant openmpi3
3d11c8
%global libname %{variant}%{?_cc_name_suffix}
3d11c8
%global namearch %{variant}-%{_arch}%{?_cc_name_suffix}
3d11c8
00b9d7
cd openmpi-%{ompi3ver}
3d11c8
make install DESTDIR=%{buildroot}
3d11c8
find %{buildroot}%{_libdir}/%{libname}/lib -name \*.la | xargs rm
3d11c8
find %{buildroot}%{_mandir}/%{namearch} -type f | xargs gzip -9
3d11c8
ln -s mpicc.1.gz %{buildroot}%{_mandir}/%{namearch}/man1/mpiCC.1.gz
3d11c8
# Remove dangling symlink
3d11c8
rm %{buildroot}%{_mandir}/%{namearch}/man1/mpiCC.1
3d11c8
mkdir %{buildroot}%{_mandir}/%{namearch}/man{2,4,5,6,8,9,n}
3d11c8
3d11c8
# Make the environment-modules file
3d11c8
mkdir -p %{buildroot}%{_sysconfdir}/modulefiles/mpi
3d11c8
# Since we're doing our own substitution here, use our own definitions.
3d11c8
sed 's#@LIBDIR@#%{_libdir}/%{libname}#;
3d11c8
     s#@ETCDIR@#%{_sysconfdir}/%{namearch}#;
3d11c8
     s#@FMODDIR@#%{_fmoddir}/%{libname}#;
3d11c8
     s#@INCDIR@#%{_includedir}/%{namearch}#;
3d11c8
     s#@MANDIR@#%{_mandir}/%{namearch}#;
3d11c8
     s#@PY2SITEARCH@#%{python_sitearch}/%{libname}#;
3d11c8
     s#@COMPILER@#%{variant}-'%{_arch}%{?_cc_name_suffix}'#g;
3d11c8
     s#@SUFFIX@#'%{?_cc_name_suffix}'_%{variant}#g' \
3d11c8
     <%{SOURCE301} \
3d11c8
     >%{buildroot}%{_sysconfdir}/modulefiles/mpi/%{namearch}
3d11c8
3d11c8
# make the rpm config file
3d11c8
install -Dpm 644 %{SOURCE302} %{buildroot}/%{macrosdir}/macros.%{namearch}
3d11c8
3d11c8
# Link the fortran module to proper location
3d11c8
mkdir -p %{buildroot}%{_fmoddir}/%{libname}
3d11c8
for mod in %{buildroot}%{_libdir}/%{libname}/lib/*.mod
3d11c8
do
3d11c8
  modname=$(basename $mod)
3d11c8
  ln -s ../../../%{libname}/lib/${modname} %{buildroot}/%{_fmoddir}/%{libname}/
3d11c8
done
3d11c8
3d11c8
mkdir -p %{buildroot}/%{python_sitearch}/%{libname}
3d11c8
3d11c8
# Link the pkgconfig files into the main namespace as well
3d11c8
mkdir -p %{buildroot}%{_libdir}/pkgconfig
3d11c8
cd %{buildroot}%{_libdir}/pkgconfig
3d11c8
ln -s ../%{libname}/lib/pkgconfig/*.pc .
3d11c8
cd -
3d11c8
3d11c8
cd ..
3d11c8
%endif
3d11c8
3d11c8
%ifnarch s390 s390x
3d11c8
%global variant compat-openmpi16
3d11c8
%global libname %{variant}%{?_cc_name_suffix}
3d11c8
%global namearch %{variant}-%{_arch}%{?_cc_name_suffix}
3d11c8
3d11c8
cd openmpi-1.6.4
3d11c8
make install DESTDIR=%{buildroot}
3d11c8
rm -fr %{buildroot}%{_libdir}/%{libname}/lib/pkgconfig
3d11c8
find %{buildroot}%{_libdir}/%{libname}/lib -name \*.la | xargs rm
3d11c8
find %{buildroot}%{_mandir}/%{namearch} -type f | xargs gzip -9
3d11c8
ln -s mpicc.1.gz %{buildroot}%{_mandir}/%{namearch}/man1/mpiCC.1.gz
3d11c8
rm -f %{buildroot}%{_mandir}/%{namearch}/man1/mpiCC.1
3d11c8
rm -f %{buildroot}%{_mandir}/%{namearch}/man1/orteCC.1*
3d11c8
rm -f %{buildroot}%{_libdir}/%{libname}/share/vampirtrace/doc/opari/lacsi01.ps.gz
3d11c8
mkdir %{buildroot}%{_mandir}/%{namearch}/man{2,4,5,6,8,9,n}
3d11c8
3d11c8
# Make the environment-modules file
3d11c8
mkdir -p %{buildroot}%{_sysconfdir}/modulefiles/mpi
3d11c8
# Since we're doing our own substitution here, use our own definitions.
3d11c8
sed 's#@LIBDIR@#'%{_libdir}/%{libname}'#g;s#@ETCDIR@#'%{_sysconfdir}/%{namearch}'#g;s#@FMODDIR@#'%{_fmoddir}/%{namearch}'#g;s#@INCDIR@#'%{_includedir}/%{namearch}'#g;s#@MANDIR@#'%{_mandir}/%{namearch}'#g;s#@PYSITEARCH@#'%{python_sitearch}/%{libname}'#g;s#@COMPILER@#%{variant}-'%{_arch}%{?_cc_name_suffix}'#g;s#@SUFFIX@#'%{?_cc_name_suffix}'_%{variant}#g' < %SOURCE1 > %{buildroot}%{_sysconfdir}/modulefiles/mpi/%{namearch}
3d11c8
# make the rpm config file
3d11c8
mkdir -p %{buildroot}/%{_sysconfdir}/rpm
3d11c8
LIBNAME="%{libname}"
3d11c8
# do not expand _arch
3d11c8
sed "s#@MACRONAME@#${LIBNAME//-/_}#g;s#@MODULENAME@#%{variant}-%%{_arch}%{?_cc_name_suffix}#" < %SOURCE2 > %{buildroot}/%{_sysconfdir}/rpm/macros.%{namearch}
3d11c8
mkdir -p %{buildroot}/%{_fmoddir}/%{namearch}
3d11c8
mkdir -p %{buildroot}/%{python_sitearch}/%{libname}
3d11c8
# Remove extraneous wrapper link libraries (bug 814798)
3d11c8
sed -i -e s/-ldl// -e s/-lhwloc// \
3d11c8
  %{buildroot}%{_libdir}/%{libname}/bin/orte_wrapper_script \
3d11c8
  %{buildroot}%{_libdir}/%{libname}/share/%{name}/*-wrapper-data.txt
3d11c8
cd ..
3d11c8
%endif
3d11c8
3d11c8
%check
3d11c8
make check
3d11c8
cd ..
3d11c8
3d11c8
%ifnarch ppc ppc64
00b9d7
cd openmpi-%{ompi3ver}
3d11c8
make check
3d11c8
cd ..
3d11c8
%endif
3d11c8
3d11c8
%ifnarch s390 s390x
3d11c8
cd openmpi-1.6.4
3d11c8
make check
3d11c8
cd ..
3d11c8
%endif
3d11c8
3d11c8
%global variant openmpi
3d11c8
%global libname %{variant}%{?_cc_name_suffix}
3d11c8
%global namearch %{variant}-%{_arch}%{?_cc_name_suffix}
3d11c8
3d11c8
%files
3d11c8
%dir %{_libdir}/%{name}
3d11c8
%dir %{_sysconfdir}/%{namearch}
3d11c8
%dir %{_libdir}/%{name}/bin
3d11c8
%dir %{_libdir}/%{name}/lib
3d11c8
%dir %{_libdir}/%{name}/lib/openmpi
3d11c8
%dir %{_mandir}/%{namearch}
3d11c8
%dir %{_mandir}/%{namearch}/man*
3d11c8
%dir %{_fmoddir}/%{namearch}
3d11c8
%dir %{_sysconfdir}/modulefiles/mpi
3d11c8
%dir %{python_sitearch}/%{name}
3d11c8
%config(noreplace) %{_sysconfdir}/%{namearch}/*
3d11c8
%{_libdir}/%{name}/bin/mpi[er]*
3d11c8
%{_libdir}/%{name}/bin/ompi*
3d11c8
%{_libdir}/%{name}/bin/opari
3d11c8
%{_libdir}/%{name}/bin/orte*
3d11c8
%{_libdir}/%{name}/bin/oshmem_info
3d11c8
%{_libdir}/%{name}/bin/oshrun
3d11c8
%{_libdir}/%{name}/bin/otf*
3d11c8
%{_libdir}/%{name}/bin/shmemrun
3d11c8
%{_libdir}/%{name}/lib/*.so.*
3d11c8
%{_mandir}/%{namearch}/man1/mpi[er]*
3d11c8
%{_mandir}/%{namearch}/man1/ompi*
3d11c8
%{_mandir}/%{namearch}/man1/orte[-dr_]*
3d11c8
%{_mandir}/%{namearch}/man1/oshmem_info*
3d11c8
%{_mandir}/%{namearch}/man1/oshrun*
3d11c8
%{_mandir}/%{namearch}/man1/shmemrun*
3d11c8
%{_mandir}/%{namearch}/man7/ompi*
3d11c8
%{_mandir}/%{namearch}/man7/orte*
3d11c8
%{_libdir}/%{name}/lib/openmpi/*
3d11c8
%{_sysconfdir}/modulefiles/mpi/%{namearch}
3d11c8
%dir %{_libdir}/%{name}/share
3d11c8
%dir %{_libdir}/%{name}/share/openmpi
3d11c8
%{_libdir}/%{name}/share/openmpi/doc
3d11c8
%{_libdir}/%{name}/share/openmpi/amca-param-sets
3d11c8
%{_libdir}/%{name}/share/openmpi/help*.txt
3d11c8
%{_libdir}/%{name}/share/openmpi/mca-btl-openib-device-params.ini
3d11c8
%{_libdir}/%{name}/share/openmpi/mca-coll-ml.config
3d11c8
3d11c8
%files devel
3d11c8
%dir %{_includedir}/%{namearch}
3d11c8
%dir %{_libdir}/%{name}/share/vampirtrace
3d11c8
%{_libdir}/%{name}/bin/mpi[cCf]*
3d11c8
%{_libdir}/%{name}/bin/opal_*
3d11c8
%{_libdir}/%{name}/bin/orte[cCf]*
3d11c8
%{_libdir}/%{name}/bin/osh[cf]*
3d11c8
%{_libdir}/%{name}/bin/shmem[cf]*
3d11c8
%{_libdir}/%{name}/bin/vt*
3d11c8
%{_includedir}/%{namearch}/*
3d11c8
%{_libdir}/%{name}/lib/*.so
3d11c8
%{_libdir}/%{name}/lib/lib*.a
3d11c8
%{_libdir}/%{name}/lib/mpi.mod
3d11c8
%{_mandir}/%{namearch}/man1/mpi[cCf]*
3d11c8
%{_mandir}/%{namearch}/man1/osh[cCf]*
3d11c8
%{_mandir}/%{namearch}/man1/shmem[cCf]*
3d11c8
%{_mandir}/%{namearch}/man1/opal_*
3d11c8
%{_mandir}/%{namearch}/man3/*
3d11c8
%{_mandir}/%{namearch}/man7/opal*
3d11c8
%{_libdir}/%{name}/share/openmpi/openmpi-valgrind.supp
3d11c8
%{_libdir}/%{name}/share/openmpi/*-wrapper-data.txt
3d11c8
%{_libdir}/%{name}/share/vampirtrace/*
3d11c8
%{_sysconfdir}/rpm/macros.%{namearch}
3d11c8
3d11c8
%ifnarch ppc ppc64
3d11c8
%global variant openmpi3
3d11c8
%global libname %{variant}%{?_cc_name_suffix}
3d11c8
%global namearch %{variant}-%{_arch}%{?_cc_name_suffix}
3d11c8
3d11c8
%files -n openmpi3%{?_cc_name_suffix}
3d11c8
%dir %{_libdir}/%{libname}
3d11c8
%dir %{_sysconfdir}/%{namearch}
3d11c8
%dir %{_libdir}/%{libname}/bin
3d11c8
%dir %{_libdir}/%{libname}/lib
3d11c8
%dir %{_libdir}/%{libname}/lib/openmpi
3d11c8
%dir %{_libdir}/%{libname}/lib/pmix
3d11c8
%dir %{_mandir}/%{namearch}
3d11c8
%dir %{_mandir}/%{namearch}/man*
3d11c8
%dir %{_fmoddir}/%{libname}
3d11c8
%dir %{_sysconfdir}/modulefiles/mpi
3d11c8
%dir %{python_sitearch}/%{libname}
3d11c8
%config(noreplace) %{_sysconfdir}/%{namearch}/*
3d11c8
%{_libdir}/%{libname}/bin/mpi[er]*
3d11c8
%{_libdir}/%{libname}/bin/ompi*
3d11c8
%{_libdir}/%{libname}/bin/orte[-dr_]*
3d11c8
%{_libdir}/%{libname}/bin/oshmem_info
3d11c8
%{_libdir}/%{libname}/bin/oshrun
3d11c8
%{_libdir}/%{libname}/bin/shmemrun
3d11c8
%{_libdir}/%{libname}/lib/*.so.*
3d11c8
%{_mandir}/%{namearch}/man1/mpi[er]*
3d11c8
%{_mandir}/%{namearch}/man1/ompi*
3d11c8
%{_mandir}/%{namearch}/man1/orte[-dr_]*
3d11c8
%{_mandir}/%{namearch}/man1/oshmem_info*
3d11c8
%{_mandir}/%{namearch}/man1/oshrun*
3d11c8
%{_mandir}/%{namearch}/man1/shmemrun*
3d11c8
%{_mandir}/%{namearch}/man7/orte*
3d11c8
%{_mandir}/%{namearch}/man7/ompi*
3d11c8
%{_mandir}/%{namearch}/man7/opal*
3d11c8
%{_libdir}/%{libname}/lib/openmpi/*
3d11c8
%{_libdir}/%{libname}/lib/pmix/*.so
3d11c8
%{_sysconfdir}/modulefiles/mpi/%{namearch}
3d11c8
%dir %{_libdir}/%{libname}/share
3d11c8
%dir %{_libdir}/%{libname}/share/openmpi
3d11c8
%dir %{_libdir}/%{libname}/share/pmix
3d11c8
%{_libdir}/%{libname}/share/openmpi/amca-param-sets
3d11c8
%{_libdir}/%{libname}/share/openmpi/help*.txt
3d11c8
%{_libdir}/%{libname}/share/pmix/help*.txt
3d11c8
%{_libdir}/%{libname}/share/openmpi/mca-btl-openib-device-params.ini
3d11c8
3d11c8
%files -n openmpi3%{?_cc_name_suffix}-devel
3d11c8
%dir %{_includedir}/%{namearch}
3d11c8
%{_libdir}/%{libname}/bin/mpi[cCf]*
3d11c8
%{_libdir}/%{libname}/bin/opal_*
3d11c8
%{_libdir}/%{libname}/bin/orte[cCf]*
3d11c8
%{_libdir}/%{libname}/bin/osh[cCf]*
3d11c8
%{_libdir}/%{libname}/bin/shmem[cCf]*
3d11c8
%{_includedir}/%{namearch}/*
3d11c8
%{_fmoddir}/%{libname}/
3d11c8
%{_libdir}/%{libname}/lib/*.so
3d11c8
%{_libdir}/%{libname}/lib/*.mod
3d11c8
%{_libdir}/%{libname}/lib/pkgconfig/
3d11c8
%{_libdir}/pkgconfig/*.pc
3d11c8
%{_mandir}/%{namearch}/man1/mpi[cCf]*
3d11c8
%{_mandir}/%{namearch}/man1/osh[cCf]*
3d11c8
%{_mandir}/%{namearch}/man1/shmem[cCf]*
3d11c8
%{_mandir}/%{namearch}/man1/opal_*
3d11c8
%{_mandir}/%{namearch}/man3/*
3d11c8
%{_libdir}/%{libname}/share/openmpi/openmpi-valgrind.supp
3d11c8
%{_libdir}/%{libname}/share/pmix/pmix-valgrind.supp
3d11c8
%{_libdir}/%{libname}/share/openmpi/*-wrapper-data.txt
3d11c8
%{macrosdir}/macros.%{namearch}
3d11c8
%endif
3d11c8
3d11c8
%ifnarch s390 s390x
3d11c8
%global variant compat-openmpi16
3d11c8
%global libname %{variant}%{?_cc_name_suffix}
3d11c8
%global namearch %{variant}-%{_arch}%{?_cc_name_suffix}
3d11c8
3d11c8
%files -n compat-openmpi16%{?_cc_name_suffix}
3d11c8
%dir %{_libdir}/%{libname}
3d11c8
%dir %{_sysconfdir}/%{namearch}
3d11c8
%dir %{_libdir}/%{libname}/bin
3d11c8
%dir %{_libdir}/%{libname}/lib
3d11c8
%dir %{_libdir}/%{libname}/lib/openmpi
3d11c8
%dir %{_mandir}/%{namearch}
3d11c8
%dir %{_mandir}/%{namearch}/man*
3d11c8
%dir %{_fmoddir}/%{namearch}
3d11c8
%dir %{_sysconfdir}/modulefiles/mpi
3d11c8
%dir %{python_sitearch}/%{libname}
3d11c8
%config(noreplace) %{_sysconfdir}/%{namearch}/*
3d11c8
%{_libdir}/%{libname}/bin/mpi[er]*
3d11c8
%{_libdir}/%{libname}/bin/ompi*
3d11c8
#%{_libdir}/%{libname}/bin/opal-*
3d11c8
%{_libdir}/%{libname}/bin/opari
3d11c8
%{_libdir}/%{libname}/bin/orte*
3d11c8
%{_libdir}/%{libname}/bin/otf*
3d11c8
%{_libdir}/%{libname}/lib/*.so.*
3d11c8
%{_mandir}/%{namearch}/man1/mpi[er]*
3d11c8
%{_mandir}/%{namearch}/man1/ompi*
3d11c8
#%{_mandir}/%{namearch}/man1/opal-*
3d11c8
%{_mandir}/%{namearch}/man1/orte*
3d11c8
%{_mandir}/%{namearch}/man7/ompi*
3d11c8
%{_mandir}/%{namearch}/man7/orte*
3d11c8
%{_libdir}/%{libname}/lib/openmpi/*
3d11c8
%{_sysconfdir}/modulefiles/mpi/%{namearch}
3d11c8
#%files common
3d11c8
%dir %{_libdir}/%{libname}/share
3d11c8
%dir %{_libdir}/%{libname}/share/openmpi
3d11c8
%{_libdir}/%{libname}/share/openmpi/doc
3d11c8
%{_libdir}/%{libname}/share/openmpi/amca-param-sets
3d11c8
%{_libdir}/%{libname}/share/openmpi/help*.txt
3d11c8
%{_libdir}/%{libname}/share/openmpi/mca-btl-openib-device-params.ini
3d11c8
3d11c8
%files -n compat-openmpi16%{?_cc_name_suffix}-devel
3d11c8
%dir %{_includedir}/%{namearch}
3d11c8
%dir %{_libdir}/%{libname}/share/vampirtrace
3d11c8
%{_libdir}/%{libname}/bin/mpi[cCf]*
3d11c8
%{_libdir}/%{libname}/bin/vt*
3d11c8
%{_libdir}/%{libname}/bin/opal_*
3d11c8
%{_includedir}/%{namearch}/*
3d11c8
%{_libdir}/%{libname}/lib/*.so
3d11c8
%{_libdir}/%{libname}/lib/lib*.a
3d11c8
%{_libdir}/%{libname}/lib/mpi.mod
3d11c8
%{_mandir}/%{namearch}/man1/mpi[cCf]*
3d11c8
%{_mandir}/%{namearch}/man1/opal_*
3d11c8
%{_mandir}/%{namearch}/man3/*
3d11c8
%{_mandir}/%{namearch}/man7/opal*
3d11c8
%{_libdir}/%{libname}/share/openmpi/openmpi-valgrind.supp
3d11c8
%{_libdir}/%{libname}/share/openmpi/mpi*.txt
3d11c8
%{_libdir}/%{libname}/share/openmpi/orte*.txt
3d11c8
%{_libdir}/%{libname}/share/vampirtrace/*
3d11c8
%{_sysconfdir}/rpm/macros.%{namearch}
3d11c8
%endif
3d11c8
3d11c8
%changelog
00b9d7
* Wed Jun 13 2018 Jarod Wilson <jarod@redhat.com> - 1.10.7-2
00b9d7
- Update openmpi3 sub-package to OpenMPI v3.0.2
00b9d7
- Resolves: #1483570
00b9d7
3d11c8
* Fri Nov 03 2017 Michal Schmidt <mschmidt@redhat.com> - 1.10.7-1
3d11c8
- Update to upstream release 1.10.7.
3d11c8
- Add Open MPI 3.0.0 subpackage (openmpi3).
3d11c8
- Resolves: #1452826
3d11c8
3d11c8
* Fri Sep 15 2017 Michal Schmidt <mschmidt@redhat.com> - 1.10.6-3
3d11c8
- Fix openib segfault when not all devices are usable.
3d11c8
- Resolves: #1475835
3d11c8
3d11c8
* Wed Apr 19 2017 Michal Schmidt <mschmidt@redhat.com> - 1.10.6-2
3d11c8
- Add Chelsio T6 adapter device parameters.
3d11c8
- Fix License tag format.
3d11c8
- Resolves: #1435249
3d11c8
3d11c8
* Fri Mar 24 2017 Michal Schmidt <mschmidt@redhat.com> - 1.10.6-1
3d11c8
- Update to upstream release 1.10.6.
3d11c8
- Fix missing RPM provides.
3d11c8
- Resolves: #1382800
3d11c8
- Resolves: #1365792
3d11c8
3d11c8
* Thu Aug 04 2016 Michal Schmidt <mschmidt@redhat.com> - 1.10.3-3
3d11c8
- Restore libmpi_usempi.so.1.
3d11c8
- Related: #1273175
3d11c8
3d11c8
* Tue Jul 05 2016 Michal Schmidt <mschmidt@redhat.com> - 1.10.3-2
3d11c8
- Rebuild against current libpsm2.
3d11c8
- Related: #1273175
3d11c8
3d11c8
* Fri Jun 17 2016 Michal Schmidt <mschmidt@redhat.com> - 1.10.3-1
3d11c8
- Update to upstream release 1.10.3.
3d11c8
- Stop excluding psm2 MTL by default. The psm/psm2 conflict has been resolved.
3d11c8
- Resolves: #1273175
3d11c8
- Resolves: #1285292
3d11c8
3d11c8
* Thu Sep 03 2015 Michal Schmidt <mschmidt@redhat.com> - 1.10.0-10
3d11c8
- Remove psm2 package variant. Instead use MCA exclusion using config file.
3d11c8
- Related: #947311
3d11c8
- Related: #1173305
3d11c8
3d11c8
* Tue Sep 01 2015 Michal Schmidt <mschmidt@redhat.com> - 1.10.0-8
3d11c8
- Differentiate MPI_COMPILER and MPI_SUFFIX in the variants.
3d11c8
- Related: #947311
3d11c8
- Related: #1173305
3d11c8
3d11c8
* Mon Aug 31 2015 Michal Schmidt <mschmidt@redhat.com> - 1.10.0-6
3d11c8
- Avoid macro expansion in old changelog entry.
3d11c8
- Related: #947311
3d11c8
- Related: #1173305
3d11c8
3d11c8
* Fri Aug 28 2015 Michal Schmidt <mschmidt@redhat.com> - 1.10.0-4
3d11c8
- Disambiguate names of rpm macros among the built variants.
3d11c8
- Use --with-verbs instead of the deprecated synonym --with-openib.
3d11c8
- Related: #947311
3d11c8
- Related: #1173305
3d11c8
3d11c8
* Thu Aug 27 2015 Michal Schmidt <mschmidt@redhat.com> - 1.10.0-3
3d11c8
- Workaround psm vs psm2 conflict by having two separate packages.
3d11c8
- Related: #947311
3d11c8
- Related: #1173305
3d11c8
3d11c8
* Tue Aug 25 2015 Michal Schmidt <mschmidt@redhat.com> - 1.10.0-1
3d11c8
- New upstream release v1.10.
3d11c8
- Added 1.6 compat package.
3d11c8
- Resolves: #947311
3d11c8
- Resolves: #1173305
3d11c8
3d11c8
* Fri Sep 12 2014 Dan Horák <dhorak@redhat.com> - 1.6.4-5
3d11c8
- add support for aarch64 (backport by Marcin Juszkiewicz)
3d11c8
- Resolves: #1132244
3d11c8
3d11c8
* Tue Sep 9 2014 Dan Horák <dhorak@redhat.com> - 1.6.4-4
3d11c8
- add support for ppc64le
3d11c8
- Resolves: #1125635
3d11c8
3d11c8
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.6.4-3
3d11c8
- Mass rebuild 2013-12-27
3d11c8
3d11c8
* Mon Apr 8 2013 Jay Fenlason <fenlason@redhat.com> 1.6.4-2.1
3d11c8
- Re-merge the fixes needed to build on RHEL-7.
3d11c8
- Resolves: rhbz927802
3d11c8
3d11c8
* Sat Feb 23 2013 Orion Poplawski <orion@cora.nwra.com> 1.6.4-2
3d11c8
- Exclude libopen-trace.* from requires
3d11c8
3d11c8
* Fri Feb 22 2013 Orion Poplawski <orion@cora.nwra.com> 1.6.4-1
3d11c8
- Update to 1.6.4
3d11c8
- Drop f90sover and arm-atomics patch fixed upstream
3d11c8
3d11c8
* Mon Jan 28 2013 Orion Poplawski <orion@cora.nwra.com> 1.6.3-7
3d11c8
- Make __requires_exclude more specific so we don't exclude needed libs
3d11c8
  (bug #905263)
3d11c8
3d11c8
* Sun Nov 18 2012 Peter Robinson <pbrobinson@fedoraproject.org> 1.6.3-6
3d11c8
- Update atomics patch for ARM (thanks to Jon Masters)
3d11c8
3d11c8
* Sun Nov 11 2012 Peter Robinson <pbrobinson@fedoraproject.org> 1.6.3-5
3d11c8
- Atomics patch to fix building on ARM (thanks to Jon Masters)
3d11c8
3d11c8
* Mon Nov 5 2012 Orion Poplawski <orion@cora.nwra.com> 1.6.3-4
3d11c8
- Add patch to fix libmpi_f90.so version
3d11c8
- Add patch to link tests with system libltdl
3d11c8
- Run make check
3d11c8
3d11c8
* Fri Nov 2 2012 Orion Poplawski <orion@cora.nwra.com> 1.6.3-3
3d11c8
- Set enable-opal-multi-threads for IB support
3d11c8
3d11c8
* Thu Nov 1 2012 Orion Poplawski <orion@cora.nwra.com> 1.6.3-2
3d11c8
- Update rpm macros to use the new module location
3d11c8
3d11c8
* Wed Oct 31 2012 Orion Poplawski <orion@cora.nwra.com> 1.6.3-1
3d11c8
- Update to 1.6.3
3d11c8
3d11c8
* Sat Oct 13 2012 Orion Poplawski <orion@cora.nwra.com> 1.6.2-1
3d11c8
- Update to 1.6.2
3d11c8
- Add BR torque-devel to enable torque support
3d11c8
- Drop old module file location (bug #838467)
3d11c8
3d11c8
* Thu Sep 13 2012 Orion Poplawski <orion@cora.nwra.com> 1.6.1-2
3d11c8
- Drop adding -fPIC, no longer needed
3d11c8
- Set --disable-silent-rules for more verbose build logs
3d11c8
- Don't add opt_*flags to the wrappers
3d11c8
- Only use $RPM_OPT_FLAGS if not using the opt_*flags
3d11c8
3d11c8
* Thu Aug 23 2012 Orion Poplawski <orion@cora.nwra.com> 1.6.1-1
3d11c8
- Update to 1.6.1
3d11c8
- Drop hostfile patch applied upstream
3d11c8
3d11c8
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6-3
3d11c8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
3d11c8
3d11c8
* Tue May 15 2012 Orion Poplawski <orion@cora.nwra.com> 1.6-2
3d11c8
- Add patch from upstream to fix default hostfile location
3d11c8
3d11c8
* Tue May 15 2012 Orion Poplawski <orion@cora.nwra.com> 1.6-1
3d11c8
- Update to 1.6
3d11c8
- Drop arm patch, appears to be addressed upstream
3d11c8
- Remove extraneous wrapper link libraries (bug 814798)
3d11c8
3d11c8
* Tue Apr  3 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 1.5.5-1
3d11c8
- Update to 1.5.5
3d11c8
3d11c8
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.4-5.1
3d11c8
- Rebuilt for c++ ABI breakage
3d11c8
3d11c8
* Wed Feb 22 2012 Orion Poplawski <orion@cora.nwra.com> 1.5.4-4.1
3d11c8
- Rebuild with hwloc 1.4
3d11c8
3d11c8
* Wed Feb 15 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 1.5.4-4
3d11c8
- Rebuild for hwloc soname bump
3d11c8
3d11c8
* Fri Jan 20 2012 Doug Ledford <dledford@redhat.com> - 1.5.4-3
3d11c8
- Move modules file to mpi directory and make it conflict with any other
3d11c8
  mpi module (bug #651074)
3d11c8
3d11c8
* Sun Jan 8 2012 Orion Poplawski <orion@cora.nwra.com> 1.5.4-2
3d11c8
- Rebuild with gcc 4.7 (bug #772443)
3d11c8
3d11c8
* Thu Nov 17 2011 Orion Poplawski <orion@cora.nwra.com> 1.5.4-1
3d11c8
- Update to 1.5.4
3d11c8
- Drop dt-textrel patch fixed upstream
3d11c8
- Fixup handling removed files (bug #722534)
3d11c8
- Uses hwloc instead of plpa
3d11c8
- Exclude private libraries from provides/requires (bug #741104)
3d11c8
- Drop --enable-mpi-threads & --enable-openib-ibcm, no longer recognized
3d11c8
3d11c8
* Sat Jun 18 2011 Peter Robinson <pbrobinson@gmail.com> 1.5-4
3d11c8
- Exclude ARM platforms due to current lack of "atomic primitives" on the platform
3d11c8
3d11c8
* Thu Mar 17 2011 Jay Fenlason <fenlason@redhat.com> 1.5-3
3d11c8
- Add dt-textrel patch to close
3d11c8
  Resolves: bz679489
3d11c8
- Add memchecker and esmtp support
3d11c8
  Resolves: bz647011
3d11c8
3d11c8
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-2
3d11c8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
3d11c8
3d11c8
* Mon Oct 18 2010 Jay Fenlason <fenlason@redhat.com> 1.5-1
3d11c8
- set MANPATH in openmpi module file
3d11c8
- Upgrade to 1.5
3d11c8
- Workaround for rhbz#617766 appears to no longer be needed for 1.5
3d11c8
- remove pkgconfig files in instal
3d11c8
- Remove orteCC.1 dangling symlink
3d11c8
- Adjust the files entries for share/openmpi/help* and share/openmpi/mca*
3d11c8
- Adjust the files entries for share/openmpi/mpi*
3d11c8
- Add files entry for share/openmpi/orte*.txt
3d11c8
3d11c8
* Sun Sep 05 2010 Dennis Gilmore <dennis@ausil.us> - 1.4.1-7
3d11c8
- disable valgrind support on sparc arches
3d11c8
3d11c8
* Sat Jul 24 2010 David Malcolm <dmalcolm@redhat.com> - 1.4.1-6
3d11c8
- workaround for rhbz#617766
3d11c8
3d11c8
* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 1.4.1-5
3d11c8
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
3d11c8
3d11c8
* Mon Mar 29 2010 Jay Fenlason <fenlason@redhat.com> - 1.4.1-4
3d11c8
- Update to fix licencing and packaging issues:
3d11c8
  Use the system plpa and ltdl librarires rather than the ones in the tarball
3d11c8
  Remove licence incompatible files from the tarball.
3d11c8
- update module.in to prepend-path		PYTHONPATH
3d11c8
3d11c8
* Tue Mar 9 2010 Jay Fenlason <fenlason@redhat.com> - 1.4.1-3
3d11c8
- remove the pkgconfig file completely like we did in RHEL.
3d11c8
3d11c8
* Tue Jan 26 2010 Jay Fenlason <fenlason@redhat.com> - 1.4.1-2
3d11c8
- BuildRequires: python
3d11c8
3d11c8
* Tue Jan 26 2010 Jay Fenlason <fenlason@redhat.com> - 1.4.1-1
3d11c8
- New upstream version, which includes the changeset_r22324 patch.
3d11c8
- Correct a typo in the Source0 line in this spec file.
3d11c8
3d11c8
* Fri Jan 15 2010 Doug Ledford <dledford@redhat.com> - 1.4-4
3d11c8
- Fix an issue with usage of _cc_name_suffix that cause a broken define in
3d11c8
  our module file
3d11c8
3d11c8
* Fri Jan 15 2010 Doug Ledford <dledford@redhat.com> - 1.4-3
3d11c8
- Fix pkgconfig file substitution
3d11c8
- Bump version so we are later than the equivalent version from Red Hat
3d11c8
  Enterprise Linux
3d11c8
3d11c8
* Wed Jan 13 2010 Doug Ledford <dledford@redhat.com> - 1.4-1
3d11c8
- Update to latest upstream stable version
3d11c8
- Add support for libibcm usage
3d11c8
- Enable sge support via configure options since it's no longer on by default
3d11c8
- Add patch to resolve allreduce issue (bz538199)
3d11c8
- Remove no longer needed patch for Chelsio cards
3d11c8
3d11c8
* Tue Sep 22 2009 Jay Fenlason <fenlason@redhat.com> - 1.3.3-6
3d11c8
- Create and own man* directories for use by dependent packages.
3d11c8
3d11c8
* Wed Sep 16 2009 Jay Fenlason <fenlason@redhat.com> - 1.3.3-5
3d11c8
- Move the module file from %%{_datadir}/Modules/modulefiles/%%{namearch} to
3d11c8
  %%{_sysconfdir}/modulefiles/%%{namearch} where it belongs.
3d11c8
- Have the -devel subpackage own the man1 and man7 directories for completeness.
3d11c8
- Add a blank line before the clean section.
3d11c8
- Remove --enable-mpirun-prefix-by-default from configure.
3d11c8
3d11c8
* Wed Sep 9 2009 Jay Fenlason <fenlason@redhat.com> - 1.3.3-4
3d11c8
- Modify packaging to conform to
3d11c8
  https://fedoraproject.org/wiki/PackagingDrafts/MPI (bz521334).
3d11c8
- remove --with-ft=cr from configure, as it was apparently causing problems
3d11c8
  for some people.
3d11c8
- Add librdmacm-devel and librdmacm to BuildRequires (related bz515565).
3d11c8
- Add openmpi-bz515567.patch to add support for the latest Chelsio device IDs
3d11c8
  (related bz515567).
3d11c8
- Add exclude-arch (s390 s390x) because we don't have required -devel packages
3d11c8
  there.
3d11c8
3d11c8
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.3-3
3d11c8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
3d11c8
3d11c8
* Tue Jul 21 2009 Doug Ledford <dledford@redhat.com> - 1.3.3-2
3d11c8
- Add MPI_BIN and MPI_LIB to the modules file (related bz511099)
3d11c8
3d11c8
* Tue Jul 21 2009 Doug Ledford <dledford@redhat.com> - 1.3.3-1
3d11c8
- Make sure all created dirs are owned (bz474677)
3d11c8
- Fix loading of pkgconfig file (bz476844)
3d11c8
- Resolve file conflict between us and libotf (bz496131)
3d11c8
- Resolve dangling symlinks issue (bz496909)
3d11c8
- Resolve unexpanded %%{mode} issues (bz496911)
3d11c8
- Restore -devel subpackage (bz499851)
3d11c8
- Make getting the default openmpi devel environment easier (bz504357)
3d11c8
- Make the -devel package pull in the base package (bz459458)
3d11c8
- Make it easier to use alternative compilers to build package (bz246484)
3d11c8
3d11c8
* Sat Jul 18 2009 Jussi Lehtola <jussilehtola@fedoraproject.org> - 1.3.1-4
3d11c8
- Add Provides: openmpi-devel to fix other package builds in rawhide.
3d11c8
3d11c8
* Fri May 08 2009 Lubomir Rintel <lkundrak@v3.sk> - 1.3.1-3
3d11c8
- Treat i586 the same way as i386
3d11c8
3d11c8
* Wed Apr 22 2009 Doug Ledford <dledford@redhat.com> - 1.3.1-2
3d11c8
- fixed broken update
3d11c8
- Resolves: bz496909, bz496131, bz496911
3d11c8
3d11c8
* Tue Apr 14 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 1.3.1-1
3d11c8
- update to 1.3.1, cleanup alternatives, spec, make new vt subpackage
3d11c8
3d11c8
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.4-3
3d11c8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
3d11c8
3d11c8
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.2.4-2
3d11c8
- Autorebuild for GCC 4.3
3d11c8
3d11c8
* Wed Oct 17 2007 Doug Ledford <dledford@redhat.com> - 1.2.4-1
3d11c8
- Update to 1.2.4 upstream version
3d11c8
- Build against libtorque
3d11c8
- Pass a valid mode to open
3d11c8
- Resolves: bz189441, bz265141
3d11c8
3d11c8
* Tue Aug 28 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 1.2.3-5
3d11c8
- Rebuild for selinux ppc32 issue.
3d11c8
3d11c8
* Mon Jul 16 2007 Doug Ledford <dledford@redhat.com> - 1.2.3-4
3d11c8
- Fix a directory permission problem on the base openmpi directories
3d11c8
3d11c8
* Thu Jul 12 2007 Florian La Roche <laroche@redhat.com> - 1.2.3-3
3d11c8
- requires alternatives for various sub-rpms
3d11c8
3d11c8
* Mon Jul 02 2007 Doug Ledford <dledford@redhat.com> - 1.2.3-2
3d11c8
- Fix dangling symlink issue caused by a bad macro usage
3d11c8
- Resolves: bz246450
3d11c8
3d11c8
* Wed Jun 27 2007 Doug Ledford <dledford@redhat.com> - 1.2.3-1
3d11c8
- Update to latest upstream version
3d11c8
- Fix file ownership on -libs package
3d11c8
- Take a swing at solving the multi-install compatibility issues
3d11c8
3d11c8
* Mon Feb 19 2007 Doug Ledford <dledford@redhat.com> - 1.1.1-7
3d11c8
- Bump version to be at least as high as the RHEL4U5 openmpi
3d11c8
- Integrate fixes made in RHEL4 openmpi into RHEL5 (fix a multilib conflict
3d11c8
  for the openmpi.module file by moving from _datadir to _libdir, make sure
3d11c8
  all sed replacements have the g flag so they replace all instances of
3d11c8
  the marker per line, not just the first, and add a %%defattr tag to the
3d11c8
  files section of the -libs package to avoid install errors about
3d11c8
  brewbuilder not being a user or group)
3d11c8
- Resolves: bz229298
3d11c8
3d11c8
* Wed Jan 17 2007 Doug Ledford <dledford@redhat.com> - 1.1.1-5
3d11c8
- Remove the FORTIFY_SOURCE and stack protect options
3d11c8
- Related: bz213075
3d11c8
3d11c8
* Fri Oct 20 2006 Doug Ledford <dledford@redhat.com> - 1.1.1-4
3d11c8
- Bump and build against the final openib-1.1 package
3d11c8
3d11c8
* Wed Oct 18 2006 Doug Ledford <dledford@redhat.com> - 1.1.1-3
3d11c8
- Fix an snprintf length bug in opal/util/cmd_line.c
3d11c8
- RESOLVES: rhbz#210714
3d11c8
3d11c8
* Wed Oct 18 2006 Doug Ledford <dledford@redhat.com> - 1.1.1-2
3d11c8
- Bump and build against openib-1.1-0.pre1.1 instead of 1.0
3d11c8
3d11c8
* Tue Oct 17 2006 Doug Ledford <dledford@redhat.com> - 1.1.1-1
3d11c8
- Update to upstream 1.1.1 version
3d11c8
3d11c8
* Fri Oct 13 2006 Doug Ledford <dledford@redhat.com> - 1.1-7
3d11c8
- ia64 can't take -m64 on the gcc command line, so don't set it there
3d11c8
3d11c8
* Wed Oct 11 2006 Doug Ledford <dledford@redhat.com> - 1.1-6
3d11c8
- Bump rev to match fc6 rev
3d11c8
- Fixup some issue with alternatives support
3d11c8
- Split the 32bit and 64bit libs ld.so.conf.d files into two files so
3d11c8
  multilib or single lib installs both work properly
3d11c8
- Put libs into their own package
3d11c8
- Add symlinks to /usr/share/openmpi/bin%%{mode} so that opal_wrapper-%%{mode}
3d11c8
  can be called even if it isn't the currently selected default method in
3d11c8
  the alternatives setup (opal_wrapper needs to be called by mpicc, mpic++,
3d11c8
  etc. in order to determine compile mode from argv[0]).
3d11c8
3d11c8
* Sun Aug 27 2006 Doug Ledford <dledford@redhat.com> - 1.1-4
3d11c8
- Make sure the post/preun scripts only add/remove alternatives on initial
3d11c8
  install and final removal, otherwise don't touch.
3d11c8
3d11c8
* Fri Aug 25 2006 Doug Ledford <dledford@redhat.com> - 1.1-3
3d11c8
- Don't ghost the mpi.conf file as that means it will get removed when
3d11c8
  you remove 1 out of a number of alternatives based packages
3d11c8
- Put the .mod file in -devel
3d11c8
3d11c8
* Mon Aug  7 2006 Doug Ledford <dledford@redhat.com> - 1.1-2
3d11c8
- Various lint cleanups
3d11c8
- Switch to using the standard alternatives mechanism instead of a home
3d11c8
  grown one
3d11c8
3d11c8
* Wed Aug  2 2006 Doug Ledford <dledford@redhat.com> - 1.1-1
3d11c8
- Upgrade to 1.1
3d11c8
- Build with Infiniband support via openib
3d11c8
3d11c8
* Mon Jun 12 2006 Jason Vas Dias <jvdias@redhat.com> - 1.0.2-1
3d11c8
- Upgrade to 1.0.2
3d11c8
3d11c8
* Wed Feb 15 2006 Jason Vas Dias <jvdias@redhat.com> - 1.0.1-1
3d11c8
- Import into Fedora Core
3d11c8
- Resolve LAM clashes 
3d11c8
3d11c8
* Wed Jan 25 2006 Orion Poplawski <orion@cora.nwra.com> - 1.0.1-2
3d11c8
- Use configure options to install includes and libraries
3d11c8
- Add ld.so.conf.d file to find libraries
3d11c8
- Add -fPIC for x86_64
3d11c8
3d11c8
* Tue Jan 24 2006 Orion Poplawski <orion@cora.nwra.com> - 1.0.1-1
3d11c8
- 1.0.1
3d11c8
- Use alternatives
3d11c8
3d11c8
* Sat Nov 19 2005 Ed Hill <ed@eh3.com> - 1.0-2
3d11c8
- fix lam conflicts
3d11c8
3d11c8
* Fri Nov 18 2005 Ed Hill <ed@eh3.com> - 1.0-1
3d11c8
- initial specfile created
3d11c8