Mercurial > hg > cc > cirrus_home
changeset 149:bb24f94fe592
better comments
author | Henry S. Thompson <ht@inf.ed.ac.uk> |
---|---|
date | Mon, 25 Oct 2021 15:07:03 +0000 |
parents | f0bee28995f1 |
children | 4e1364b8c89a |
files | masterJob.sh |
diffstat | 1 files changed, 8 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/masterJob.sh Mon Oct 25 15:05:46 2021 +0000 +++ b/masterJob.sh Mon Oct 25 15:07:03 2021 +0000 @@ -1,10 +1,14 @@ #!/bin/bash # Attempt at a master Master job -# Usage: sbatch [--exclusive --nodes= --tasks-per-node= | -n ... -c ...] masterJob.sh taskName [args...] +# Usage: sbatch [--exclusive] [--nodes=|-N] [--ntasks-per-node=] [--cpus-per-task|-c] masterJob.sh jobName [args...] # Note that --exclusive is _not_ set by default -# Use -n n -c c for to launch n 'parallel ...' jobs each of which spawns c actual workers which -# divide up the job task file task file (see below) between them. -# Implies that ~/taskName_{0..n}.txt or ~/taskName/{0..n}.txt contain the necessary parameterisation +# Use -N m -n n -c c for to launch n 'parallel ...' jobs on each of m nodes +# -c is redundant if --exclusive, otherwise gives +# an estimate of how many threads each task could benefit from +# Each job runs bin/taskName.sh and must use a job task file (see below) +# between its tasks. +# Implies that ~/jobName_{0..m}.txt or ~/jobName/{0..m}.txt +# contain the necessary parameterisation for each node #SBATCH --time=01:00:00 #SBATCH --partition=standard #SBATCH --qos=standard