From ffa48c139fc312659ebc887f83fe94a28ce9794b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8F=B6=E5=81=A5=E9=82=A6?= Date: Mon, 22 Sep 2025 11:29:40 +0800 Subject: [PATCH 1/3] update data.ncview.arm.cpu.config --- .../ncview/2.1.5/data.ncview.arm.cpu.config | 34 +++++++++---------- 1 file changed, 16 insertions(+), 18 deletions(-) diff --git a/templates/ncview/2.1.5/data.ncview.arm.cpu.config b/templates/ncview/2.1.5/data.ncview.arm.cpu.config index f41f7b45..f13d4716 100644 --- a/templates/ncview/2.1.5/data.ncview.arm.cpu.config +++ b/templates/ncview/2.1.5/data.ncview.arm.cpu.config @@ -8,8 +8,8 @@ ncview/2.1.5 https://src.fedoraproject.org/repo/pkgs/ncview/ncview-2.1.5.tar.gz/ set -x set -e module purge -./jarvis -install package/hpckit/24.0.0 any -module use software/utils/hpckit/24.0.0/HPCKit/latest/modulefiles +./jarvis -install package/hpckit/2024.12.30 any +module use software/utils/hpckit/2024.12.30/HPCKit/latest/modulefiles module add bisheng/compiler4.1.0/bishengmodule module add bisheng/hmpi2.4.3/hmpi module use software/moduledeps @@ -23,7 +23,7 @@ module add bisheng4.1.0-hmpi2.4.3/pnetcdf/1.12.3 [ENV] module purge -module use software/utils/hpckit/24.0.0/HPCKit/latest/modulefiles +module use software/utils/hpckit/2024.12.30/HPCKit/latest/modulefiles module add bisheng/compiler4.1.0/bishengmodule module add bisheng/hmpi2.4.3/hmpi module use software/moduledeps @@ -33,16 +33,16 @@ module add bisheng4.1.0-hmpi2.4.3/netcdf-clang/4.7.0 module add bisheng4.1.0/udunits/2.2.28 module add bisheng4.1.0/libexpat/r-2.4.7 export PATH=${JARVIS_ROOT}/software/apps/bisheng/ncview/2.1.5/bin:$PATH -mkdir -p ${JARVIS_ROOT}/case +mkdir -p ${JARVIS_ROOT}/case/ncview [APP] app_name = ncview build_dir = ${JARVIS_ROOT} binary_dir = -case_dir = ${JARVIS_ROOT}/case +case_dir = ${JARVIS_ROOT}/case/ncview [BUILD] -. $CHECK_ROOT && yum install libX11 libX11-devel libXaw libXaw-devel libpng-devel libpnglibXt-devel xorg-x11-server-utils xorg-x11-server-Xnest libXtst -y +. $CHECK_ROOT && yum install libX11 libX11-devel libXaw libXaw-devel libpng-devel libpng curl curl-devel zlib zlib-devel libXt-devel xorg-x11-xauth xorg-x11-server-utils xorg-x11-server-Xnest libXtst -y set -x set -e cd ${JARVIS_TMP} @@ -60,14 +60,14 @@ binary = nodes = 1 [BATCH] -#定义日志文件 -LOG_FILE="ncview-performance.log" - -#清空日志文件 -> "$LOG_FILE" +cd ${JARVIS_ROOT}/case/ncview +if [ ! -f "ref_nccopy3_subset.nc" ];then + tar xf ${JARVIS_DOWNLOAD}/netcdf-c-4.7.0.tar.gz + mv netcdf-c-4.7.0/ncdump/ref_nccopy3_subset.nc . + rm -rf netcdf-c-4.7.0 +fi +ncview ref_nccopy3_subset.nc -#执行命令并统计性能 -#待补充 [JOB] #!/bin/sh @@ -79,14 +79,12 @@ LOG_FILE="ncview-performance.log" #DSUB -oo ncview_$J.out #DSUB -eo ncview.$J.err -#生成算例 -cd ${JARVIS_ROOT}/case +cd ${JARVIS_ROOT}/case/ncview if [ ! -f "ref_nccopy3_subset.nc" ];then tar xf ${JARVIS_DOWNLOAD}/netcdf-c-4.7.0.tar.gz mv netcdf-c-4.7.0/ncdump/ref_nccopy3_subset.nc . + rm -rf netcdf-c-4.7.0 fi -#运行 -#待补充 -#ncview ref_nccopy3_subset.nc +ncview ref_nccopy3_subset.nc -- Gitee From 0736d5de942663cd8523487221293b9e912f3f5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8F=B6=E5=81=A5=E9=82=A6?= Date: Mon, 22 Sep 2025 15:09:46 +0800 Subject: [PATCH 2/3] update data.ncview.arm.cpu.config --- templates/ncview/2.1.5/data.ncview.arm.cpu.config | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/ncview/2.1.5/data.ncview.arm.cpu.config b/templates/ncview/2.1.5/data.ncview.arm.cpu.config index f13d4716..69c1c9ec 100644 --- a/templates/ncview/2.1.5/data.ncview.arm.cpu.config +++ b/templates/ncview/2.1.5/data.ncview.arm.cpu.config @@ -8,8 +8,8 @@ ncview/2.1.5 https://src.fedoraproject.org/repo/pkgs/ncview/ncview-2.1.5.tar.gz/ set -x set -e module purge -./jarvis -install package/hpckit/2024.12.30 any -module use software/utils/hpckit/2024.12.30/HPCKit/latest/modulefiles +./jarvis -install package/hpckit/24.0.0 any +module use software/utils/hpckit/24.0.0/HPCKit/latest/modulefiles module add bisheng/compiler4.1.0/bishengmodule module add bisheng/hmpi2.4.3/hmpi module use software/moduledeps -- Gitee From 20984538a97786b8a80a278ca564f0e58f73243c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8F=B6=E5=81=A5=E9=82=A6?= Date: Mon, 22 Sep 2025 15:11:05 +0800 Subject: [PATCH 3/3] update data.ncview.arm.cpu.config --- templates/ncview/2.1.5/data.ncview.arm.cpu.config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/ncview/2.1.5/data.ncview.arm.cpu.config b/templates/ncview/2.1.5/data.ncview.arm.cpu.config index 69c1c9ec..bbda8325 100644 --- a/templates/ncview/2.1.5/data.ncview.arm.cpu.config +++ b/templates/ncview/2.1.5/data.ncview.arm.cpu.config @@ -23,7 +23,7 @@ module add bisheng4.1.0-hmpi2.4.3/pnetcdf/1.12.3 [ENV] module purge -module use software/utils/hpckit/2024.12.30/HPCKit/latest/modulefiles +module use software/utils/hpckit/24.0.0/HPCKit/latest/modulefiles module add bisheng/compiler4.1.0/bishengmodule module add bisheng/hmpi2.4.3/hmpi module use software/moduledeps -- Gitee