openmpi4/openmpi4.spec

412 lines
14 KiB
RPMSpec
Raw Permalink Normal View History

%define majver %(echo %version | cut -d. -f1-2)
Name: openmpi4
Version: 4.1.6
Release: 2mamba
Summary: A High Performance Message Passing Library
Group: System/Tools
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://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
ExclusiveArch: %{ix86} arm
## AUTOBUILDREQ-BEGIN
BuildRequires: gcc-fortran
BuildRequires: glibc-devel
BuildRequires: libevent-devel
BuildRequires: libgcc
BuildRequires: libhwloc-devel
BuildRequires: libibverbs-devel
BuildRequires: libnl-devel
%ifnarch arm aarch64
BuildRequires: libquadmath-devel
%endif
BuildRequires: libz-devel
## AUTOBUILDREQ-END
BuildRequires: javapackages
Requires: libmpi = %{?epoch:%epoch:}%{version}-%{release}
Provides: openmpi
Obsoletes: openmpi <= 4.1.5-1mamba
%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}
Provides: openmpi-devel
Obsoletes: openmpi-devel <= 4.1.5-1mamba
%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 needed for development.
%debug_package
%prep
%setup -q -n openmpi-%{version}
#-D -T
#:<< _EOF
%ifarch arm
sed -i "s|armv5\*linux|arm*linux|" configure || exit 1
%endif
#%patch0 -p1
%build
#:<< _EOF
%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)
%config %{_sysconfdir}/openmpi-default-hostfile
%config %{_sysconfdir}/openmpi-mca-params.conf
%config %{_sysconfdir}/openmpi-totalview.tcl
#%config %{_sysconfdir}/pmix-mca-params.conf
%{_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
%dir %{_datadir}/openmpi
%{_datadir}/openmpi/*
#%{_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)
%{_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}/libopen-orted-mpir.so
%{_libdir}/openmpi/mca_*.so
%{_libdir}/openmpi/libompi_*.so
#%dir %{_libdir}/pmix
#%{_libdir}/pmix/mca_*.so
%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*.so
%{_libdir}/libmpi*.so
%{_libdir}/ompi_monitoring_prof.so
%{_libdir}/libopen-pal.so
%{_libdir}/libopen-rte.so
#%{_libdir}/libopen-trace-format.a
#%{_libdir}/liboshmem.so
#%{_libdir}/libvt.a
%{_libdir}/libompitrace.so
#%{_libdir}/libotfaux.a
#%{_libdir}/libotfaux.so
#%{_libdir}/libvt-hyb.a
#%{_libdir}/libvt-hyb.so
#%{_libdir}/libvt-java.so
#%{_libdir}/libvt-mpi-unify.a
#%{_libdir}/libvt-mpi-unify.so
#%{_libdir}/libvt-mpi.a
#%{_libdir}/libvt-mpi.so
#%{_libdir}/libvt-mt.a
#%{_libdir}/libvt-mt.so
#%{_libdir}/libvt-pomp.a
#%{_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
#%{_libdir}/pkgconfig/pmix.pc
%{_mandir}/man3/*.3*
#%doc NEWS README
%changelog
* Sat Nov 18 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 4.1.6-2mamba
- openmpi4-devel: fix providing openmpi-devel
* Fri Nov 17 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 4.1.6-1mamba
- update to 4.1.6
- openssl 4.x legacy package for 32 bits archs
* Mon Sep 04 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 4.1.5-1mamba
- update to 4.1.5
* Sat May 28 2022 Automatic Build System <autodist@mambasoft.it> 4.1.4-1mamba
- automatic version update by autodist
* Sat Apr 02 2022 Automatic Build System <autodist@mambasoft.it> 4.1.3-1mamba
- automatic version update by autodist
* Thu Nov 25 2021 Automatic Build System <autodist@mambasoft.it> 4.1.2-1mamba
- automatic version update by autodist
* Wed Apr 28 2021 Automatic Build System <autodist@mambasoft.it> 4.1.1-1mamba
- automatic version update by autodist
* Sat Feb 20 2021 Automatic Build System <autodist@mambasoft.it> 4.1.0-1mamba
- automatic version update by autodist
* Sat Sep 26 2020 Automatic Build System <autodist@mambasoft.it> 4.0.5-1mamba
- automatic version update by autodist
* Sat Jun 20 2020 Automatic Build System <autodist@mambasoft.it> 4.0.4-1mamba
- automatic version update by autodist
* Sat Apr 25 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 4.0.3-2mamba
- libmpi: move multilib conflicting files to openmpi package; add debug package
* Sun Mar 08 2020 Automatic Build System <autodist@mambasoft.it> 4.0.3-1mamba
- automatic version update by autodist
* Fri Oct 11 2019 Automatic Build System <autodist@mambasoft.it> 4.0.2-1mamba
- automatic version update by autodist
* 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