Skip to content
Snippets Groups Projects
Commit 7c4bc293 authored by Sören Henning's avatar Sören Henning
Browse files

Log number of subexperiments

parent 77ed0dab
No related branches found
No related tags found
No related merge requests found
...@@ -17,11 +17,16 @@ REPLICAS=${REPLICAS[*]} ...@@ -17,11 +17,16 @@ REPLICAS=${REPLICAS[*]}
PARTITIONS=$PARTITIONS PARTITIONS=$PARTITIONS
" >> "exp${EXP_ID}_uc${UC}_meta.txt" " >> "exp${EXP_ID}_uc${UC}_meta.txt"
SUBEXPERIMENTS=$((${#DIM_VALUES[@]} * ${#REPLICAS[@]}))
SUBEXPERIMENT_COUNTER=0
echo "Going to execute $SUBEXPERIMENTS subexperiments in total..."
for DIM_VALUE in "${DIM_VALUES[@]}" for DIM_VALUE in "${DIM_VALUES[@]}"
do do
for REPLICA in "${REPLICAS[@]}" for REPLICA in "${REPLICAS[@]}"
do do
echo "Run $DIM_VALUE $REPLICA" SUBEXPERIMENT_COUNTER=$((SUBEXPERIMENT_COUNTER+1))
echo "Run subexperiment $SUBEXPERIMENT_COUNTER/$SUBEXPERIMENTS with config: $DIM_VALUE $REPLICA"
./run_uc$UC-new.sh $EXP_ID $DIM_VALUE $REPLICA $PARTITIONS ./run_uc$UC-new.sh $EXP_ID $DIM_VALUE $REPLICA $PARTITIONS
sleep 10s sleep 10s
done done
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment