SIM_PATH="../DaisyWorld.py"
SIM_DEFAULT_OPTIONS="-g"
SIM_START_TEMP=0
SIM_STOP_TICK=100
SIM_DELTA_RAD=0.01
SIM_INITIAL_RAD=0.5

AMOUNT_OF_RUNS=22
MAX_THREADS_BACKGROUND=4

OUTPUT_EXTENSION=".csv"

BASE_OUTPUT_NAME="default"

r=1
# base case, no invasive
while [ $r -le $AMOUNT_OF_RUNS ]; do
    for j in $(seq 1 $MAX_THREADS_BACKGROUND); do
	if [ $r -le $AMOUNT_OF_RUNS ]; then
	    echo "Run count: " $r
	    python3 $SIM_PATH $SIM_DEFAULT_OPTIONS -s $SIM_STOP_TICK > \
		    $BASE_OUTPUT_NAME"-"$r$OUTPUT_EXTENSION &
	    ((r++))
	fi
    done
    wait
done

Add bash script to batch running simulations
Add bash script to batch running simulations
