From fd99cdf58fee73b22fa16640c7192d6101b9a14f Mon Sep 17 00:00:00 2001 From: Zerry <996002763@qq.com> Date: Sat, 20 Dec 2025 02:35:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dtemplates/qe/6.4/data.qe.test?= =?UTF-8?q?.config?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/qe/6.4/data.qe.test.config | 34 +++++++++++++++++----------- 1 file changed, 21 insertions(+), 13 deletions(-) diff --git a/templates/qe/6.4/data.qe.test.config b/templates/qe/6.4/data.qe.test.config index ea748cab..4037a457 100644 --- a/templates/qe/6.4/data.qe.test.config +++ b/templates/qe/6.4/data.qe.test.config @@ -7,24 +7,32 @@ qe/6.4 $JARVIS_PROXY/QEF/q-e/archive/refs/tags/qe-6.4.1.tar.gz q-e-qe-6.4.1.tar. [DEPENDENCY] set -e set -x -./jarvis -install kgcc/9.3.1 com +yum install -y libatomic module purge -module use ./software/modulefiles -module load kgcc/9.3.1 +./jarvis -install hpckit/${HPCKIT_VERSION} any +module use ./software/utils/hpckit/${HPCKIT_VERSION}/HPCKit/${HPCKIT_VERSION}/modulefiles +module load gcc/compiler12.3.1/gccmodule gcc/hmpi${HMPI_VERSION}/release +module load gcc/kml${HPCKIT_VERSION}/kml gcc/kml${HPCKIT_VERSION}/kblas/multi export CC=`which gcc` export CXX=`which g++` export FC=`which gfortran` -./jarvis -install openmpi/4.1.2 gcc -module load openmpi/4.1.2 #test if mpi is normal ./jarvis -bench mpi tar -xzvf ${JARVIS_DOWNLOAD}/q-e-qe-6.4.1.tar.gz [ENV] module purge -module use ./software/modulefiles -module load kgcc/9.3.1 -module load openmpi/4.1.2 +module use ./software/utils/hpckit/${HPCKIT_VERSION}/HPCKit/${HPCKIT_VERSION}/modulefiles +module load gcc/compiler12.3.1/gccmodule gcc/hmpi${HMPI_VERSION}/release +module load gcc/kml${HPCKIT_VERSION}/kml gcc/kml${HPCKIT_VERSION}/kblas/multi + +export KML_LIB=$JARVIS_UTILS/hpckit/${HPCKIT_VERSION}/HPCKit/latest/kml/gcc/lib +export BLAS_PATH=$KML_LIB/${kp}/kblas/multi +export LAPACK_PATH=$KML_LIB/${kp} +export KM_LIB=$KML_LIB/noarch + +export BLAS_LIBS="-L$BLAS_PATH -lkblas" +export LAPACK_LIBS="-L$LAPACK_PATH -L$KM_LIB -lkm -lkscalapack_full -lklapack_full" [APP] app_name = QE @@ -33,19 +41,19 @@ binary_dir = ${JARVIS_ROOT}/q-e-qe-6.4.1/bin/ case_dir = ${JARVIS_ROOT}/workloads/QE/qe-test [BUILD] -./configure F90=gfortran F77=gfortran MPIF90=mpifort MPIF77=mpifort CC=mpicc FCFLAGS="-O3" CFLAGS="-O3" --with-scalapack=no --enable-openmp -make -j pw +./configure F90=gfortran F77=gfortran MPIF90=mpifort MPIF77=mpifort CC=mpicc FFLAGS="-O3 -g -fallow-argument-mismatch" FCFLAGS="-O3 -fallow-argument-mismatch" CFLAGS="-O3" --with-scalapack=no --enable-openmp +make -j pwall make install [CLEAN] make clean [RUN] -run = mpirun --allow-run-as-root -x OMP_NUM_THREADS=1 -np 8 +run = mpirun --allow-run-as-root -x OMP_NUM_THREADS=1 -np $(nproc) binary = pw.x -input test_3.in nodes = 1 [PERF] -perf= +perf= nsys= -ncu=--target-processes all \ No newline at end of file +ncu=--target-processes all -- Gitee