Mercurial > hg > cc > cirrus_home
view masterJob.sh @ 82:6304d5c46229
trying to move to slurm
author | Henry S. Thompson <ht@inf.ed.ac.uk> |
---|---|
date | Wed, 03 Mar 2021 19:33:56 +0000 |
parents | 03abcdce54a0 |
children | 2fc33145242b |
line wrap: on
line source
#!/bin/bash # Attempt at a master Master job # Usage: sbatch [--nodes=n] [--tasks-per-node=n] masterJob.sh taskName [args...] # Implies that ~/taskName_{0,1}.txt contain the necessary parameterisation #SBATCH --nodes=2 #SBATCH --exclusive #SBATCH --tasks-per-node 36 #SBATCH --cpus-per-task 1 #SBATCH --time=00:01:00 #SBATCH --partition=standard #SBATCH --qos=short #SBATCH --account=ec166-guest #SBATCH --job-name stest cd ${SLURM_SUBMIT_DIR} module load gnu-parallel bin/masterMaster.sh "$@"