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