Mercurial > hg > cc > cirrus_work
view bin/_test.sh @ 257:3ac7e5ec07f9 default tip
renamed cpython class Cdb to CCdb to avoid name conflict with cdb.Cdb
author | Henry S. Thompson <ht@inf.ed.ac.uk> |
---|---|
date | Thu, 23 Jan 2025 12:53:28 +0000 |
parents | 4e1ecfa46bee |
children |
line wrap: on
line source
#!/bin/bash # Usage: dotest N=$SLURM_JOB_NUM_NODES n=$SLURM_NTASKS c=$SLURM_CPUS_PER_TASK nodename=$SLURMD_NODENAME local=$SLURM_LOCALID node=$SLURM_NODEID tPerN=$((n / N)) task=$((local + (node * tPerN))) echo $(date) executing test on node $N:$nodename:$node task $n:$task:$SLURM_PROCID local:$local echo $TMPDIR