Mercurial > hg > cc > cirrus_home
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/hdrJob.sh Wed Feb 26 15:47:20 2020 +0000 @@ -0,0 +1,21 @@ +#!/bin/bash +# Usage: qsub -v t1=1stTar,tn=numTars plinksJob.sh +#PBS -l select=2:ncpus=36 +#PBS -l place=exclhost +#PBS -l walltime=08:00:00 +#PBS -V +#PBS -A dc007 +#PBS -N plinks + +#module load mpt + +cd ${PBS_O_WORKDIR} +((n1=tn/2)) +((s1=t1)) +((s2=t1+n1)) +((e1=s2-1)) +((e2=s1+tn-1)) +echo $(seq --format="%03.0f" $s1 $e1),$(seq --format="%03.0f" $s2 $e2) + +bin/hdrMaster.sh $s1 $e1 $s2 $e2 +