Mercurial > hg > cc > cirrus_home
view bin/ex1.sh @ 195:5f3c36e4fd6d default tip
add target test-core which (dangerously) avoids (we hope pointless) recompilation of all the plugins
author | Henry S. Thompson <ht@inf.ed.ac.uk> |
---|---|
date | Thu, 26 Sep 2024 17:55:56 +0100 |
parents | 3213a8bb2ed1 |
children |
line wrap: on
line source
#!/bin/bash # Invoke this as e.g. sbatch --ntasks=10 -c 20 ex1.sh \ # CC-MAIN-2019-35 cdx_counts 0 299 # It will run on the login node #SBATCH --time=01:00:00 #SBATCH --partition=standard #SBATCH --qos=standard #SBATCH --account=ec184-guest #SBATCH --job-name ex1 export W=/work/dc007/dc007 echo $(date) Launching $SLURM_JOB_NUM_NODES nodes for ex1 "$@" from $(hostname) to do $SLURM_NTASKS tasks, $SLURM_CPUS_PER_TASK cpus each srun -c $SLURM_CPUS_PER_TASK $W/shared/bin/sing $W/hst/bin/_ex1.sh "$@"