Add a helper script for batch execution on multiple simulation runs
This commit is contained in:
parent
46e0b76230
commit
704f207e7b
1 changed files with 17 additions and 0 deletions
17
batch_analyze.bash
Executable file
17
batch_analyze.bash
Executable file
|
@ -0,0 +1,17 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
base="$HOME/Projects/ma-measurements"
|
||||||
|
|
||||||
|
date -u -Iseconds | tee -a batch_analyze.log
|
||||||
|
|
||||||
|
for file in "$base"/artifacts*
|
||||||
|
do
|
||||||
|
echo "=== Working on $file" | tee -a batch_analyze.log
|
||||||
|
out="$file/output"
|
||||||
|
mkdir -p "$out"
|
||||||
|
export ANA_NB_OUT_PATH="'$out'"
|
||||||
|
export ANA_NB_TR_PATH="'$file/tracing/max-ma-trace/ust'"
|
||||||
|
papermill ./trace-analysis.ipynb "$out"/trace-analysis.ipynb | tee -a batch_analyze.log
|
||||||
|
done
|
||||||
|
|
||||||
|
echo "Done." | tee -a batch_analyze.log
|
Loading…
Add table
Add a link
Reference in a new issue