comparison masterJob.sh @ 34:e34cda3e7483

pass through extract args
author Henry S. Thompson <ht@inf.ed.ac.uk>
date Thu, 26 Mar 2020 12:23:33 +0000
parents 4c23b1766692
children 03abcdce54a0
comparison
equal deleted inserted replaced
33:4c23b1766692 34:e34cda3e7483
1 #!/bin/bash 1 #!/bin/bash
2 # Attempt at a master Master job 2 # Attempt at a master Master job
3 # Usage: qsub -v t=taskName masterJob.sh 3 # Usage: qsub -v t=taskName[, x=extras] masterJob.sh
4 # Implies that ~/taskName_{0,1}.txt contain the necessary parameterisation 4 # Implies that ~/taskName_{0,1}.txt contain the necessary parameterisation
5 #PBS -l select=2:ncpus=36 5 #PBS -l select=2:ncpus=36
6 #PBS -l place=exclhost 6 #PBS -l place=exclhost
7 #PBS -l walltime=08:00:00 7 #PBS -l walltime=08:00:00
8 #PBS -V 8 #PBS -V
9 #PBS -A dc007 9 #PBS -A dc007
10 #PBS -N master 10 #PBS -N master
11 11 #
12 #module load mpt 12 #module load mpt
13 13
14 cd ${PBS_O_WORKDIR} 14 cd ${PBS_O_WORKDIR}
15 15
16 bin/masterMaster.sh "$t" 16 bin/masterMaster.sh "$t" $x
17 17