Mercurial > hg > cc > cirrus_home
changeset 174:bfe9085a1d39
change account back
author | Henry S. Thompson <ht@inf.ed.ac.uk> |
---|---|
date | Tue, 10 Jan 2023 17:48:26 +0000 |
parents | bc791ff523e7 |
children | d123ef7fdb82 |
files | bin/runme.sh |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/bin/runme.sh Thu Jul 28 17:25:09 2022 +0100 +++ b/bin/runme.sh Tue Jan 10 17:48:26 2023 +0000 @@ -1,15 +1,15 @@ #!/usr/bin/bash -# Invoke this as e.g. sbatch --ntasks=10 -c 20 runme.sh $PWD CMD ARGS +# Invoke this as e.g. sbatch --ntasks=10 -c 20 runme.sh [args for work/bin/_runme.sh] # It will run on the login node #SBATCH --time=01:00:00 #SBATCH --partition=standard #SBATCH --qos=standard -#SBATCH --account=ec184-guest +#SBATCH --account=dc007 #SBATCH --job-name runme export W=/work/dc007/dc007 echo $(date) Launching $SLURM_JOB_NUM_NODES nodes in $(pwd) for runme "$@" from $(hostname) to do $SLURM_NTASKS tasks, $SLURM_CPUS_PER_TASK cpus each 1>&2 -srun -c $SLURM_CPUS_PER_TASK $W/shared/bin/sing $W/hst/bin/_runme.sh "$@" \ No newline at end of file +srun -c $SLURM_CPUS_PER_TASK $W/shared/bin/sing $W/hst/bin/_runme.sh "$@"