Commit 27b4aaf2 authored by FRIEDEMANN Sebastian's avatar FRIEDEMANN Sebastian
Browse files

Figure out how to slow down model task runner registration

To check if model task runners can join later on, more timesteps
need to be calculated and a timout in the runscript is needed.

Further this is a Race condition, so this depends highly on the workload
and the kind of hardware used.
parent 314e2666
......@@ -70,7 +70,7 @@ sleep 1
max_runner=`echo "$n_runners - 1" | bc`
for i in `seq 0 $max_runner`;
do
#sleep 0.5
sleep 0.3 # use this and more than 100 time steps if you want to check for the start of propagation != 1... (having model task runners that join later...)
#echo start simu id $i
mpirun -n $n_simulation \
-x MELISSA_SIMU_ID=$i \
......
......@@ -23,7 +23,7 @@
const int ENSEMBLE_SIZE = 5;
const int FIELDS_COUNT = 1; // multiple fields is stupid!
const long long MAX_SIMULATION_TIMEOUT = 600; // 10 min max timeout for simulations.
const int MAX_TIMESTAMP = 5;
const int MAX_TIMESTAMP = 155;
using namespace std;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment