From a18f1675e0a8982084e16875a39bc749475f7705 Mon Sep 17 00:00:00 2001 From: Fei Yang <2501213217@stu.pku.edu.cn> Date: Fri, 16 Jan 2026 17:08:08 +0800 Subject: [PATCH 1/2] Optimize install_openmpi.sh script --- toolchain/scripts/stage1/install_openmpi.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/toolchain/scripts/stage1/install_openmpi.sh b/toolchain/scripts/stage1/install_openmpi.sh index 6656fb9a971..6798e8ef178 100755 --- a/toolchain/scripts/stage1/install_openmpi.sh +++ b/toolchain/scripts/stage1/install_openmpi.sh @@ -91,7 +91,12 @@ case "${with_openmpi}" in # else # EXTRA_CONFIGURE_FLAGS="" # fi - ./configure CFLAGS="${CFLAGS}" \ + ./configure \ + CC=gcc \ + CXX=g++ \ + FC=gfortran \ + F77=gfortran \ + CFLAGS="${CFLAGS}" \ --prefix=${pkg_install_dir} \ --libdir="${pkg_install_dir}/lib" \ --with-libevent=internal \ From 47f8a8aaa17c3e1ecbbfa3396223fb24a1941b23 Mon Sep 17 00:00:00 2001 From: Fei Yang <2501213217@stu.pku.edu.cn> Date: Wed, 15 Apr 2026 13:59:05 +0800 Subject: [PATCH 2/2] change threshold in 01_PW/208_PW_CG_float --- tests/01_PW/208_PW_CG_float/threshold | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/01_PW/208_PW_CG_float/threshold b/tests/01_PW/208_PW_CG_float/threshold index cc0ad91b672..65774695dee 100644 --- a/tests/01_PW/208_PW_CG_float/threshold +++ b/tests/01_PW/208_PW_CG_float/threshold @@ -1,5 +1,5 @@ # The float type possesses different precision compared to the double type. # This integration aims to test the functionality of the float type # within the plane-wave (pw) basis -threshold 0.00001 +threshold 0.00002 fatal_threshold 1