From 8a7bf48b903e1496b132b956892a97c8fbcf913f Mon Sep 17 00:00:00 2001 From: Ling <2277486684@qq.com> Date: Mon, 17 Nov 2025 11:27:28 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BD=BF=E7=94=A8hpckit,?= =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E7=BC=96=E8=AF=91=E5=99=A8=E5=92=8C=E7=BC=96?= =?UTF-8?q?=E8=AF=91=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../2.6.1/data.want.arm.bisheng.hmpi.config | 42 ++++++++++--------- 1 file changed, 22 insertions(+), 20 deletions(-) diff --git a/templates/want/2.6.1/data.want.arm.bisheng.hmpi.config b/templates/want/2.6.1/data.want.arm.bisheng.hmpi.config index 8add7d7f..34b42c0a 100644 --- a/templates/want/2.6.1/data.want.arm.bisheng.hmpi.config +++ b/templates/want/2.6.1/data.want.arm.bisheng.hmpi.config @@ -8,45 +8,47 @@ want/2.6.1 https://github.com/QEF/want/archive/want-2.6.1.tar.gz want-2.6.1.tar. set -e set -x +./jarvis -install hpckit/${HPCKIT_VERSION} any +module use ./software/utils/hpckit/${HPCKIT_VERSION}/HPCKit/${HPCKIT_VERSION}/modulefiles +module load bisheng/compiler${BISHENG_VERSION} +module load bisheng/hmpi${HMPI_VERSION} +module load bisheng/kml${HMPI_VERSION} -./jarvis -install bisheng/2.1.0 com -module purge -module use ./software/modulefiles -module load bisheng/2.1.0 export CC=`which clang` export CXX=`which clang++` export FC=`which flang` -./jarvis -install hmpi/1.1.1 bisheng -module use ./software/moduledeps/bisheng2.1.0 -module load hmpi/1.1.1 ./jarvis -install openblas/0.3.18 bisheng + +module use ./software/moduledeps/bisheng${BISHENG_VERSION} module load openblas/0.3.18 -./jarvis -install kml/2.4.0/bisheng bisheng -module load kml-bisheng/2.4.0 yum install lapack* blas* -y -tar -vzxf ${JARVIS_DOWNLOAD}/want-2.6.1.tar.gz +mkdir -p ${JARVIS_ROOT}/software/apps +tar -vzxf ${JARVIS_DOWNLOAD}/want-2.6.1.tar.gz -C ${JARVIS_ROOT}/software/apps [ENV] module purge -module use ./software/modulefiles -module load bisheng/2.1.0 +module use ./software/utils/hpckit/${HPCKIT_VERSION}/HPCKit/${HPCKIT_VERSION}/modulefiles +module load bisheng/compiler${BISHENG_VERSION} +module load bisheng/hmpi${HMPI_VERSION} +module load bisheng/kml${HMPI_VERSION} + +module use ./software/moduledeps/bisheng${BISHENG_VERSION} +module load openblas/0.3.18 + export CC=`which clang` export CXX=`which clang++` export FC=`which flang` -module use ./software/moduledeps/bisheng2.1.0 -module load hmpi/1.1.1 -module load openblas/0.3.18 -module load kml-bisheng/2.4.0 +export PATH=${JARVIS_ROOT}/software/apps/want-want-2.6.1/bin:$PATH [APP] app_name = want -build_dir = ${JARVIS_ROOT}/want-want-2.6.1/ -binary_dir = ${JARVIS_ROOT}/want-want-2.6.1/bin/ -case_dir = ${JARVIS_ROOT}/want-want-2.6.1/bin/ +build_dir = ${JARVIS_ROOT}/software/apps/want-want-2.6.1/ +binary_dir = ${JARVIS_ROOT}/software/apps/want-want-2.6.1/bin/ +case_dir = ${JARVIS_ROOT}/software/apps/want-want-2.6.1/bin/ [BUILD] -./configure CC=gcc CFLAGS="-O3 -march=armv8.2-a -mcpu=tsv110" --build=aarch64-unknown-linux-gnu +./configure CC=clang CFLAGS="-O3 -march=armv8.2-a -mcpu=tsv110 -Wno-implicit-function-declaration -Wno-implicit-int" --build=aarch64-unknown-linux-gnu make all [CLEAN] -- Gitee From 3c74bbe10ff26f15a774f953133089e7bd715590 Mon Sep 17 00:00:00 2001 From: Ling <2277486684@qq.com> Date: Mon, 17 Nov 2025 09:58:24 +0000 Subject: [PATCH 2/2] =?UTF-8?q?update=20templates/want/2.6.1/data.want.arm?= =?UTF-8?q?.bisheng.hmpi.config.=20=E4=BF=AE=E6=AD=A3hpckit=E5=8A=A0?= =?UTF-8?q?=E8=BD=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ling <2277486684@qq.com> --- .../want/2.6.1/data.want.arm.bisheng.hmpi.config | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/templates/want/2.6.1/data.want.arm.bisheng.hmpi.config b/templates/want/2.6.1/data.want.arm.bisheng.hmpi.config index 34b42c0a..f9336467 100644 --- a/templates/want/2.6.1/data.want.arm.bisheng.hmpi.config +++ b/templates/want/2.6.1/data.want.arm.bisheng.hmpi.config @@ -9,10 +9,8 @@ set -e set -x ./jarvis -install hpckit/${HPCKIT_VERSION} any -module use ./software/utils/hpckit/${HPCKIT_VERSION}/HPCKit/${HPCKIT_VERSION}/modulefiles -module load bisheng/compiler${BISHENG_VERSION} -module load bisheng/hmpi${HMPI_VERSION} -module load bisheng/kml${HMPI_VERSION} +source ./software/utils/hpckit/${HPCKIT_VERSION}/HPCKit/${HPCKIT_VERSION}/setvars.sh --force --use-bisheng + export CC=`which clang` export CXX=`which clang++` @@ -28,10 +26,7 @@ tar -vzxf ${JARVIS_DOWNLOAD}/want-2.6.1.tar.gz -C ${JARVIS_ROOT}/software/apps [ENV] module purge -module use ./software/utils/hpckit/${HPCKIT_VERSION}/HPCKit/${HPCKIT_VERSION}/modulefiles -module load bisheng/compiler${BISHENG_VERSION} -module load bisheng/hmpi${HMPI_VERSION} -module load bisheng/kml${HMPI_VERSION} +source ./software/utils/hpckit/${HPCKIT_VERSION}/HPCKit/${HPCKIT_VERSION}/setvars.sh --force --use-bisheng module use ./software/moduledeps/bisheng${BISHENG_VERSION} module load openblas/0.3.18 -- Gitee