Skip to content

Commit

Permalink
matrix_pdlib: fix regarding ww3_strt.inp for 'start' vs 'restart'
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewMasarik-NOAA committed Feb 1, 2024
1 parent 34bb8ff commit 5eb9674
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion regtests/matrix_pdlib
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,14 @@
fi
local nproc=$1
local ww3shel="$2"
if [ "$ww3shel" == "ww3_shel.inp.start" ]; then
cp -v ww3_repro/input/ww3_strt.inp.start ww3_repro/input/ww3_strt.inp
elif [ "$ww3shel" == "ww3_shel.inp.restart" ]; then
rm -fv ww3_repro/input/ww3_strt.inp
else
echo "ww3_shel.inp: undetermined, $ww3shel. Exiting."
return
fi
cp -v ww3_repro/input/$ww3shel ww3_repro/input/ww3_shel.inp
run_pdlib_ascii $nproc
return
Expand Down Expand Up @@ -101,7 +109,7 @@
# RESTART RUN: M PROC
# -------------------
echo -e "\nrestart: mproc=$mproc"
pdlib_restart_run $mproc ww3_shel.inp.restart
pdlib_restart_run $mproc ww3_shel.inp.restart $nproc $rst_03

# COMP RUNS: NPROC v. MPROC
# -------------------------
Expand Down

0 comments on commit 5eb9674

Please sign in to comment.