]> git.pld-linux.org Git - packages/mpich.git/blame - mpich.spec
- control blcr checkpointing support by bcond not libcr presence
[packages/mpich.git] / mpich.spec
CommitLineData
d08d4924
JB
1#
2# Conditional build:
3%bcond_with blcr # blcr application checkpointing support (no support for recent kernels)
4#
55b4cae8 5Summary: Portable MPI Model Implementation
5807d627 6Summary(pl.UTF-8): Przenośna implementacja standardu MPI
55b4cae8 7Name: mpich
dc8c0b94 8Version: 3.1.3
9af82eb2 9Release: 3
dc8c0b94 10License: BSD-like
55b4cae8 11Group: Development/Libraries
dc8c0b94
JB
12Source0: http://www.mpich.org/static/downloads/%{version}/%{name}-%{version}.tar.gz
13# Source0-md5: 93cb17f91ac758cbf9174ecb03563778
14Patch0: %{name}-sh.patch
15Patch1: %{name}-opalink.patch
9af82eb2 16Patch2: x32-misdetected-as-i386.patch
dc8c0b94
JB
17URL: http://www.mpich.org/
18BuildRequires: autoconf >= 2.63
19BuildRequires: automake >= 1:1.12.3
d08d4924 20%{?with_blcr:BuildRequires: blcr-devel}
dc8c0b94
JB
21BuildRequires: ftb-devel
22BuildRequires: gcc-fortran
23BuildRequires: hwloc-devel >= 1.9.0
55b4cae8 24BuildRequires: libstdc++-devel
dc8c0b94
JB
25BuildRequires: libtool >= 2:2
26BuildRequires: openpa-devel
27Requires: hwloc-libs >= 1.9.0
8791ac7a 28Provides: mpi
55b4cae8
JB
29BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
31%description
dc8c0b94
JB
32MPICH is a high-performance and widely portable implementation of the
33MPI-3.0 standard from the Argonne National Laboratory. This release
34has all MPI 3.0 functions and features required by the standard with
35the exception of support for the "external32" portable I/O format and
36user-defined data representations for I/O.
37
38This package contains MPICH shared libraries and runtime utilities,
39including Hydra PM.
55b4cae8 40
f33abeef 41%description -l pl.UTF-8
dc8c0b94
JB
42MPICH to wysoko wydajna i przenośna implementacja standardu MPI-3.0
43pochodząca z Argonne National Laboratory. To wydanie zawiera całą
44funkcjonalność i możliwości MPI 3.0 wymagane przez standard z
45wyjątkiem obsługi przenośnego formatu we-wy "external32" oraz
46definiowanych przez użytkownika reprezentacji danych dla we/wy.
47
48Ten pakiet zawiera biblioteki współdzielone MPICH oraz narzędzia
49uruchomieniowe, w tym Hydra PM.
50
51%package devel
52Summary: MPICH header files and development tools
53Summary(pl.UTF-8): Pliki nagłówkowe oraz narzędzia programistyczne MPICH
54Group: Development
55Requires: %{name} = %{version}-%{release}
42f03ea9 56Provides: mpi-devel
dc8c0b94
JB
57
58%description devel
59MPICH header files and development tools.
60
61%description devel
62Pliki nagłówkowe oraz narzędzia programistyczne MPICH.
63
64%package static
65Summary: MPICH static libraries
66Summary(pl.UTF-8): Biblioteki statyczne MPICH
67Group: Development/Libraries
68Requires: %{name}-devel = %{version}-%{release}
42f03ea9 69Provides: mpi-static
dc8c0b94
JB
70
71%description static
72MPICH static libraries.
73
74%description static -l pl.UTF-8
75Biblioteki statyczne MPICH.
55b4cae8
JB
76
77%prep
8e991428 78%setup -q
55b4cae8 79%patch0 -p1
0dad8207 80%patch1 -p1
9af82eb2 81%patch2 -p1
0e91bc8e 82
55b4cae8 83%build
dc8c0b94
JB
84%{__libtoolize}
85%{__aclocal} -I confdb
86%{__autoconf}
87%{__autoheader}
88%{__automake}
89%configure \
90 --disable-silent-rules \
d08d4924 91 %{?with_blcr:--enable-checkpointing} \
dc8c0b94 92 --with-hwloc-prefix=system \
d08d4924 93 %{!?with_blcr:--with-hydra-ckpointlib=none} \
dc8c0b94
JB
94 --with-openpa-prefix=system
95
96%{__make}
55b4cae8
JB
97
98%install
99rm -rf $RPM_BUILD_ROOT
100
dc8c0b94
JB
101%{__make} install \
102 DESTDIR=$RPM_BUILD_ROOT
55b4cae8 103
55b4cae8 104install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
dc8c0b94
JB
105cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
106%{__rm} $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/{cpi,cpi.o,examples.sln}
55b4cae8 107
dc8c0b94
JB
108# see openpa.spec
109%{__rm} $RPM_BUILD_ROOT%{_libdir}/libopa.so
55b4cae8 110
dc8c0b94
JB
111# PDFs packaged as %doc
112%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/mpich
d03126ce 113
55b4cae8
JB
114%clean
115rm -rf $RPM_BUILD_ROOT
116
117%post -p /sbin/ldconfig
118%postun -p /sbin/ldconfig
119
120%files
121%defattr(644,root,root,755)
dc8c0b94
JB
122%doc CHANGES COPYRIGHT README README.envvar RELEASE_NOTES doc/{installguide/install.pdf,logging/logging.pdf,userguide/user.pdf}
123%attr(755,root,root) %{_bindir}/hydra_nameserver
124%attr(755,root,root) %{_bindir}/hydra_persist
125%attr(755,root,root) %{_bindir}/hydra_pmi_proxy
126%attr(755,root,root) %{_bindir}/mpichversion
127%attr(755,root,root) %{_bindir}/mpiexec
128%attr(755,root,root) %{_bindir}/mpiexec.hydra
129%attr(755,root,root) %{_bindir}/mpirun
130%attr(755,root,root) %{_bindir}/mpivars
131%attr(755,root,root) %{_bindir}/parkill
132%attr(755,root,root) %{_libdir}/libmpi.so.*.*.*
133%attr(755,root,root) %ghost %{_libdir}/libmpi.so.12
134%attr(755,root,root) %{_libdir}/libmpicxx.so.*.*.*
135%attr(755,root,root) %ghost %{_libdir}/libmpicxx.so.12
136%attr(755,root,root) %{_libdir}/libmpifort.so.*.*.*
137%attr(755,root,root) %ghost %{_libdir}/libmpifort.so.12
138%{_mandir}/man1/hydra_nameserver.1*
139%{_mandir}/man1/hydra_persist.1*
140%{_mandir}/man1/hydra_pmi_proxy.1*
141%{_mandir}/man1/mpiexec.1*
142
143%files devel
144%defattr(644,root,root,755)
145%attr(755,root,root) %{_bindir}/mpic++
146%attr(755,root,root) %{_bindir}/mpicc
147%attr(755,root,root) %{_bindir}/mpicxx
148%attr(755,root,root) %{_bindir}/mpif77
149%attr(755,root,root) %{_bindir}/mpif90
150%attr(755,root,root) %{_bindir}/mpifort
151%attr(755,root,root) %{_libdir}/libmpi.so
152%attr(755,root,root) %{_libdir}/libmpicxx.so
153%attr(755,root,root) %{_libdir}/libmpifort.so
154%attr(755,root,root) %{_libdir}/libfmpich.so
155%attr(755,root,root) %{_libdir}/libmpich.so
156%attr(755,root,root) %{_libdir}/libmpichcxx.so
157%attr(755,root,root) %{_libdir}/libmpichf90.so
158%attr(755,root,root) %{_libdir}/libmpl.so
159%{_libdir}/libmpi.la
160%{_libdir}/libmpicxx.la
161%{_libdir}/libmpifort.la
162%{_includedir}/mpi*.h
163%{_includedir}/mpi*.mod
164%{_pkgconfigdir}/mpich.pc
165%{_mandir}/man1/mpicc.1*
166%{_mandir}/man1/mpicxx.1*
167%{_mandir}/man1/mpif77.1*
168%{_mandir}/man1/mpifort.1*
169%{_mandir}/man3/MPIX_*.3*
170%{_mandir}/man3/MPI_*.3*
55b4cae8 171%{_examplesdir}/%{name}-%{version}
dc8c0b94
JB
172
173%files static
174%defattr(644,root,root,755)
175%{_libdir}/libmpi.a
176%{_libdir}/libmpicxx.a
177%{_libdir}/libmpifort.a
This page took 0.063225 seconds and 4 git commands to generate.