Skip to content

Commit

Permalink
refactor: require path2CLEO is set in bash
Browse files Browse the repository at this point in the history
  • Loading branch information
yoctoyotta1024 committed Nov 17, 2024
1 parent 0679415 commit 170479b
Showing 1 changed file with 17 additions and 12 deletions.
29 changes: 17 additions & 12 deletions examples/slurm_allexamples.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,20 @@

path2CLEO=$1

sbatch ${path2CLEO}/examples/adiabaticparcel/as2017.sh
sbatch ${path2CLEO}/examples/adiabaticparcel/cuspbifurc.sh
sbatch ${path2CLEO}/examples/boxmodelcollisions/shima2009.sh
sbatch ${path2CLEO}/examples/boxmodelcollisions/breakup.sh
#sbatch ${path2CLEO}/examples/bubble3d/bubble3d.sh # TODO(CB): complete
sbatch ${path2CLEO}/examples/constthermo2d/constthermo2d.sh
sbatch ${path2CLEO}/examples/divfreemotion/divfree2d.sh
sbatch ${path2CLEO}/examples/eurec4a1d/eurec4a1d.sh
sbatch ${path2CLEO}/examples/fromfile/fromfile.sh
sbatch ${path2CLEO}/examples/fromfile_irreg/fromfile_irreg.sh
sbatch ${path2CLEO}/examples/rainshaft1d/rainshaft1d.sh
sbatch ${path2CLEO}/examples/speedtest/speedtest.sh
if [ -z "${path2CLEO}" ];
then
echo "please specify the path2CLEO"
else
sbatch ${path2CLEO}/examples/adiabaticparcel/as2017.sh
sbatch ${path2CLEO}/examples/adiabaticparcel/cuspbifurc.sh
sbatch ${path2CLEO}/examples/boxmodelcollisions/shima2009.sh
sbatch ${path2CLEO}/examples/boxmodelcollisions/breakup.sh
#sbatch ${path2CLEO}/examples/bubble3d/bubble3d.sh # TODO(CB): complete
sbatch ${path2CLEO}/examples/constthermo2d/constthermo2d.sh
sbatch ${path2CLEO}/examples/divfreemotion/divfree2d.sh
sbatch ${path2CLEO}/examples/eurec4a1d/eurec4a1d.sh
sbatch ${path2CLEO}/examples/fromfile/fromfile.sh
sbatch ${path2CLEO}/examples/fromfile_irreg/fromfile_irreg.sh
sbatch ${path2CLEO}/examples/rainshaft1d/rainshaft1d.sh
sbatch ${path2CLEO}/examples/speedtest/speedtest.sh
fi

0 comments on commit 170479b

Please sign in to comment.