Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37573840
en ru br
Репозитории ALT

Группа :: Разработка/Прочее
Пакет: mpich

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%define name mpich
%define version 1.2.4
%define release alt5
%define lib_name_orig libmpich
%define lib_major 0
%define lib_name %{lib_name_orig}%{lib_major}

Name: %{name}
Summary: MPICH is a portable implementation of MPI.
Version: %{version}
Release: %{release}
Source0: %{name}.tar.gz
Source1: mpiinstall-%{version}-hack
Patch0: mpich-patch.all
URL: http://www-unix.mcs.anl.gov/mpi/mpich/
License: Distributable
Group: Development/Other
Prefix: %{_prefix}
AutoReqProv: no
BuildRequires: gcc-c++, gcc-g77

%description
MPICH is a freely available, portable implementation of MPI, the Standard
for message-passing libraries.
MPICH-A Portable Implementation of MPI is a MPI Standard conforming library
that was developed by the Argonne National Laboratory. It allows different
processes across a network of workstations to communicate using specific
message passing functions. It includes librairies, parallel debuging tools
and docs.

This package provides the libraries that use the standard p4 device.

%package -n mpich-doc
Summary: Documentation for developing programs that will use MPICH
Group: Development/Other
Requires: mpich = %{version}-%{release}
AutoReqProv: no

%description -n mpich-doc
MPICH is a freely available, portable implementation of MPI, the Standard
for message-passing libraries.
MPICH-A Portable Implementation of MPI is a MPI Standard conforming library
that was developed by the Argonne National Laboratory. It allows different
processes across a network of workstations to communicate using specific
message passing functions. It includes librairies, parallel debuging tools
and docs.

This package provides the documentation needed to develop
applications using the MPICH libraries.

%package -n %{lib_name}-devel
Summary: Headers for developing programs that will use MPICH
Group: Development/Other
Requires: mpich = %{version}-%{release}

%description -n %{lib_name}-devel
MPICH is a freely available, portable implementation of MPI, the Standard
for message-passing libraries.
MPICH-A Portable Implementation of MPI is a MPI Standard conforming library
that was developed by the Argonne National Laboratory. It allows different
processes across a network of workstations to communicate using specific
message passing functions. It includes librairies, parallel debuging tools
and docs.

This package provides the static libraries and header files needed to compile
applications using the MPICH libraries.

%package -n mpicc
Summary: The MPICH wrapper over the C compiler
Group: Development/C
Requires: gcc, %{lib_name}-devel = %{version}-%{release}

%description -n mpicc
MPICH is a freely available, portable implementation of MPI, the Standard
for message-passing libraries.
MPICH-A Portable Implementation of MPI is a MPI Standard conforming library
that was developed by the Argonne National Laboratory. It allows different
processes across a network of workstations to communicate using specific
message passing functions. It includes librairies, parallel debuging tools
and docs.

This package provides the shell script mpicc, with headers, which allows to
compile C programs using the MPICH libraries.

%prep
%setup -q
%patch -p0

find -name .cvsignore | xargs rm -rf
find -name CVS -type d | xargs rm -rf

%build
CFLAGS=$RPM_OPT_FLAGS; export CFLAGS;
[ -f configure.in ] && libtoolize --copy --force;
./configure --prefix=%{_prefix} \
       --exec-prefix=%{_exec_prefix} \
       --bindir=%{_bindir} \
--sbindir=%{_sbindir} \
       --datadir=%{_datadir}/mpich/ \
       --includedir=%{_includedir} \
--libdir=%{_libdir} \
       --sharedstatedir=%{_sharedstatedir} \
       --mandir=%{_mandir} \
--enable-f77 --enable-c++ --enable-sharedlib=%{_libdir}
make

%install
cp %SOURCE1 ./bin/mpiinstall
BUILDDIR0=%{_builddir}/mpich-1.2.4/ make install

%files
%defattr(-,root,root,755)
%doc COPYRIGHT
%{_sbindir}/*
%{_bindir}/mpirun*
%{_bindir}/mpereconfig
%{_bindir}/mpereconfig.dat
%{_bindir}/mpereconfig.in
%{_bindir}/mpiman
%{_bindir}/mpireconfig
%{_bindir}/mpireconfig.dat
%{_bindir}/tarch
%{_bindir}/tdevice
%{_bindir}/serv_p4
%{_bindir}/clog2alog
%{_bindir}/clog2slog
%{_bindir}/clog_print
%{_bindir}/slog_print
%{_bindir}/logviewer
#%dir /usr/etc/mpich/
%config(noreplace) /usr/etc/mpi*

%files -n mpich-doc
%defattr(-,root,root,755)
%doc doc/* www

%files -n %{lib_name}-devel
%defattr(-,root,root)
%doc COPYRIGHT
%{_mandir}/man1/*.1*
%{_mandir}/man3/*.3*
%{_mandir}/man4/*.4*
%{_includedir}/*.h
%{_libdir}/*.a
%{_libdir}/*.o
%dir %{_datadir}/mpich/
%{_datadir}/mpich/*

%files -n mpicc
%defattr(-,root,root,755)
%doc COPYRIGHT
%{_bindir}/mpicc
%{_bindir}/mpiCC
%{_bindir}/mpif77

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin