diff --git a/gromacs.spec b/gromacs.spec index be320110e2d09ba49ee7e14128065e0bac8fd416..055a0a6449ec957c082b425bd53994e4c3601570 100644 --- a/gromacs.spec +++ b/gromacs.spec @@ -8,7 +8,7 @@ %endif Name: gromacs Version: 2019.3 -Release: 4 +Release: 5 Summary: Fast, Free and Flexible Molecular Dynamics License: GPLv2+ and ASL-2.0 and BSL-1.0 and MIT and LGPL-2.1 URL: http://www.gromacs.org @@ -238,11 +238,13 @@ echo "%{_libdir}/openmpi/lib" > %{buildroot}/etc/ld.so.conf.d/%{name}-openmpi-%{ %check export OMPI_ALLOW_RUN_AS_ROOT=1 +export OMPI_ALLOW_RUN_AS_ROOT_CONFIRM=1 . /etc/profile.d/modules.sh for p in '' _d ; do for mpi in '' mpich openmpi ; do test -n "${mpi}" && module load mpi/${mpi}-%{_arch} test -n "${mpi}" && xLD_LIBRARY_PATH=$LD_LIBRARY_PATH:%{buildroot}${MPI_LIB} || xLD_LIBRARY_PATH=%{buildroot}%{_libdir} + export OMPI_MCA_rmaps_base_oversubscribe=1 LD_LIBRARY_PATH="${xLD_LIBRARY_PATH}" make -C ${mpi:-serial}${p} VERBOSE=1 %{?_smp_mflags} check test -n "${mpi}" && module unload mpi/${mpi}-%{_arch} done @@ -289,6 +291,9 @@ done %config(noreplace) /etc/ld.so.conf.d/%{name}-mpich-%{_arch}.conf %changelog +* Mon May 15 2024 xu_ping <707078654@qq.com> - 2019.3-5 +- set OMPI_MCA_rmaps_base_oversubscribe is true for test failed. + * Mon Aug 07 2023 chenchen - 2019.3-4 - fix build error due to gcc upgrade to gcc 12.3.4 - add variable OMPI_ALLOW_RUN_AS_ROOT=1 for fix test error