forked from abides-sim/abides
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathloop_obi.sh
executable file
·54 lines (41 loc) · 1.84 KB
/
loop_obi.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
#!/bin/bash
if [ $# -eq 0 ]; then
nsims=1
else
nsims=$1
fi
for i in `seq 1 19`;
do
echo "Launching simulation $i"
python -u abides.py -c loop_obi -n=$nsims -e10 -f1000000000 --entry_threshold=0.17 --trail_dist=0.085 -s ${i} > ./batch_output/loop_obi_e10_${i} &
sleep 2.0
done
python -u abides.py -c loop_obi -n=$nsims -e10 -f1000000000 --entry_threshold=0.17 --trail_dist=0.085 -s 20 > ./batch_output/loop_obi_e10_20
for i in `seq 1 19`;
do
echo "Launching simulation $i"
python -u abides.py -c loop_obi -n=$nsims -e1 -f1000000000 --entry_threshold=0.17 --trail_dist=0.085 -s ${i} > ./batch_output/loop_obi_e1_${i} &
sleep 2.0
done
python -u abides.py -c loop_obi -n=$nsims -e1 -f1000000000 --entry_threshold=0.17 --trail_dist=0.085 -s 20 > ./batch_output/loop_obi_e1_20
for i in `seq 1 19`;
do
echo "Launching simulation $i"
python -u abides.py -c loop_obi -n=$nsims -e5 -f1000000000 --entry_threshold=0.17 --trail_dist=0.085 -s ${i} > ./batch_output/loop_obi_e5_${i} &
sleep 2.0
done
python -u abides.py -c loop_obi -n=$nsims -e5 -f1000000000 --entry_threshold=0.17 --trail_dist=0.085 -s 20 > ./batch_output/loop_obi_e5_20
for i in `seq 1 19`;
do
echo "Launching simulation $i"
python -u abides.py -c loop_obi -n=$nsims -e3 -f1000000000 --entry_threshold=0.17 --trail_dist=0.085 -s ${i} > ./batch_output/loop_obi_e3_${i} &
sleep 2.0
done
python -u abides.py -c loop_obi -n=$nsims -e3 -f1000000000 --entry_threshold=0.17 --trail_dist=0.085 -s 20 > ./batch_output/loop_obi_e3_20
for i in `seq 1 19`;
do
echo "Launching simulation $i"
python -u abides.py -c loop_obi -n=$nsims -e20 -f1000000000 --entry_threshold=0.17 --trail_dist=0.085 -s ${i} > ./batch_output/loop_obi_e20_${i} &
sleep 2.0
done
python -u abides.py -c loop_obi -n=$nsims -e20 -f1000000000 --entry_threshold=0.17 --trail_dist=0.085 -s 20 > ./batch_output/loop_obi_e20_20