Modify the /usr/lib64/openmpi/bin path to /usr/bin
(cherry picked from commit 01fd996cc7b841576d1f6e16820f6d578d9923fd)
This commit is contained in:
parent
ba45a8c410
commit
2cd07ed34f
40
openmpi.spec
40
openmpi.spec
@ -1,6 +1,6 @@
|
|||||||
Name: openmpi
|
Name: openmpi
|
||||||
Version: 4.1.4
|
Version: 4.1.4
|
||||||
Release: 2
|
Release: 3
|
||||||
Summary: Open Source High Performance Computing
|
Summary: Open Source High Performance Computing
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
URL: http://www.open-mpi.org/
|
URL: http://www.open-mpi.org/
|
||||||
@ -70,7 +70,11 @@ This contains man files for the using of openmpi.
|
|||||||
%autosetup -n openmpi-%{version} -p1
|
%autosetup -n openmpi-%{version} -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
./configure --prefix=%{_libdir}/%{name} \
|
./configure \
|
||||||
|
--bindir=%{_bindir} \
|
||||||
|
--libdir=%{_libdir}/%{name}/lib \
|
||||||
|
--datadir=%{_libdir}/%{name}/share \
|
||||||
|
--docdir=%{_libdir}/%{name}/share/doc/openmpi \
|
||||||
--includedir=%{_includedir}/%{name_all} \
|
--includedir=%{_includedir}/%{name_all} \
|
||||||
--sysconfdir=%{_sysconfdir}/%{name_all} \
|
--sysconfdir=%{_sysconfdir}/%{name_all} \
|
||||||
--disable-silent-rules \
|
--disable-silent-rules \
|
||||||
@ -155,7 +159,6 @@ make check
|
|||||||
%license LICENSE opal/mca/event/libevent2022/libevent/LICENSE
|
%license LICENSE opal/mca/event/libevent2022/libevent/LICENSE
|
||||||
%dir %{_libdir}/%{name}
|
%dir %{_libdir}/%{name}
|
||||||
%dir %{_sysconfdir}/%{name_all}
|
%dir %{_sysconfdir}/%{name_all}
|
||||||
%dir %{_libdir}/%{name}/bin
|
|
||||||
%dir %{_libdir}/%{name}/lib
|
%dir %{_libdir}/%{name}/lib
|
||||||
%dir %{_libdir}/%{name}/lib/openmpi
|
%dir %{_libdir}/%{name}/lib/openmpi
|
||||||
%dir %{_mandir}/%{name_all}
|
%dir %{_mandir}/%{name_all}
|
||||||
@ -165,12 +168,12 @@ make check
|
|||||||
%config(noreplace) %{_sysconfdir}/%{name_all}/*
|
%config(noreplace) %{_sysconfdir}/%{name_all}/*
|
||||||
%config(noreplace) /etc/ld.so.conf.d/*
|
%config(noreplace) /etc/ld.so.conf.d/*
|
||||||
%{_datadir}/modulefiles/mpi/
|
%{_datadir}/modulefiles/mpi/
|
||||||
%{_libdir}/%{name}/bin/mpiexec
|
%{_bindir}/mpiexec
|
||||||
%{_libdir}/%{name}/bin/mpirun
|
%{_bindir}/mpirun
|
||||||
%{_libdir}/%{name}/bin/ompi*
|
%{_bindir}/ompi*
|
||||||
%{_libdir}/%{name}/bin/orte-*
|
%{_bindir}/orte-*
|
||||||
%{_libdir}/%{name}/bin/orted
|
%{_bindir}/orted
|
||||||
%{_libdir}/%{name}/bin/orterun
|
%{_bindir}/orterun
|
||||||
%{_libdir}/%{name}/lib/*.so.*
|
%{_libdir}/%{name}/lib/*.so.*
|
||||||
%{_libdir}/%{name}/lib/openmpi/*
|
%{_libdir}/%{name}/lib/openmpi/*
|
||||||
%{_libdir}/%{name}/lib/mpi.jar
|
%{_libdir}/%{name}/lib/mpi.jar
|
||||||
@ -183,14 +186,14 @@ make check
|
|||||||
%dir %{_includedir}/%{name_all}
|
%dir %{_includedir}/%{name_all}
|
||||||
%{_includedir}/%{name_all}/*
|
%{_includedir}/%{name_all}/*
|
||||||
%{_libdir}/%{name}/share/doc/
|
%{_libdir}/%{name}/share/doc/
|
||||||
%{_libdir}/%{name}/bin/mpic*
|
%{_bindir}/mpic*
|
||||||
%{_libdir}/%{name}/bin/mpiCC
|
%{_bindir}/mpiCC
|
||||||
%{_libdir}/%{name}/bin/mpif*
|
%{_bindir}/mpif*
|
||||||
%{_libdir}/%{name}/bin/opal*
|
%{_bindir}/opal*
|
||||||
%{_libdir}/%{name}/bin/ortecc
|
%{_bindir}/ortecc
|
||||||
%{_libdir}/%{name}/bin/aggregate_profile.pl
|
%{_bindir}/aggregate_profile.pl
|
||||||
%{_libdir}/%{name}/bin/profile2mat.pl
|
%{_bindir}/profile2mat.pl
|
||||||
%{_libdir}/%{name}/bin/mpijava*
|
%{_bindir}/mpijava*
|
||||||
%{_libdir}/%{name}/lib/*.so
|
%{_libdir}/%{name}/lib/*.so
|
||||||
%{_libdir}/%{name}/lib/*.mod
|
%{_libdir}/%{name}/lib/*.mod
|
||||||
%{_libdir}/%{name}/lib/pkgconfig/
|
%{_libdir}/%{name}/lib/pkgconfig/
|
||||||
@ -208,6 +211,9 @@ make check
|
|||||||
%{_mandir}/%{name_all}/man*/*
|
%{_mandir}/%{name_all}/man*/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Aug 16 2023 wulei <wu_lei@hoperun.com> - 4.1.4-3
|
||||||
|
- Modify the /usr/lib64/openmpi/bin path to /usr/bin
|
||||||
|
|
||||||
* Fri Jul 29 2022 wangkai <wangkai385@h-partners.com> - 4.1.4-2
|
* Fri Jul 29 2022 wangkai <wangkai385@h-partners.com> - 4.1.4-2
|
||||||
- Reslove conflict with pmix-devel and update license
|
- Reslove conflict with pmix-devel and update license
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user