Skip to content
Snippets Groups Projects
Commit 5e5c0a3b authored by Xingran Wang's avatar Xingran Wang
Browse files

separate compile and run script, output nc4

parent 12281014
No related branches found
No related tags found
No related merge requests found
set -ex
tests_dir=/p/scratch/highresmonsoon/xwang/cdi-pio-benchmark/cdi-pio-build-tj20220307-1.8.x-merge/cdi-5eb8cbb1d381fc78bced3fd769033946a99c9f7a/tests
base_dir="$(cd "$tests_dir/.."; pwd)"
set +x
nvhpc_version=21.5
openmpi_version=4.1.1
module --force purge
ml use "$OTHERSTAGES"
ml Stages/2020
ml NVHPC/${nvhpc_version}-GCC-10.3.0
ml OpenMPI/${openmpi_version}
ml Ruby/2.7.2
ml UCX/1.10.1
ml netCDF-Fortran
ml CMake/3.18.0
# ecCodes is not directly available, load dependencies instead...
ml OpenGL/2020 libaec
ml ecCodes/2.21.0-nompi
module swap netCDF/4.7.4-serial netCDF/4.7.4
set -x
export LD_PRELOAD="/p/software/juwelsbooster/stages/2020/software/UCX/1.11.1/lib/libuct.so.0:/p/software/juwelsbooster/stages/2020/software/UCX/1.11.1/lib/libucp.so.0:/p/software/juwelsbooster/stages/2020/software/UCX/1.11.1/lib/libucs.so.0:/p/software/juwelsbooster/stages/2020/software/UCX/1.11.1/lib/libucm.so.0"
cd "$base_dir" || exit 1
make -j 22
cd "$tests_dir" || exit 1
......@@ -13,37 +13,14 @@
# set -eux
set -ex
tests_dir=/p/scratch/highresmonsoon/xwang/cdi-pio-benchmark/cdi-pio-build-tj20220307-1.8.x-merge/cdi-5eb8cbb1d381fc78bced3fd769033946a99c9f7a/tests
base_dir="$(cd "$tests_dir/.."; pwd)"
source ./test_pio.booster_nvhpc_ompi.compile.sh
qprefix="/p/scratch/highresmonsoon/cdi-pio-test_dir"
mkdir -p "$qprefix"
qprefix="$qprefix/files_pio_write"
set +x
nvhpc_version=21.5
openmpi_version=4.1.1
module --force purge
ml use "$OTHERSTAGES"
ml Stages/2020
ml NVHPC/${nvhpc_version}-GCC-10.3.0
ml OpenMPI/${openmpi_version}
ml Ruby/2.7.2
ml UCX/1.10.1
ml netCDF-Fortran
ml CMake/3.18.0
# ecCodes is not directly available, load dependencies instead...
ml OpenGL/2020 libaec
ml ecCodes/2.21.0-nompi
module swap netCDF/4.7.4-serial netCDF/4.7.4
export LD_PRELOAD="/p/software/juwelsbooster/stages/2020/software/UCX/1.11.1/lib/libuct.so.0:/p/software/juwelsbooster/stages/2020/software/UCX/1.11.1/lib/libucp.so.0:/p/software/juwelsbooster/stages/2020/software/UCX/1.11.1/lib/libucs.so.0:/p/software/juwelsbooster/stages/2020/software/UCX/1.11.1/lib/libucm.so.0"
set -x
cd "$base_dir" || exit 1
make -j 22
cd "$tests_dir" || exit 1
export SCT_PROC_CHOICE=SCT_SELECT_ALL
export SCT_PROC_CHOICE=SCT_REDUCE_ALL
# export SCT_PROC_CHOICE=SCT_SELECT_ALL
export SCT_CALLSTATS=1
# reduce output data to decrease test duration
......@@ -55,5 +32,5 @@ export SCT_CALLSTATS=1
time ../libtool --mode=execute srun \
./pio_write_deco2d.parallel "-qprefix=$qprefix" -qpio-role-scheme=last \
-c -m 768 -n 384 -z 95 -t 10 -y 120 -s 7 \
-f grb2 -p PIO_MPI_FW_AT_ALL -w 16
-f nc4 -p PIO_MPI_FW_AT_ALL -w 16
set +x
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment