summaryrefslogtreecommitdiff
path: root/hp_height_study_driver.sh
diff options
context:
space:
mode:
authorConnor Moore <connor.moore@psi.ch>2026-07-08 14:38:13 +0200
committerConnor Moore <connor.moore@psi.ch>2026-07-08 14:38:13 +0200
commitb4037e62ff173b5850bb500ad169eb7a7228079f (patch)
tree341a46f3190571b69d437f35f1f69e0d09f0e600 /hp_height_study_driver.sh
parent3e72a369b6567702711774ea0deec4fbfe47790a (diff)
Added optional run flag for python script and merlin7 support for bash driver
Diffstat (limited to 'hp_height_study_driver.sh')
-rwxr-xr-xhp_height_study_driver.sh13
1 files changed, 9 insertions, 4 deletions
diff --git a/hp_height_study_driver.sh b/hp_height_study_driver.sh
index ee4d4d9..e202d8c 100755
--- a/hp_height_study_driver.sh
+++ b/hp_height_study_driver.sh
@@ -5,16 +5,21 @@ touch results/keff_table
echo "#" $(date) > results/keff_table
-if [[ $1 == "lcl" ]]; then
- prog=(openmc-inst01.py krusty.py -l)
+if [[ $1 == "lclrs" ]]; then
+ prog=(openmc-inst01.py krusty.py -l -r)
+ pool_seq=$(seq 1 45)
+elif [[ $1 == "merlin" ]]; then
+ prog=(../krusty.py)
+ pool_seq=$2
else
- prog=./krusty.py
+ prog=(./krusty.py -r)
+ pool_seq=$(seq 1 45)
fi
green="\e[0;32m"
reset="\e[0m"
-for pool_height in $(seq 1 45); do
+for pool_height in $pool_seq; do
echo -e "$green Starting runs for $pool_height cm pool height... $reset"
for sat_height in $(seq $pool_height 45); do
output_file=results/outputs/p$pool_height\_s$sat_height.out