comparison bin/s2t.sh @ 159:c3c3dd60b8a8

demo of slurm usage using cdx2tsv.py
author Henry S. Thompson <ht@inf.ed.ac.uk>
date Wed, 06 Jul 2022 18:07:34 +0100
parents
children a8e311034d43
comparison
equal deleted inserted replaced
158:f5e2211b50bd 159:c3c3dd60b8a8
1 #!/bin/bash
2 # Invoke this as e.g. sbatch -N 4 --ntasks=3 -c 5 s2t.sh \
3 # CC-MAIN-2019-35 cdx_counts 0 299
4
5 #SBATCH --time=01:00:00
6 #SBATCH --partition=standard
7 #SBATCH --qos=standard
8 #SBATCH --account=ec184-guest
9 #SBATCH --job-name s2t
10
11 export W=/work/dc007/dc007
12
13 echo $(date) Launching $SLURM_JOB_NUM_NODES nodes for s3t "$@" from $(hostname) using $SLURM_NTASKS
14
15 srun -c $SLURM_CPUS_PER_TASK $W/shared/bin/sing $W/hst/bin/_s2t.sh "$@"
16