view bin/_test.sh @ 46:44d3a4f4ea51

support on-board unzipping, reduce buffer size to 2MB
author Henry S. Thompson <ht@inf.ed.ac.uk>
date Wed, 05 Jul 2023 19:32:36 +0100 (20 months ago)
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