Mercurial > hg > cc > cirrus_home
annotate hdrJob.sh @ 174:bfe9085a1d39
change account back
author | Henry S. Thompson <ht@inf.ed.ac.uk> |
---|---|
date | Tue, 10 Jan 2023 17:48:26 +0000 |
parents | a96fb2c26c80 |
children |
rev | line source |
---|---|
14 | 1 #!/bin/bash |
2 # Usage: qsub -v t1=1stTar,tn=numTars plinksJob.sh | |
3 #PBS -l select=2:ncpus=36 | |
4 #PBS -l place=exclhost | |
5 #PBS -l walltime=08:00:00 | |
6 #PBS -V | |
7 #PBS -A dc007 | |
15
a96fb2c26c80
works after minor tweaks
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
14
diff
changeset
|
8 #PBS -N hdr |
14 | 9 |
10 #module load mpt | |
11 | |
12 cd ${PBS_O_WORKDIR} | |
13 ((n1=tn/2)) | |
14 ((s1=t1)) | |
15 ((s2=t1+n1)) | |
16 ((e1=s2-1)) | |
17 ((e2=s1+tn-1)) | |
18 echo $(seq --format="%03.0f" $s1 $e1),$(seq --format="%03.0f" $s2 $e2) | |
19 | |
20 bin/hdrMaster.sh $s1 $e1 $s2 $e2 | |
21 |