comparison hdrJob.sh @ 14:9a1de2c4ffe3

modelled on plinks
author Henry S. Thompson <ht@inf.ed.ac.uk>
date Wed, 26 Feb 2020 15:47:20 +0000
parents
children a96fb2c26c80
comparison
equal deleted inserted replaced
13:8e3719800479 14:9a1de2c4ffe3
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
8 #PBS -N plinks
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