-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathrunall_L1stats_type-nppi.sh
More file actions
executable file
·51 lines (42 loc) · 1.68 KB
/
runall_L1stats_type-nppi.sh
File metadata and controls
executable file
·51 lines (42 loc) · 1.68 KB
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
#!/bin/bash
for ppi in dmn ecn; do
#for subrun in "104 5" "105 5" "106 3" "107 5" "108 5" "109 2" "110 2" "112 5" "113 5" "111 5" "115 5" "116 5" "117 5" "118 5" "120 5" "121 5" "122 5" "124 5" "125 5" "126 5" "127 5" "128 5" "129 5" "130 5" "131 5" "132 5" "133 5" "134 4"; do
#for subrun in "135 5" "136 2" "137 5"; do
#for subrun in "138 4"; do
for subrun in "104 5" "105 5" "106 3" "107 5" "108 5" "109 2" "110 2" "112 5" "113 5" "111 5" "115 5" "116 5" "117 5" "118 5" "120 5" "121 5" "122 5" "124 5" "125 5" "126 5" "127 5" "128 5" "129 5" "130 5" "131 5" "132 5" "133 5" "134 4" "135 5" "136 2" "137 5" "138 4" "140 5" "141 4" "142 5" "144 2" "145 2" "147 5" "149 4" "150 5" "151 5" "143 3" "152 2" "153 5" "154 2"; do
set -- $subrun
sub=$1
nruns=$2
# for run in `seq $nruns`; do
# #Manages the number of jobs and cores
# SCRIPTNAME=L1_task-trust_model-01.sh
# NCORES=16
# while [ $(ps -ef | grep -v grep | grep $SCRIPTNAME | wc -l) -ge $NCORES ]; do
# sleep 1s
# done
# bash $SCRIPTNAME $sub $run $ppi $sm &
# sleep 5s
# done
#
# for run in `seq 2`; do
# #Manages the number of jobs and cores
# SCRIPTNAME=L1_task-sharedreward_model-01.sh
# NCORES=5
# while [ $(ps -ef | grep -v grep | grep $SCRIPTNAME | wc -l) -ge $NCORES ]; do
# sleep 1s
# done
# bash $SCRIPTNAME $sub $run $ppi $sm &
# sleep 5s
# done
for run in `seq 2`; do
#Manages the number of jobs and cores
SCRIPTNAME=L1_task-ultimatum_model-01_type-nppi.sh
NCORES=8
while [ $(ps -ef | grep -v grep | grep $SCRIPTNAME | wc -l) -ge $NCORES ]; do
sleep 1s
done
bash $SCRIPTNAME $sub $run $ppi &
sleep 5s
done
done
done