annotate bin/s2t.sh @ 183:efaa10c1e9ea

MANPATH (?)
author Henry S. Thompson <ht@inf.ed.ac.uk>
date Fri, 08 Sep 2023 21:42:55 +0100
parents a8e311034d43
children acae526510e2
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
159
c3c3dd60b8a8 demo of slurm usage using cdx2tsv.py
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1 #!/bin/bash
c3c3dd60b8a8 demo of slurm usage using cdx2tsv.py
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
2 # Invoke this as e.g. sbatch -N 4 --ntasks=3 -c 5 s2t.sh \
c3c3dd60b8a8 demo of slurm usage using cdx2tsv.py
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
3 # CC-MAIN-2019-35 cdx_counts 0 299
c3c3dd60b8a8 demo of slurm usage using cdx2tsv.py
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
4
c3c3dd60b8a8 demo of slurm usage using cdx2tsv.py
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
5 #SBATCH --time=01:00:00
c3c3dd60b8a8 demo of slurm usage using cdx2tsv.py
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
6 #SBATCH --partition=standard
c3c3dd60b8a8 demo of slurm usage using cdx2tsv.py
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
7 #SBATCH --qos=standard
c3c3dd60b8a8 demo of slurm usage using cdx2tsv.py
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
8 #SBATCH --account=ec184-guest
c3c3dd60b8a8 demo of slurm usage using cdx2tsv.py
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
9 #SBATCH --job-name s2t
c3c3dd60b8a8 demo of slurm usage using cdx2tsv.py
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
10
c3c3dd60b8a8 demo of slurm usage using cdx2tsv.py
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
11 export W=/work/dc007/dc007
c3c3dd60b8a8 demo of slurm usage using cdx2tsv.py
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
12
169
a8e311034d43 new-style log notice
Henry S. Thompson <ht@inf.ed.ac.uk>
parents: 159
diff changeset
13 echo $(date) Launching $SLURM_JOB_NUM_NODES nodes for s2t "$@" from $(hostname) to do $SLURM_NTASKS tasks, $SLURM_CPUS_PER_TASK cpus each
159
c3c3dd60b8a8 demo of slurm usage using cdx2tsv.py
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
14
c3c3dd60b8a8 demo of slurm usage using cdx2tsv.py
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
15 srun -c $SLURM_CPUS_PER_TASK $W/shared/bin/sing $W/hst/bin/_s2t.sh "$@"
c3c3dd60b8a8 demo of slurm usage using cdx2tsv.py
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
16