1 Summary: Portable MPI Model Implementation
2 Summary(pl.UTF-8): Przenośna implementacja standardu MPI
7 Group: Development/Libraries
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 Patch2: x32-misdetected-as-i386.patch
13 URL: http://www.mpich.org/
14 BuildRequires: autoconf >= 2.63
15 BuildRequires: automake >= 1:1.12.3
16 BuildRequires: ftb-devel
17 BuildRequires: gcc-fortran
18 BuildRequires: hwloc-devel >= 1.9.0
19 BuildRequires: libstdc++-devel
20 BuildRequires: libtool >= 2:2
21 BuildRequires: openpa-devel
22 Requires: hwloc-libs >= 1.9.0
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
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.
33 This package contains MPICH shared libraries and runtime utilities,
36 %description -l pl.UTF-8
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.
43 Ten pakiet zawiera biblioteki współdzielone MPICH oraz narzędzia
44 uruchomieniowe, w tym Hydra PM.
47 Summary: MPICH header files and development tools
48 Summary(pl.UTF-8): Pliki nagłówkowe oraz narzędzia programistyczne MPICH
50 Requires: %{name} = %{version}-%{release}
54 MPICH header files and development tools.
57 Pliki nagłówkowe oraz narzędzia programistyczne MPICH.
60 Summary: MPICH static libraries
61 Summary(pl.UTF-8): Biblioteki statyczne MPICH
62 Group: Development/Libraries
63 Requires: %{name}-devel = %{version}-%{release}
67 MPICH static libraries.
69 %description static -l pl.UTF-8
70 Biblioteki statyczne MPICH.
80 %{__aclocal} -I confdb
85 --disable-silent-rules \
86 --with-hwloc-prefix=system \
87 --with-openpa-prefix=system
92 rm -rf $RPM_BUILD_ROOT
95 DESTDIR=$RPM_BUILD_ROOT
97 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
98 cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
99 %{__rm} $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/{cpi,cpi.o,examples.sln}
102 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libopa.so
104 # PDFs packaged as %doc
105 %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/mpich
108 rm -rf $RPM_BUILD_ROOT
110 %post -p /sbin/ldconfig
111 %postun -p /sbin/ldconfig
114 %defattr(644,root,root,755)
115 %doc CHANGES COPYRIGHT README README.envvar RELEASE_NOTES doc/{installguide/install.pdf,logging/logging.pdf,userguide/user.pdf}
116 %attr(755,root,root) %{_bindir}/hydra_nameserver
117 %attr(755,root,root) %{_bindir}/hydra_persist
118 %attr(755,root,root) %{_bindir}/hydra_pmi_proxy
119 %attr(755,root,root) %{_bindir}/mpichversion
120 %attr(755,root,root) %{_bindir}/mpiexec
121 %attr(755,root,root) %{_bindir}/mpiexec.hydra
122 %attr(755,root,root) %{_bindir}/mpirun
123 %attr(755,root,root) %{_bindir}/mpivars
124 %attr(755,root,root) %{_bindir}/parkill
125 %attr(755,root,root) %{_libdir}/libmpi.so.*.*.*
126 %attr(755,root,root) %ghost %{_libdir}/libmpi.so.12
127 %attr(755,root,root) %{_libdir}/libmpicxx.so.*.*.*
128 %attr(755,root,root) %ghost %{_libdir}/libmpicxx.so.12
129 %attr(755,root,root) %{_libdir}/libmpifort.so.*.*.*
130 %attr(755,root,root) %ghost %{_libdir}/libmpifort.so.12
131 %{_mandir}/man1/hydra_nameserver.1*
132 %{_mandir}/man1/hydra_persist.1*
133 %{_mandir}/man1/hydra_pmi_proxy.1*
134 %{_mandir}/man1/mpiexec.1*
137 %defattr(644,root,root,755)
138 %attr(755,root,root) %{_bindir}/mpic++
139 %attr(755,root,root) %{_bindir}/mpicc
140 %attr(755,root,root) %{_bindir}/mpicxx
141 %attr(755,root,root) %{_bindir}/mpif77
142 %attr(755,root,root) %{_bindir}/mpif90
143 %attr(755,root,root) %{_bindir}/mpifort
144 %attr(755,root,root) %{_libdir}/libmpi.so
145 %attr(755,root,root) %{_libdir}/libmpicxx.so
146 %attr(755,root,root) %{_libdir}/libmpifort.so
147 %attr(755,root,root) %{_libdir}/libfmpich.so
148 %attr(755,root,root) %{_libdir}/libmpich.so
149 %attr(755,root,root) %{_libdir}/libmpichcxx.so
150 %attr(755,root,root) %{_libdir}/libmpichf90.so
151 %attr(755,root,root) %{_libdir}/libmpl.so
153 %{_libdir}/libmpicxx.la
154 %{_libdir}/libmpifort.la
155 %{_includedir}/mpi*.h
156 %{_includedir}/mpi*.mod
157 %{_pkgconfigdir}/mpich.pc
158 %{_mandir}/man1/mpicc.1*
159 %{_mandir}/man1/mpicxx.1*
160 %{_mandir}/man1/mpif77.1*
161 %{_mandir}/man1/mpifort.1*
162 %{_mandir}/man3/MPIX_*.3*
163 %{_mandir}/man3/MPI_*.3*
164 %{_examplesdir}/%{name}-%{version}
167 %defattr(644,root,root,755)
169 %{_libdir}/libmpicxx.a
170 %{_libdir}/libmpifort.a