-
Notifications
You must be signed in to change notification settings - Fork 0
/
Run_AGDC_extraction
72 lines (42 loc) · 962 Bytes
/
Run_AGDC_extraction
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
#!/bin/bash
#PBS -P z67
#PBS -q normal
#PBS -l walltime=12:00:00
#PBS -l mem=32GB
#PBS -l ncpus=16
#PBS -l wd
module use /g/data/v10/public/modules/modulefiles
module load agdc-py3-prod
FIRST=$(qsub
for i in {0..15}; do
python Extract_AGDC_for_study_sites_raijin.py $i > AGDC_out_$i &
done
wait)
echo $FIRST
#PBS -P z67
#PBS -q normal
#PBS -l walltime=12:00:00
#PBS -l mem=32GB
#PBS -l ncpus=16
#PBS -l wd
module use /g/data/v10/public/modules/modulefiles
module load agdc-py3-prod
qsub -W depend=afterany:$SECOND
for i in {16..31}; do
python Extract_AGDC_for_study_sites_raijin.py $i > AGDC_out_$i &
done
wait
echo $SECOND
#PBS -P z67
#PBS -q normal
#PBS -l walltime=12:00:00
#PBS -l mem=32GB
#PBS -l ncpus=11
#PBS -l wd
module use /g/data/v10/public/modules/modulefiles
module load agdc-py3-prod
qsub -W depend=afterany:$SECOND
for i in {32..42}; do
python Extract_AGDC_for_study_sites_raijin.py $i > AGDC_out_$i &
done
wait