mvapich2/mvapich2.spec

130 lines
3.8 KiB
RPMSpec
Raw Permalink Normal View History

Name: mvapich2
Version: 2.1a
Release: 1mamba
Summary: a high performance MPI-2 implementation for InfiniBand, 10GigE/iWARP and RoCE
Group: Applications/Networking
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://mvapich.cse.ohio-state.edu
Source: http://mvapich.cse.ohio-state.edu/download/mvapich/mv2/mvapich2-%{version}.tar.gz
License: BSD
## AUTOBUILDREQ-BEGIN
BuildRequires: gcc-fortran
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libibmad-devel
BuildRequires: libibumad-devel
BuildRequires: libibverbs-devel
BuildRequires: liblzma-devel
BuildRequires: libpciaccess-devel
BuildRequires: libquadmath-devel
BuildRequires: libstdc++6-devel
BuildRequires: libxml2-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
MVAPICH2 is a high performance MPI-2 implementation (with initial support for MPI-3) for InfiniBand, 10GigE/iWARP and RoCE.
MVAPICH2 delivers best performance, scalability and fault tolerance for high-end computing systems and servers. MVAPICH2 provides underlying support for several interfaces (such as OFA-IB, OFA-iWARP, OFA-RoCE, PSM, Shared Memory, and TCP) for portability across multiple networks.
%package -n lib%{name}
Group: System/Libraries
Summary: Shared libraries for %{name}
%description -n lib%{name}
This package contains shared libraries for %{name}.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: pkg-config
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
%build
%configure \
--program-suffix=.mvapich2 \
--includedir=%{_includedir}/mvapich2
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_bindir}/hydra_nameserver.mvapich2
%{_bindir}/hydra_persist.mvapich2
%{_bindir}/hydra_pmi_proxy.mvapich2
%{_bindir}/mpichversion.mvapich2
%{_bindir}/mpiexec.mvapich2
%{_bindir}/mpiexec.hydra.mvapich2
%{_bindir}/mpiexec.mpirun_rsh.mvapich2
%{_bindir}/mpiname.mvapich2
%{_bindir}/mpirun.mvapich2
%{_bindir}/mpirun_rsh.mvapich2
%{_bindir}/mpispawn.mvapich2
%{_bindir}/mpivars.mvapich2
%{_bindir}/parkill.mvapich2
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/libmpi.so.*
%{_libdir}/libmpicxx.so.*
%{_libdir}/libmpifort.so.*
%dir %{_libexecdir}/mvapich2
%{_libexecdir}/mvapich2/osu_*
%files -n lib%{name}-devel
%defattr(-,root,root)
%{_bindir}/mpic++.mvapich2
%{_bindir}/mpicc.mvapich2
%{_bindir}/mpicxx.mvapich2
%{_bindir}/mpif77.mvapich2
%{_bindir}/mpif90.mvapich2
%{_bindir}/mpifort.mvapich2
%dir %{_includedir}/mvapich2
%{_includedir}/mvapich2/*.mod
%{_includedir}/mvapich2/*.h
%dir %{_includedir}/mvapich2/primitives/opa_*.h
%{_includedir}/mvapich2/primitives/opa_*.h
%{_libdir}/libfmpich.so
%{_libdir}/libmpi.a
%{_libdir}/libmpi.la
%{_libdir}/libmpi.so
%{_libdir}/libmpich.so
%{_libdir}/libmpichcxx.so
%{_libdir}/libmpichf90.so
%{_libdir}/libmpicxx.a
%{_libdir}/libmpicxx.la
%{_libdir}/libmpicxx.so
%{_libdir}/libmpifort.a
%{_libdir}/libmpifort.la
%{_libdir}/libmpifort.so
%{_libdir}/libmpl.so
%{_libdir}/libopa.so
%{_libdir}/pkgconfig/mvapich2.pc
%{_libdir}/pkgconfig/openpa.pc
#%doc CHANGES README README.envvar
%changelog
* Tue Oct 14 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1a-1mamba
- package created using the webbuild interface