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