comparison bin/nl1.sh @ 167:3213a8bb2ed1

new style batch jobs, see cirrus_work repo for _xxx.sh
author Henry S. Thompson <ht@inf.ed.ac.uk>
date Mon, 18 Jul 2022 19:16:20 +0100
parents
children fc1b16130961
comparison
equal deleted inserted replaced
166:afd7879181c9 167:3213a8bb2ed1
1 #!/bin/bash
2 # Invoke this as e.g. sbatch --ntasks=10 -c 20 nl1.sh \
3 # CC-MAIN-2019-35 nl1_counts langs 0 299
4 # It will run on the login node
5
6 #SBATCH --time=01:00:00
7 #SBATCH --partition=standard
8 #SBATCH --qos=standard
9 #SBATCH --account=ec184-guest
10 #SBATCH --job-name ex1
11
12 export W=/work/dc007/dc007
13
14 echo $(date) Launching $SLURM_JOB_NUM_NODES nodes for nl1 "$@" from $(hostname) to do $SLURM_NTASKS tasks, $SLURM_CPUS_PER_TASK cpus each
15
16 srun -c $SLURM_CPUS_PER_TASK $W/shared/bin/sing $W/hst/bin/_nl1.sh "$@"