Mercurial > hg > cc > cirrus_work
view bin/_test.sh @ 291:70da637d1402
accommodate to change to digits for record type,
minor tweaks,
change format of input ranges,
still a bug, in 11/...540.warc.gz
| author | Henry S. Thompson <ht@inf.ed.ac.uk> |
|---|---|
| date | Wed, 09 Apr 2025 17:15:40 +0100 |
| 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
