annotate bin/c2t.sh @ 192:4275eb6484da

maybe triggers jdb on tests with -DdebugTest=true on command line
author Henry S. Thompson <ht@inf.ed.ac.uk>
date Wed, 25 Sep 2024 13:51:15 +0100
parents fc1b16130961
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
172
72b0420167dc generalised sbatch front-end to cdx2tsv.py
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1 #!/bin/bash
72b0420167dc generalised sbatch front-end to cdx2tsv.py
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
2 # Invoke this as e.g. sbatch -N 4 --ntasks=10 -c 15 c2t.sh \
72b0420167dc generalised sbatch front-end to cdx2tsv.py
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
3 # CC-MAIN-2019-35 cdx_counts 0 299 1 \
72b0420167dc generalised sbatch front-end to cdx2tsv.py
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
4 # '(filename,f.split(/,maxsplit=5)[4][0])' ...
72b0420167dc generalised sbatch front-end to cdx2tsv.py
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
5
72b0420167dc generalised sbatch front-end to cdx2tsv.py
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
6
72b0420167dc generalised sbatch front-end to cdx2tsv.py
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
7 #SBATCH --time=01:00:00
72b0420167dc generalised sbatch front-end to cdx2tsv.py
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
8 #SBATCH --partition=standard
72b0420167dc generalised sbatch front-end to cdx2tsv.py
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
9 #SBATCH --qos=standard
185
acae526510e2 too many overdue updates to break down
Henry S. Thompson <ht@inf.ed.ac.uk>
parents: 172
diff changeset
10 #SBATCH --account=ec184-hst
172
72b0420167dc generalised sbatch front-end to cdx2tsv.py
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
11 #SBATCH --job-name c2t
72b0420167dc generalised sbatch front-end to cdx2tsv.py
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
12
186
fc1b16130961 csing-related tweaks
Henry S. Thompson <ht@inf.ed.ac.uk>
parents: 185
diff changeset
13 export W=/work/dc007/dc007/hst
172
72b0420167dc generalised sbatch front-end to cdx2tsv.py
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
14
72b0420167dc generalised sbatch front-end to cdx2tsv.py
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
15 echo $(date) Launching $SLURM_JOB_NUM_NODES nodes for c2t "$@" from $(hostname) to do $SLURM_NTASKS tasks, $SLURM_CPUS_PER_TASK cpus each
72b0420167dc generalised sbatch front-end to cdx2tsv.py
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
16
186
fc1b16130961 csing-related tweaks
Henry S. Thompson <ht@inf.ed.ac.uk>
parents: 185
diff changeset
17 srun -c $SLURM_CPUS_PER_TASK /work/dc007/dc007/shared/bin/csing $W/bin/_c2t.sh "$@"
172
72b0420167dc generalised sbatch front-end to cdx2tsv.py
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
18