From 4f9f371b75d1f9eb4fe2ffc9e91c056034059e11 Mon Sep 17 00:00:00 2001 From: cherry530 <707078654@qq.com> Date: Wed, 15 May 2024 15:28:20 +0800 Subject: [PATCH] set OMPI_MCA_rmaps_base_oversubscribe is true for test failed. Signed-off-by: cherry530 <707078654@qq.com> --- gromacs.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/gromacs.spec b/gromacs.spec index be32011..055a0a6 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 -- Gitee