Modify the /usr/lib64/openmpi/bin path to /usr/bin
This commit is contained in:
parent
1222452dcb
commit
2472fc3600
50
openmpi.spec
50
openmpi.spec
@ -1,6 +1,6 @@
|
|||||||
Name: openmpi
|
Name: openmpi
|
||||||
Version: 2.1.1
|
Version: 2.1.1
|
||||||
Release: 19
|
Release: 20
|
||||||
Summary: Open Source High Performance Computing
|
Summary: Open Source High Performance Computing
|
||||||
License: BSD and MIT and Romio
|
License: BSD and MIT and Romio
|
||||||
URL: http://www.open-mpi.org/
|
URL: http://www.open-mpi.org/
|
||||||
@ -79,7 +79,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 \
|
||||||
@ -149,7 +153,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}
|
||||||
@ -158,15 +161,15 @@ make check
|
|||||||
%dir %{_libdir}/%{name}/share/openmpi
|
%dir %{_libdir}/%{name}/share/openmpi
|
||||||
%config(noreplace) %{_sysconfdir}/%{name_all}/*
|
%config(noreplace) %{_sysconfdir}/%{name_all}/*
|
||||||
%{_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}/bin/oshmem_info
|
%{_bindir}/oshmem_info
|
||||||
%{_libdir}/%{name}/bin/oshrun
|
%{_bindir}/oshrun
|
||||||
%{_libdir}/%{name}/bin/shmemrun
|
%{_bindir}/shmemrun
|
||||||
%{_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
|
||||||
@ -179,16 +182,16 @@ 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/oshcc
|
%{_bindir}/oshcc
|
||||||
%{_libdir}/%{name}/bin/oshfort
|
%{_bindir}/oshfort
|
||||||
%{_libdir}/%{name}/bin/shmemcc
|
%{_bindir}/shmemcc
|
||||||
%{_libdir}/%{name}/bin/shmemfort
|
%{_bindir}/shmemfort
|
||||||
%{_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/
|
||||||
@ -211,6 +214,9 @@ make check
|
|||||||
%{_mandir}/%{name_all}/man*/*
|
%{_mandir}/%{name_all}/man*/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Aug 16 2023 wulei <wu_lei@hoperun.com> - 2.1.1-20
|
||||||
|
- Modify the /usr/lib64/openmpi/bin path to /usr/bin
|
||||||
|
|
||||||
* Wed Apr 06 2022 konglidong <konglidong@uniontech.com> - 2.1.1-19
|
* Wed Apr 06 2022 konglidong <konglidong@uniontech.com> - 2.1.1-19
|
||||||
- change Buildrequire from java-devel to java-1.8.0-openjdk-devel
|
- change Buildrequire from java-devel to java-1.8.0-openjdk-devel
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user