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 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
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.
79 %{__aclocal} -I confdb
84 --disable-silent-rules \
85 --with-hwloc-prefix=system \
86 --with-openpa-prefix=system
91 rm -rf $RPM_BUILD_ROOT
94 DESTDIR=$RPM_BUILD_ROOT
96 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
97 cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
98 %{__rm} $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/{cpi,cpi.o,examples.sln}
101 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libopa.so
103 # PDFs packaged as %doc
104 %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/mpich
107 rm -rf $RPM_BUILD_ROOT
109 %post -p /sbin/ldconfig
110 %postun -p /sbin/ldconfig
113 %defattr(644,root,root,755)
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*
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
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*
163 %{_examplesdir}/%{name}-%{version}
166 %defattr(644,root,root,755)
168 %{_libdir}/libmpicxx.a
169 %{_libdir}/libmpifort.a