From 556ac35aa7a6b70b8229f617a29ff564231af34e Mon Sep 17 00:00:00 2001 From: Matthew Masarik Date: Wed, 31 Jan 2024 20:01:39 +0000 Subject: [PATCH] matrix_pdlib - first commit --- .gitignore | 5 +++-- regtests/{ww3_repro => }/matrix_pdlib | 24 ++++++++++++------------ 2 files changed, 15 insertions(+), 14 deletions(-) rename regtests/{ww3_repro => }/matrix_pdlib (82%) diff --git a/.gitignore b/.gitignore index e983f997b..56aa7a2ad 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,8 @@ +!regtests/matrix_pdlib watch3.env cases data_regtests -smc_docs/*.pdf +smc_docs/*.pdf smc_docs/SMCG_TKs/*.ps ww3_from_ftp.tar.gz ww3_from_ftp.v6.07.tar.gz @@ -133,7 +134,7 @@ regtests/ww3_ufs1.2/input/glo_15mxt.obs regtests/ww3_ufs1.2/input/gnh_10m.mask regtests/ww3_ufs1.2/input/gnh_10m.obs regtests/ww3_ufs1.2/input/gsh_15m.bot -regtests/ww3_ufs1.2/input/gsh_15m.mask +regtests/ww3_ufs1.2/input/gsh_15m.mask regtests/ww3_ufs1.2/input/gsh_15m.obs regtests/ww3_ufs1.2/input/gnh_10m.bot regtests/ww3_ufs1.2/input/gsh_15m.mask diff --git a/regtests/ww3_repro/matrix_pdlib b/regtests/matrix_pdlib similarity index 82% rename from regtests/ww3_repro/matrix_pdlib rename to regtests/matrix_pdlib index 28147b832..4e2381266 100644 --- a/regtests/ww3_repro/matrix_pdlib +++ b/regtests/matrix_pdlib @@ -49,36 +49,36 @@ echo ' **********************************************' echo ' ' - cd $REGDIR - - # Block Explicit (grid b) + # Grid: pdlib grid='pdlib' + rst_dt='20100801.030000' + rst_03=${rst_dt}.restart.ww3 + cd $REGDIR + # N PROC # ------ echo -e "\nnproc: $nproc" - cp -v ww3_ufs1.1/input_unstr/ww3_shel.inp.start ww3_ufs1.1/input_unstr/ww3_shel.inp + cp -v ww3_repro/input/ww3_shel.inp.start ww3_repro/input/ww3_shel.inp run_pdlib_ascii $nproc $grid # M PROC # ------ echo -e "\nmproc: $mproc" - mkdir -p ww3_ufs1.1/work_${mproc} - cp -v ww3_ufs1.1/work_${nproc}/20210401.030000.restart.ww3 ww3_ufs1.1/work_${mproc}/restart.ww3 - cp -v ww3_ufs1.1/input_unstr/ww3_shel.inp.restart ww3_ufs1.1/input_unstr/ww3_shel.inp + mkdir -p ww3_repro/work_${mproc} + cp -v ww3_repro/work_${nproc}/${rst_03} ww3_repro/work_${mproc}/restart.ww3 + cp -v ww3_repro/input/ww3_shel.inp.restart ww3_repro/input/ww3_shel.inp run_pdlib_ascii $mproc $grid # compare NPROC v. MPROC # ---------------------- - ./bin/test.comp ww3_ufs1.1 work_${nproc} work_${mproc} - - - echo "done running." + ./bin/test.comp ww3_repro work_${nproc} work_${mproc} [[ -d ${path_build_root} ]] && rm -rf ${path_build_root}* + echo "done running." echo ' ' echo ' **************************************************************' - echo ' * end of WAVEWATCH III matrix10 of regression tests *' + echo ' * end WAVEWATCH III - PDLIB small mesh *' echo ' **************************************************************' echo ' '