From 72297911b1aecb5f8a41ee570a4c65115722b0aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=AB=98=E6=96=87=E5=B0=A7?= <18848977154@163.com> Date: Thu, 6 Nov 2025 10:52:20 +0800 Subject: [PATCH] wrf --- templates/wrf/4.2/bisheng/data.wrf.arm.cpu.config | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/templates/wrf/4.2/bisheng/data.wrf.arm.cpu.config b/templates/wrf/4.2/bisheng/data.wrf.arm.cpu.config index 74cefbe4..f2d03386 100644 --- a/templates/wrf/4.2/bisheng/data.wrf.arm.cpu.config +++ b/templates/wrf/4.2/bisheng/data.wrf.arm.cpu.config @@ -3,6 +3,7 @@ [DOWNLOAD] wrf/4.2 $JARVIS_PROXY/wrf-model/WRF/archive/refs/tags/v4.2.tar.gz wrf-4.2.tar.gz +conus12km https://www2.mmm.ucar.edu/wrf/src/conus12km.tar.gz [DEPENDENCY] set -e @@ -61,7 +62,7 @@ app_name = WRF build_dir = ${WRF_DIR} binary_dir = #case_dir = ${JARVIS_ROOT}/ -case_dir = ${JARVIS_ROOT}/workloads/conus12km/ +case_dir = ${JARVIS_ROOT}/conus12km/ [BUILD] cat << \EOF > ./arch/configure.defaults @@ -115,11 +116,19 @@ sed -i 's/derf/erf/g' ./phys/module_mp_SBM_polar_radar.F echo 4 | ./configure ./compile -j 20 em_real 2>&1 | tee compile.log + +cd ${JARVIS_ROOT} +rm -rf conus12km +tar -vxf ${JARVIS_DOWNLOAD}/conus12km.tar.gz +rsync -av --exclude='namelist.input' $JARVIS_ROOT/WRF-4.2/run/* conus12km/ +cd conus12km +ln -sf $JARVIS_ROOT/WRF-4.2/main/*.exe ./ + [CLEAN] ./clean [RUN] -run = mpirun --allow-run-as-root -n 32 -x OMP_NUM_THREADS=1 -bind-to core ./wrf.exe +run = mpirun --allow-run-as-root -n 16 -x OMP_NUM_THREADS=1 -bind-to core ./wrf.exe binary = nodes = 1 @@ -146,4 +155,4 @@ EXEC_CMD="time -p mpirun $CCS_MPI_OPTIONS -n 32 -x OMP_NUM_THREADS=1 -x UCX_NET_ echo "$EXEC_CMD" date $EXEC_CMD -date \ No newline at end of file +date -- Gitee