Skip to content

Commit

Permalink
Slowly start multiple simulations in parallel
Browse files Browse the repository at this point in the history
  • Loading branch information
cwgoes committed Oct 5, 2018
1 parent 1046831 commit b7cb2e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/multisim.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ for seed in ${seeds[@]}; do
sim $seed &
pids[${i}]=$!
i=$(($i+1))
sleep 0.1 # start in order, nicer logs
sleep 5 # start in order, nicer logs
done

echo "Simulation processes spawned, waiting for completion..."
Expand Down

0 comments on commit b7cb2e4

Please sign in to comment.