comparison bin/runme.sh @ 178:e1bc9d8d688c

ec184 now, run w. unbuffered output
author Henry S. Thompson <ht@inf.ed.ac.uk>
date Wed, 05 Jul 2023 15:02:53 +0100
parents bfe9085a1d39
children 55169996c3bf
comparison
equal deleted inserted replaced
177:354dae8aeb80 178:e1bc9d8d688c
3 # It will run on the login node 3 # It will run on the login node
4 4
5 #SBATCH --time=01:00:00 5 #SBATCH --time=01:00:00
6 #SBATCH --partition=standard 6 #SBATCH --partition=standard
7 #SBATCH --qos=standard 7 #SBATCH --qos=standard
8 #SBATCH --account=dc007 8 #SBATCH --account=ec184-hst
9 #SBATCH --job-name runme 9 #SBATCH --job-name runme
10 10
11 export W=/work/dc007/dc007 11 export W=/work/dc007/dc007
12 12
13 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 13 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
14 14
15 srun -c $SLURM_CPUS_PER_TASK $W/shared/bin/sing $W/hst/bin/_runme.sh "$@" 15 srun --unbuffered -c $SLURM_CPUS_PER_TASK $W/shared/bin/sing $W/hst/bin/_runme.sh "$@"