summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConnor Moore <connor.moore@psi.ch>2026-07-06 10:13:55 +0200
committerConnor Moore <connor.moore@psi.ch>2026-07-06 10:13:55 +0200
commit2703dea485d4c2f764815c09f45eb2575bb92c05 (patch)
treed3854ecd3ee55846c8e54cd751a220b0695490dc
parent647da2cfb0a7ba87a1821fde5e55eaee7b93bf3b (diff)
Verbosified parametric study table output with hostname, input MD5, and date
-rwxr-xr-xtriso_study_driver.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/triso_study_driver.sh b/triso_study_driver.sh
index 1578414..4f8e5d8 100755
--- a/triso_study_driver.sh
+++ b/triso_study_driver.sh
@@ -32,8 +32,9 @@ for rad in $(seq 0.65 0.025 1.15); do
$prog -t rpt -r $rad > results/rpt/$rad.out
keff=$(cat results/rpt/$rad.out | grep "Combined k-effective" | cut -d "=" -f 2 | cut -d "+" -f 1)
pm=$(cat results/rpt/$rad.out | grep "Combined k-effective" | cut -d "=" -f 2 | cut -d "-" -f 2)
+ md5=$(cat results/rpt/$rad.out | grep "MD5:" | cut -d ":" -f 2 | sed "s/ //g")
echo Found $keff +/- $pm for RPT with r=$rad cm...
- echo $rad $keff $pm >> results/rpt_table
+ echo $rad $keff $pm $(hostname) $md5 \($(date)\) >> results/rpt_table
done
# 4. RRPT
@@ -43,6 +44,7 @@ for rad in $(seq 0.1 0.025 0.95); do
$prog -t rrpt -r $rad > results/rrpt/$rad.out
keff=$(cat results/rrpt/$rad.out | grep "Combined k-effective" | cut -d "=" -f 2 | cut -d "+" -f 1)
pm=$(cat results/rrpt/$rad.out | grep "Combined k-effective" | cut -d "=" -f 2 | cut -d "-" -f 2)
+ md5=$(cat results/rrpt/$rad.out | grep "MD5:" | cut -d ":" -f 2 | sed "s/ //g")
echo Found $keff +/- $pm for RRPT with r=$rad cm...
- echo $rad $keff $pm >> results/rrpt_table
+ echo $rad $keff $pm $(hostname) $md5 \($(date)\) >> results/rrpt_table
done