Mercurial > hg > cc > cirrus_home
view bin/c2t.sh @ 197:78d9e09e151e
withdrew non-working -m switch
| author | Henry S. Thompson <ht@inf.ed.ac.uk> |
|---|---|
| date | Wed, 23 Apr 2025 11:04:53 +0100 |
| parents | fc1b16130961 |
| children |
line wrap: on
line source
#!/bin/bash # Invoke this as e.g. sbatch -N 4 --ntasks=10 -c 15 c2t.sh \ # CC-MAIN-2019-35 cdx_counts 0 299 1 \ # '(filename,f.split(/,maxsplit=5)[4][0])' ... #SBATCH --time=01:00:00 #SBATCH --partition=standard #SBATCH --qos=standard #SBATCH --account=ec184-hst #SBATCH --job-name c2t export W=/work/dc007/dc007/hst echo $(date) Launching $SLURM_JOB_NUM_NODES nodes for c2t "$@" from $(hostname) to do $SLURM_NTASKS tasks, $SLURM_CPUS_PER_TASK cpus each srun -c $SLURM_CPUS_PER_TASK /work/dc007/dc007/shared/bin/csing $W/bin/_c2t.sh "$@"
