openmpi/openmpi.spec

384 lines
13 KiB
RPMSpec
Raw Permalink Normal View History

%define majver %(echo %version | cut -d. -f1-2)
Name: openmpi
Version: 4.0.1
Release: 1mamba
Summary: A High Performance Message Passing Library
Group: System/Tools
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.open-mpi.org/
Source: http://www.open-mpi.org/software/ompi/v%{majver}/downloads/openmpi-%{version}.tar.bz2
Patch0: openmpi-1.8.4-arm-no-unsupported-types.patch
License: BSD
## AUTOBUILDREQ-BEGIN
BuildRequires: gcc-fortran
BuildRequires: glibc-devel
BuildRequires: libesmtp-devel
BuildRequires: libgcc
BuildRequires: libgomp-devel
BuildRequires: libopenssl-devel
%ifnarch arm
BuildRequires: libquadmath-devel
%endif
BuildRequires: libstdc++6-devel
BuildRequires: libz-devel
BuildRequires: perl-devel
## AUTOBUILDREQ-END
BuildRequires: jpackage-utils
Requires: libmpi = %{?epoch:%epoch:}%{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
The Open MPI Project is an open source MPI-2 implementation that is developed and maintained by a consortium of academic, research, and industry partners. Open MPI is therefore able to combine the expertise, technologies, and resources from all across the High Performance Computing community in order to build the best MPI library available. Open MPI offers advantages for system and software vendors, application developers and computer science researchers.
%package devel
Summary: Devel package for %{name}
Group: Development/Libraries
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: libmpi-devel = %{?epoch:%epoch:}%{version}-%{release}
%description devel
The Open MPI Project is an open source MPI-2 implementation that is developed and maintained by a consortium of academic, research, and industry partners. Open MPI is therefore able to combine the expertise, technologies, and resources from all across the High Performance Computing community in order to build the best MPI library available. Open MPI offers advantages for system and software vendors, application developers and computer science researchers.
This package contains mpi compilers.
%package -n libmpi
Summary: A High Performance Message Passing Library
Group: System/Libraries
%description -n libmpi
The Open MPI Project is an open source MPI-2 implementation that is developed and maintained by a consortium of academic, research, and industry partners. Open MPI is therefore able to combine the expertise, technologies, and resources from all across the High Performance Computing community in order to build the best MPI library available. Open MPI offers advantages for system and software vendors, application developers and computer science researchers.
This package contains the project shared libraries.
%package -n libmpi-devel
Summary: Devel package for %{name}
Group: Development/Libraries
Requires: libmpi = %{?epoch:%epoch:}%{version}-%{release}
%description -n libmpi-devel
The Open MPI Project is an open source MPI-2 implementation that is developed and maintained by a consortium of academic, research, and industry partners. Open MPI is therefore able to combine the expertise, technologies, and resources from all across the High Performance Computing community in order to build the best MPI library available. Open MPI offers advantages for system and software vendors, application developers and computer science researchers.
This package contains static libraries and header files need for development.
%prep
%setup -q
%ifarch arm
sed -i "s|armv5\*linux|arm*linux|" configure || exit 1
%endif
#%patch0 -p1
%build
%configure \
--datarootdir=%{_datadir}/openmpi \
--datadir=%{_datadir}/openmpi
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
## not installed as of 1.4.3 but symlink otfdecompress pointing to it it is
#install -D -m0755 ./ompi/contrib/vt/vt/extlib/otf/tools/otfcompress/otfcompress %{buildroot}%{_bindir}/otfcompress
# %{_bindir}/otfinfo: conflicts with texlive
#mv %{buildroot}%{_bindir}/otfinfo %{buildroot}%{_bindir}/otfinfompi
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/aggregate_profile.pl
%{_bindir}/profile2mat.pl
%{_bindir}/mpiexec
%{_bindir}/mpirun
%{_bindir}/ompi_info
%{_bindir}/ompi-*
#%{_bindir}/opari
%{_bindir}/orte-clean
#%{_bindir}/orte-dvm
%{_bindir}/orte-info
#%{_bindir}/orte-ps
%{_bindir}/orte-server
#%{_bindir}/orte-submit
#%{_bindir}/orte-top
%{_bindir}/orted
%{_bindir}/orterun
#%{_bindir}/oshmem_info
#%{_bindir}/oshrun
#%{_bindir}/otfaux
#%{_bindir}/otfcompress
#%{_bindir}/otfconfig
#%{_bindir}/otfdecompress
#%{_bindir}/otfinfompi
#%{_bindir}/otfmerge
#%{_bindir}/otfmerge-mpi
#%{_bindir}/otfprint
#%{_bindir}/otfprofile
#%{_bindir}/otfprofile-mpi
#%{_bindir}/otfshrink
#%{_bindir}/prun
#%{_bindir}/shmemrun
%{_mandir}/man1/mpiexec.1*
%{_mandir}/man1/mpirun.1*
%{_mandir}/man1/ompi-*.1*
%{_mandir}/man1/ompi_info.1*
%{_mandir}/man1/opal_wrapper.1*
%{_mandir}/man1/orte-*.1*
%{_mandir}/man1/orted.1*
%{_mandir}/man1/orterun.1*
%{_mandir}/man7/ompi_crcp.7*
%{_mandir}/man7/opal_crs.7*
%{_mandir}/man7/orte_filem.7*
%{_mandir}/man7/orte_hosts.7*
%{_mandir}/man7/orte_snapc.7*
#%{_mandir}/man1/prun.1*
%doc AUTHORS LICENSE
%files devel
%defattr(-,root,root)
%{_bindir}/mpiCC
%{_bindir}/mpic++
%{_bindir}/mpicc
%{_bindir}/mpicxx
%{_bindir}/mpif77
%{_bindir}/mpif90
%{_bindir}/mpifort
%{_bindir}/opal_wrapper
%{_bindir}/ortecc
#%{_bindir}/oshcc
#%{_bindir}/oshCC
#%{_bindir}/oshc++
#%{_bindir}/oshcxx
#%{_bindir}/shmemCC
#%{_bindir}/shmemc++
#%{_bindir}/shmemcxx
#%{_bindir}/oshfort
#%{_bindir}/shmemcc
#%{_bindir}/shmemfort
%{_mandir}/man1/mpiCC.1*
%{_mandir}/man1/mpic++.1*
%{_mandir}/man1/mpicc.1*
%{_mandir}/man1/mpicxx.1*
%{_mandir}/man1/mpif77.1*
%{_mandir}/man1/mpif90.1*
%{_mandir}/man1/mpifort.1*
#%{_mandir}/man1/oshCC.1*
#%{_mandir}/man1/oshc++.1*
#%{_mandir}/man1/oshcc.1*
#%{_mandir}/man1/oshcxx.1*
#%{_mandir}/man1/oshfort.1*
#%{_mandir}/man1/oshmem_info.1*
#%{_mandir}/man1/oshrun.1*
#%{_mandir}/man1/shmemCC.1*
#%{_mandir}/man1/shmemc++.1*
#%{_mandir}/man1/shmemcc.1*
#%{_mandir}/man1/shmemcxx.1*
#%{_mandir}/man1/shmemfort.1*
#%{_mandir}/man1/shmemrun.1*
%{_mandir}/man7/orte_sstore.7*
%files -n libmpi
%defattr(-,root,root)
%config %{_sysconfdir}/openmpi-default-hostfile
%config %{_sysconfdir}/openmpi-mca-params.conf
%config %{_sysconfdir}/openmpi-totalview.tcl
%config %{_sysconfdir}/pmix-mca-params.conf
#%config %{_sysconfdir}/vt-java-default-filter.spec
#%config %{_sysconfdir}/vtsetup-config.dtd
#%config %{_sysconfdir}/vtsetup-config.xml
%{_libdir}/mpi*.mod
%{_libdir}/pmpi_f08_interfaces.mod
%{_libdir}/libompitrace.so.*
#%{_libdir}/libotfaux.so.*
#%{_libdir}/libvt-hyb.so.*
#%{_libdir}/libvt-java.so.*
#%{_libdir}/libvt-mpi-unify.so.*
#%{_libdir}/libvt-mpi.so.*
#%{_libdir}/libvt-mt.so.*
#%{_libdir}/libvt.so.*
%{_libdir}/libmca*.so.*
%{_libdir}/libmpi*.so.*
%{_libdir}/libopen*.so.*
#%{_libdir}/liboshmem.so.*
%{_libdir}/openmpi/mca_*.la
%{_libdir}/openmpi/mca_*.so
%{_libdir}/openmpi/libompi_*.la
%{_libdir}/openmpi/libompi_*.so
%dir %{_libdir}/pmix
%{_libdir}/pmix/mca_*.so
%{_libdir}/pmix/mca_*.la
%dir %{_datadir}/openmpi
%{_datadir}/openmpi/*
%files -n libmpi-devel
%defattr(-,root,root)
%{_includedir}/*.h
#%{_includedir}/shmem.fh
%dir %{_includedir}/openmpi
%{_includedir}/openmpi/*
#%dir %{_includedir}/openshmem
#%dir %{_includedir}/openshmem/oshmem
#%{_includedir}/openshmem/*
#%dir %{_includedir}/vampirtrace
#%{_includedir}/vampirtrace/*.inc
#%{_includedir}/vampirtrace/*.h
#%dir %{_includedir}/vampirtrace/open-trace-format
#%dir %{_includedir}/vampirtrace/open-trace-format/*.h
#%dir %{_includedir}/mpp
#%{_includedir}/mpp/shmem.fh
#%{_includedir}/mpp/shmem.h
%{_libdir}/libmca*.la
%{_libdir}/libmca*.so
%{_libdir}/libmpi*.la
%{_libdir}/libmpi*.so
%{_libdir}/ompi_monitoring_prof.la
%{_libdir}/ompi_monitoring_prof.so
%{_libdir}/libopen*.la
%{_libdir}/libopen*.so
#%{_libdir}/libopen-trace-format.a
#%{_libdir}/liboshmem.la
#%{_libdir}/liboshmem.so
#%{_libdir}/libvt.a
%{_libdir}/libompitrace.la
%{_libdir}/libompitrace.so
#%{_libdir}/libotfaux.a
#%{_libdir}/libotfaux.la
#%{_libdir}/libotfaux.so
#%{_libdir}/libvt-hyb.a
#%{_libdir}/libvt-hyb.la
#%{_libdir}/libvt-hyb.so
#%{_libdir}/libvt-java.la
#%{_libdir}/libvt-java.so
#%{_libdir}/libvt-mpi-unify.a
#%{_libdir}/libvt-mpi-unify.la
#%{_libdir}/libvt-mpi-unify.so
#%{_libdir}/libvt-mpi.a
#%{_libdir}/libvt-mpi.la
#%{_libdir}/libvt-mpi.so
#%{_libdir}/libvt-mt.a
#%{_libdir}/libvt-mt.la
#%{_libdir}/libvt-mt.so
#%{_libdir}/libvt-pomp.a
#%{_libdir}/libvt-pomp.la
#%{_libdir}/libvt.la
#%{_libdir}/libvt.so
%{_libdir}/pkgconfig/ompi-c.pc
%{_libdir}/pkgconfig/ompi-cxx.pc
%{_libdir}/pkgconfig/ompi-f77.pc
%{_libdir}/pkgconfig/ompi-f90.pc
%{_libdir}/pkgconfig/ompi-fort.pc
%{_libdir}/pkgconfig/ompi.pc
%{_libdir}/pkgconfig/orte.pc
%{_mandir}/man3/*.3*
#%doc NEWS README
%changelog
* Mon Apr 01 2019 Automatic Build System <autodist@mambasoft.it> 4.0.1-1mamba
- automatic version update by autodist
* Mon Nov 12 2018 Automatic Build System <autodist@mambasoft.it> 3.1.3-1mamba
- automatic version update by autodist
* Tue Sep 18 2018 Automatic Build System <autodist@mambasoft.it> 3.1.2-1mamba
- automatic version update by autodist
* Mon Aug 20 2018 Automatic Build System <autodist@mambasoft.it> 3.1.1-1mamba
- automatic version update by autodist
* Tue Jun 19 2018 Automatic Build System <autodist@mambasoft.it> 3.1.0-1mamba
- automatic version update by autodist
* Mon Apr 16 2018 Automatic Build System <autodist@mambasoft.it> 3.0.1-1mamba
- automatic version update by autodist
* Sat Nov 18 2017 Automatic Build System <autodist@mambasoft.it> 1.10.7-1mamba
- automatic update by autodist
* Fri Mar 03 2017 Automatic Build System <autodist@mambasoft.it> 1.10.6-1mamba
- automatic version update by autodist
* Fri Dec 23 2016 Automatic Build System <autodist@mambasoft.it> 1.10.5-1mamba
- automatic version update by autodist
* Tue Sep 06 2016 Automatic Build System <autodist@mambasoft.it> 1.10.4-1mamba
- automatic version update by autodist
* Thu Jun 23 2016 Automatic Build System <autodist@mambasoft.it> 1.10.3-1mamba
- automatic version update by autodist
* Sun Jan 24 2016 Automatic Build System <autodist@mambasoft.it> 1.10.2-1mamba
- automatic version update by autodist
* Tue Nov 24 2015 Automatic Build System <autodist@mambasoft.it> 1.10.1-1mamba
- automatic version update by autodist
* Sun Sep 13 2015 Automatic Build System <autodist@mambasoft.it> 1.10.0-1mamba
- automatic version update by autodist
* Fri Aug 07 2015 Automatic Build System <autodist@mambasoft.it> 1.8.8-1mamba
- automatic version update by autodist
* Sat Jul 18 2015 Automatic Build System <autodist@mambasoft.it> 1.8.7-1mamba
- automatic version update by autodist
* Tue Jun 23 2015 Automatic Build System <autodist@mambasoft.it> 1.8.6-1mamba
- automatic version update by autodist
* Sun May 24 2015 Automatic Build System <autodist@mambasoft.it> 1.8.5-1mamba
- automatic version update by autodist
* Sun Dec 28 2014 Automatic Build System <autodist@mambasoft.it> 1.8.4-1mamba
- automatic version update by autodist
* Tue Sep 30 2014 Automatic Build System <autodist@mambasoft.it> 1.8.3-1mamba
- automatic version update by autodist
* Fri Sep 05 2014 Automatic Build System <autodist@mambasoft.it> 1.8.2-1mamba
- automatic version update by autodist
* Fri Apr 25 2014 Automatic Build System <autodist@mambasoft.it> 1.8.1-1mamba
- automatic version update by autodist
* Sun Apr 13 2014 Automatic Build System <autodist@mambasoft.it> 1.8-1mamba
- automatic version update by autodist
* Fri Nov 15 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.6.5-4mamba
- rebuild after previous release was built with buggy rpm
* Thu Nov 14 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.6.5-3mamba
- move compilers to openmpi-devel new subpackage
* Thu Jul 11 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.6.5-2mamba
- rename %{_bindir}/otfinfo to %{_bindir}/otfinfompi to resolve a conflict with texlive
* Sun Jun 30 2013 Automatic Build System <autodist@mambasoft.it> 1.6.5-1mamba
- automatic version update by autodist
* Sat Feb 23 2013 Automatic Build System <autodist@mambasoft.it> 1.6.4-1mamba
- automatic version update by autodist
* Wed Nov 07 2012 Automatic Build System <autodist@mambasoft.it> 1.6.3-1mamba
- automatic version update by autodist
* Mon Oct 08 2012 Automatic Build System <autodist@mambasoft.it> 1.6.2-1mamba
- automatic version update by autodist
* Tue Aug 07 2012 Automatic Build System <autodist@mambasoft.it> 1.6-1mamba
- automatic version update by autodist
* Fri Oct 28 2011 Automatic Build System <autodist@mambasoft.it> 1.4.4-1mamba
- automatic version update by autodist
* Wed Dec 01 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.3-1mamba
- update to 1.4.3
* Fri Jun 25 2010 Automatic Build System <autodist@mambasoft.it> 1.3.4-1mamba
- automatic update by autodist
* Sat Jun 06 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.2-1mamba
- package created by autospec