diff --git a/templates/petsc/3.16/data.petsc.arm.cpu.config b/templates/petsc/3.16/data.petsc.arm.cpu.config index db7bc7a3e3a8f040f0957f3d9a6207508c056161..a5666a0492194f6fc1ad3c31159270e090f773f6 100644 --- a/templates/petsc/3.16/data.petsc.arm.cpu.config +++ b/templates/petsc/3.16/data.petsc.arm.cpu.config @@ -8,9 +8,10 @@ refs/3.16 https://github.com/petsc/petsc/archive/refs/heads/release-3.16.zip set -e set -x module purge -./jarvis -install hpckit/${HPCKIT_VERSION} com -module use ./software/compiler/hpckit/${HPCKIT_VERSION}/HPCKit/${HPCKIT_VERSION}/modulefiles -module add bisheng/compiler4.2.0/bishengmodule bisheng/hmpi25.0.0/hmpi +./jarvis -install hpckit/${HPCKIT_VERSION} any +module use ./software/utils/hpckit/${HPCKIT_VERSION}/HPCKit/${HPCKIT_VERSION}/modulefiles +module load bisheng/compiler${BISHENG_VERSION}/bishengmodule +module load bisheng/hmpi${HPCKIT_VERSION}/release export CC=`which clang` export CXX=`which clang++` export FC=`which flang` @@ -20,7 +21,8 @@ unzip ${JARVIS_DOWNLOAD}/release-3.16.zip [ENV] module purge module use ./software/compiler/hpckit/${HPCKIT_VERSION}/HPCKit/${HPCKIT_VERSION}/modulefiles -module add bisheng/compiler4.2.0/bishengmodule bisheng/hmpi25.0.0/hmpi +module load bisheng/compiler${BISHENG_VERSION}/bishengmodule +module load bisheng/hmpi${HPCKIT_VERSION}/release export CC=`which clang` export CXX=`which clang++` export FC=`which flang`