view extractJob.sh @ 141:1e5f15a1e9fa

mail-lib
author Henry S. Thompson <ht@inf.ed.ac.uk>
date Tue, 19 Oct 2021 12:56:14 +0000
parents a598469733d3
children
line wrap: on
line source

#!/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 hdr

#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