comparison bin/c2t.sh @ 172:72b0420167dc

generalised sbatch front-end to cdx2tsv.py
author Henry S. Thompson <ht@inf.ed.ac.uk>
date Thu, 28 Jul 2022 17:24:29 +0100
parents
children acae526510e2
comparison
equal deleted inserted replaced
171:c7d57d158331 172:72b0420167dc
1 #!/bin/bash
2 # Invoke this as e.g. sbatch -N 4 --ntasks=10 -c 15 c2t.sh \
3 # CC-MAIN-2019-35 cdx_counts 0 299 1 \
4 # '(filename,f.split(/,maxsplit=5)[4][0])' ...
5
6
7 #SBATCH --time=01:00:00
8 #SBATCH --partition=standard
9 #SBATCH --qos=standard
10 #SBATCH --account=ec184-guest
11 #SBATCH --job-name c2t
12
13 export W=/work/dc007/dc007
14
15 echo $(date) Launching $SLURM_JOB_NUM_NODES nodes for c2t "$@" from $(hostname) to do $SLURM_NTASKS tasks, $SLURM_CPUS_PER_TASK cpus each
16
17 srun -c $SLURM_CPUS_PER_TASK $W/shared/bin/sing $W/hst/bin/_c2t.sh "$@"
18