Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
openSUSE:Leap:42.1
mvapich2-testsuite
mvapich2-psm.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mvapich2-psm.spec of Package mvapich2-testsuite
# # spec file for package mvapich2-psm # # Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # ############################################################################# # # # NOTE: If you modify this spec file, or the .changes file you MUST run # # 'bash ./pre_checkin.sh' to create spec and changes for # # mvapich2-testuite. # # # ############################################################################# #%%define rc_ver rc2 Name: mvapich2-psm Summary: OSU MVAPICH2 MPI package License: BSD-3-Clause Group: Development/Libraries/Parallel Version: 2.0 Release: 0 Source0: http://mvapich.cse.ohio-state.edu/download/mvapich2/mv2/mvapich2-%{version}.tar.gz Source1: mpivars.sh Source2: mpivars.csh Patch0: mvapich-s390_get_cycles.patch Patch1: mvapich2-pthread_yield.patch Url: http://mvapich.cse.ohio-state.edu/overview/mvapich2/ BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: autoconf BuildRequires: autoconf BuildRequires: automake BuildRequires: automake BuildRequires: bison BuildRequires: gcc-c++ BuildRequires: gcc-fortran BuildRequires: libibmad-devel BuildRequires: libibumad-devel BuildRequires: libibverbs-devel BuildRequires: librdmacm-devel BuildRequires: libtool BuildRequires: libtool BuildRequires: mpi-selector BuildRequires: python-devel BuildRequires: sysfsutils BuildRequires: xorg-x11-devel # mvapich needs asm/timex.h which seems to be missing from the glibc kernel headers ExcludeArch: aarch64 %if "%{name}" == "mvapich2-psm" ExclusiveArch: %ix86 x86_64 BuildRequires: infinipath-psm-devel %endif Requires: mpi-selector %define _prefix /usr/%_lib/mpi/gcc/mvapich2 %define _libexecdir %{_prefix}/lib %description This is an MPI-3 implementation which includes all MPI-1 features. It is based on MPICH2 and MVICH. %if "%{name}" == "mvapich2" || "%{name}" == "mvapich2-psm" %package devel Summary: OSU MVAPICH2 MPI package Group: Development/Libraries/Parallel Requires: %{name} = %{version} Requires: libibumad-devel Requires: libibverbs-devel Requires: librdmacm-devel %if "%{name}" == "mvapich2-psm" Requires: infinipath-psm-devel %endif %description devel This is an MPI-2 implementation which includes all MPI-1 features. It is based on MPICH2 and MVICH. %package devel-static Summary: OSU MVAPICH2 MPI package - static libraries Group: Development/Libraries/Parallel Requires: %{name}-devel = %{version} %description devel-static This is an MPI-3 implementation which includes all MPI-1 and MPI-2 features. It is based on MPICH2 and MVICH. This package contains the static libraries %endif %prep %setup -q -n mvapich2-%{version}%{?rc_ver} %patch0 %patch1 cp /usr/share/automake*/config.* . %build ./autogen.sh export CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%_prefix --libdir=%_libdir --mandir=%_mandir --sysconfdir=%_sysconfdir --libexecdir=%{_libexecdir} \ %if "%{name}" == "mvapich2-psm" --with-device=ch3:psm \ %endif --enable-shared --without-mpe --disable-silent-rules make %{?_smp_mflags} %if "%{name}" == "mvapich2-testsuite" %check make check %endif %install make DESTDIR=%{buildroot} install # make and install mpivars files sed 's,prefix,%_prefix,g' %{S:1} > %{buildroot}%{_bindir}/mpivars.sh sed 's,prefix,%_prefix,g' %{S:2} > %{buildroot}%{_bindir}/mpivars.csh rm -f %{buildroot}%{_libdir}/libfmpich.la \ %{buildroot}%{_libdir}/libmpich.la \ %{buildroot}%{_libdir}/libmpichcxx.la \ %{buildroot}%{_libdir}/libmpichf90.la \ %{buildroot}%{_libdir}/libmpl.la \ %{buildroot}%{_libdir}/libopa.la %if "%{name}" == "mvapich2-testsuite" rm -rf %{buildroot}%{_libdir}/pkgconfig rm -rf %{buildroot}%{_includedir} rm -rf %{buildroot}%{_mandir}/man3/* rm -rf %{buildroot}%{_libdir}/*.so rm -rf %{buildroot}%{_libdir}/pkgconfig/mvapich2.pc rm -rf %{buildroot}%{_libdir}/pkgconfig/openpa.pc rm -rf %{buildroot}%{_libdir}/*.a %endif install -m 0644 COPYRIGHT* %{buildroot}%{_datadir}/doc/mvapich2 install -m 0644 CHANGE* %{buildroot}%{_datadir}/doc/mvapich2 %post /sbin/ldconfig /usr/bin/mpi-selector \ --register %{name}-%{version} \ --source-dir %{_bindir} \ --yes %postun /sbin/ldconfig /usr/bin/mpi-selector --unregister %{name}-%{version} --yes --silent %files %defattr(-, root, root) %doc %{_datadir}/doc %dir /usr/%_lib/mpi %dir /usr/%_lib/mpi/gcc %dir /usr/%_lib/mpi/gcc/mvapich2 %dir %{_prefix} %dir %{_bindir} %dir %{_datadir} %if "%{name}" == "mvapich2" %dir %{_includedir} %endif %dir %{_mandir} %dir %{_mandir}/man1 %dir %{_mandir}/man3 %dir %{_libdir} %dir %{_libexecdir} %dir %{_libexecdir}/mvapich2 %{_bindir}/* %{_libexecdir}/mvapich2/osu_acc_latency %{_libexecdir}/mvapich2/osu_allgather %{_libexecdir}/mvapich2/osu_allgatherv %{_libexecdir}/mvapich2/osu_allreduce %{_libexecdir}/mvapich2/osu_alltoall %{_libexecdir}/mvapich2/osu_alltoallv %{_libexecdir}/mvapich2/osu_barrier %{_libexecdir}/mvapich2/osu_bcast %{_libexecdir}/mvapich2/osu_bibw %{_libexecdir}/mvapich2/osu_bw %{_libexecdir}/mvapich2/osu_gather %{_libexecdir}/mvapich2/osu_gatherv %{_libexecdir}/mvapich2/osu_get_bw %{_libexecdir}/mvapich2/osu_get_latency %{_libexecdir}/mvapich2/osu_latency %{_libexecdir}/mvapich2/osu_latency_mt %{_libexecdir}/mvapich2/osu_mbw_mr %{_libexecdir}/mvapich2/osu_multi_lat %{_libexecdir}/mvapich2/osu_put_bibw %{_libexecdir}/mvapich2/osu_put_bw %{_libexecdir}/mvapich2/osu_put_latency %{_libexecdir}/mvapich2/osu_reduce %{_libexecdir}/mvapich2/osu_reduce_scatter %{_libexecdir}/mvapich2/osu_scatter %{_libexecdir}/mvapich2/osu_scatterv %{_libexecdir}/mvapich2/osu_cas_latency %{_libexecdir}/mvapich2/osu_fop_latency %{_libexecdir}/mvapich2/osu_get_acc_latency %{_mandir}/man1/* %{_libdir}/*.so.* %if "%{name}" == "mvapich2" || "%{name}" == "mvapich2-psm" %files devel %defattr(-,root,root) %dir %{_libdir}/pkgconfig %{_mandir}/man3/* %{_includedir} %{_libdir}/*.so %{_libdir}/pkgconfig/mvapich2.pc %{_libdir}/pkgconfig/openpa.pc %files devel-static %defattr(-,root,root) %{_libdir}/*.a %endif %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor