-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrun-HOA-baseline.pbs
executable file
·126 lines (122 loc) · 8.76 KB
/
run-HOA-baseline.pbs
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
#!/bin/bash
#PBS -l nodes=1:ppn=1:basic
#PBS -l pmem=10500mb
#PBS -l walltime=48:00:00
#PBS -j oe
#PBS -m abe
#PBS -M yshi@psu.edu
cd $PBS_O_WORKDIR
echo "Job started on `hostname` at `date`"
jobstart=`date +%s`
module load anaconda3/2020.07
# Kenya
python3 ./cycles_dojo.py --country Kenya --weed-fraction 0.0 --start-planting-day 15
python3 ./cycles_dojo.py --country Kenya --weed-fraction 0.0 --start-planting-day 46
python3 ./cycles_dojo.py --country Kenya --weed-fraction 0.0 --start-planting-day 74
python3 ./cycles_dojo.py --country Kenya --weed-fraction 0.0 --start-planting-day 105
python3 ./cycles_dojo.py --country Kenya --weed-fraction 0.0 --start-planting-day 135
python3 ./cycles_dojo.py --country Kenya --weed-fraction 0.0 --start-planting-day 166
python3 ./cycles_dojo.py --country Kenya --weed-fraction 0.0 --start-planting-day 196
python3 ./cycles_dojo.py --country Kenya --weed-fraction 0.0 --start-planting-day 227
python3 ./cycles_dojo.py --country Kenya --weed-fraction 0.0 --start-planting-day 258
python3 ./cycles_dojo.py --country Kenya --weed-fraction 0.0 --start-planting-day 288
python3 ./cycles_dojo.py --country Kenya --weed-fraction 0.0 --start-planting-day 319
python3 ./cycles_dojo.py --country Kenya --weed-fraction 0.0 --start-planting-day 345
# Ethiopia
python3 ./cycles_dojo.py --country Ethiopia --weed-fraction 0.0 --start-planting-day 15
python3 ./cycles_dojo.py --country Ethiopia --weed-fraction 0.0 --start-planting-day 46
python3 ./cycles_dojo.py --country Ethiopia --weed-fraction 0.0 --start-planting-day 74
python3 ./cycles_dojo.py --country Ethiopia --weed-fraction 0.0 --start-planting-day 105
python3 ./cycles_dojo.py --country Ethiopia --weed-fraction 0.0 --start-planting-day 135
python3 ./cycles_dojo.py --country Ethiopia --weed-fraction 0.0 --start-planting-day 166
python3 ./cycles_dojo.py --country Ethiopia --weed-fraction 0.0 --start-planting-day 196
python3 ./cycles_dojo.py --country Ethiopia --weed-fraction 0.0 --start-planting-day 227
python3 ./cycles_dojo.py --country Ethiopia --weed-fraction 0.0 --start-planting-day 258
python3 ./cycles_dojo.py --country Ethiopia --weed-fraction 0.0 --start-planting-day 288
python3 ./cycles_dojo.py --country Ethiopia --weed-fraction 0.0 --start-planting-day 319
python3 ./cycles_dojo.py --country Ethiopia --weed-fraction 0.0 --start-planting-day 345
# South Sudan
python3 ./cycles_dojo.py --country "South Sudan" --weed-fraction 0.0 --start-planting-day 15
python3 ./cycles_dojo.py --country "South Sudan" --weed-fraction 0.0 --start-planting-day 46
python3 ./cycles_dojo.py --country "South Sudan" --weed-fraction 0.0 --start-planting-day 74
python3 ./cycles_dojo.py --country "South Sudan" --weed-fraction 0.0 --start-planting-day 105
python3 ./cycles_dojo.py --country "South Sudan" --weed-fraction 0.0 --start-planting-day 135
python3 ./cycles_dojo.py --country "South Sudan" --weed-fraction 0.0 --start-planting-day 166
python3 ./cycles_dojo.py --country "South Sudan" --weed-fraction 0.0 --start-planting-day 196
python3 ./cycles_dojo.py --country "South Sudan" --weed-fraction 0.0 --start-planting-day 227
python3 ./cycles_dojo.py --country "South Sudan" --weed-fraction 0.0 --start-planting-day 258
python3 ./cycles_dojo.py --country "South Sudan" --weed-fraction 0.0 --start-planting-day 288
python3 ./cycles_dojo.py --country "South Sudan" --weed-fraction 0.0 --start-planting-day 319
python3 ./cycles_dojo.py --country "South Sudan" --weed-fraction 0.0 --start-planting-day 345
# Sudan
python3 ./cycles_dojo.py --country Sudan --weed-fraction 0.0 --start-planting-day 15
python3 ./cycles_dojo.py --country Sudan --weed-fraction 0.0 --start-planting-day 46
python3 ./cycles_dojo.py --country Sudan --weed-fraction 0.0 --start-planting-day 74
python3 ./cycles_dojo.py --country Sudan --weed-fraction 0.0 --start-planting-day 105
python3 ./cycles_dojo.py --country Sudan --weed-fraction 0.0 --start-planting-day 135
python3 ./cycles_dojo.py --country Sudan --weed-fraction 0.0 --start-planting-day 166
python3 ./cycles_dojo.py --country Sudan --weed-fraction 0.0 --start-planting-day 196
python3 ./cycles_dojo.py --country Sudan --weed-fraction 0.0 --start-planting-day 227
python3 ./cycles_dojo.py --country Sudan --weed-fraction 0.0 --start-planting-day 258
python3 ./cycles_dojo.py --country Sudan --weed-fraction 0.0 --start-planting-day 288
python3 ./cycles_dojo.py --country Sudan --weed-fraction 0.0 --start-planting-day 319
python3 ./cycles_dojo.py --country Sudan --weed-fraction 0.0 --start-planting-day 345
# Uganda
python3 ./cycles_dojo.py --country Uganda --weed-fraction 0.0 --start-planting-day 15
python3 ./cycles_dojo.py --country Uganda --weed-fraction 0.0 --start-planting-day 46
python3 ./cycles_dojo.py --country Uganda --weed-fraction 0.0 --start-planting-day 74
python3 ./cycles_dojo.py --country Uganda --weed-fraction 0.0 --start-planting-day 105
python3 ./cycles_dojo.py --country Uganda --weed-fraction 0.0 --start-planting-day 135
python3 ./cycles_dojo.py --country Uganda --weed-fraction 0.0 --start-planting-day 166
python3 ./cycles_dojo.py --country Uganda --weed-fraction 0.0 --start-planting-day 196
python3 ./cycles_dojo.py --country Uganda --weed-fraction 0.0 --start-planting-day 227
python3 ./cycles_dojo.py --country Uganda --weed-fraction 0.0 --start-planting-day 258
python3 ./cycles_dojo.py --country Uganda --weed-fraction 0.0 --start-planting-day 288
python3 ./cycles_dojo.py --country Uganda --weed-fraction 0.0 --start-planting-day 319
python3 ./cycles_dojo.py --country Uganda --weed-fraction 0.0 --start-planting-day 345
# Somalia
python3 ./cycles_dojo.py --country Somalia --weed-fraction 0.0 --start-planting-day 15
python3 ./cycles_dojo.py --country Somalia --weed-fraction 0.0 --start-planting-day 46
python3 ./cycles_dojo.py --country Somalia --weed-fraction 0.0 --start-planting-day 74
python3 ./cycles_dojo.py --country Somalia --weed-fraction 0.0 --start-planting-day 105
python3 ./cycles_dojo.py --country Somalia --weed-fraction 0.0 --start-planting-day 135
python3 ./cycles_dojo.py --country Somalia --weed-fraction 0.0 --start-planting-day 166
python3 ./cycles_dojo.py --country Somalia --weed-fraction 0.0 --start-planting-day 196
python3 ./cycles_dojo.py --country Somalia --weed-fraction 0.0 --start-planting-day 227
python3 ./cycles_dojo.py --country Somalia --weed-fraction 0.0 --start-planting-day 258
python3 ./cycles_dojo.py --country Somalia --weed-fraction 0.0 --start-planting-day 288
python3 ./cycles_dojo.py --country Somalia --weed-fraction 0.0 --start-planting-day 319
python3 ./cycles_dojo.py --country Somalia --weed-fraction 0.0 --start-planting-day 345
# Eritrea
python3 ./cycles_dojo.py --country Eritrea --weed-fraction 0.0 --start-planting-day 15
python3 ./cycles_dojo.py --country Eritrea --weed-fraction 0.0 --start-planting-day 46
python3 ./cycles_dojo.py --country Eritrea --weed-fraction 0.0 --start-planting-day 74
python3 ./cycles_dojo.py --country Eritrea --weed-fraction 0.0 --start-planting-day 105
python3 ./cycles_dojo.py --country Eritrea --weed-fraction 0.0 --start-planting-day 135
python3 ./cycles_dojo.py --country Eritrea --weed-fraction 0.0 --start-planting-day 166
python3 ./cycles_dojo.py --country Eritrea --weed-fraction 0.0 --start-planting-day 196
python3 ./cycles_dojo.py --country Eritrea --weed-fraction 0.0 --start-planting-day 227
python3 ./cycles_dojo.py --country Eritrea --weed-fraction 0.0 --start-planting-day 258
python3 ./cycles_dojo.py --country Eritrea --weed-fraction 0.0 --start-planting-day 288
python3 ./cycles_dojo.py --country Eritrea --weed-fraction 0.0 --start-planting-day 319
python3 ./cycles_dojo.py --country Eritrea --weed-fraction 0.0 --start-planting-day 345
# Djibouti
python3 ./cycles_dojo.py --country Djibouti --weed-fraction 0.0 --start-planting-day 15
python3 ./cycles_dojo.py --country Djibouti --weed-fraction 0.0 --start-planting-day 46
python3 ./cycles_dojo.py --country Djibouti --weed-fraction 0.0 --start-planting-day 74
python3 ./cycles_dojo.py --country Djibouti --weed-fraction 0.0 --start-planting-day 105
python3 ./cycles_dojo.py --country Djibouti --weed-fraction 0.0 --start-planting-day 135
python3 ./cycles_dojo.py --country Djibouti --weed-fraction 0.0 --start-planting-day 166
python3 ./cycles_dojo.py --country Djibouti --weed-fraction 0.0 --start-planting-day 196
python3 ./cycles_dojo.py --country Djibouti --weed-fraction 0.0 --start-planting-day 227
python3 ./cycles_dojo.py --country Djibouti --weed-fraction 0.0 --start-planting-day 258
python3 ./cycles_dojo.py --country Djibouti --weed-fraction 0.0 --start-planting-day 288
python3 ./cycles_dojo.py --country Djibouti --weed-fraction 0.0 --start-planting-day 319
python3 ./cycles_dojo.py --country Djibouti --weed-fraction 0.0 --start-planting-day 345
jobend=`date +%s`
echo -e "\nJob ended at `date`"
dt=$((jobend - jobstart))
ds=$((dt % 60))
dm=$(((dt / 60) % 60))
dh=$((dt / 3600))
printf "Elapsed time %d:%02d:%02d" $dh $dm $ds