Skip to content
Snippets Groups Projects
Commit b0349565 authored by Andreas Herten's avatar Andreas Herten
Browse files

Add run-multi-sh

parent cc4ad98d
Branches
Tags
No related merge requests found
#!/usr/bin/env bash
JACOBI_ITERS=10000
#set -o xtrace
for node in $(nodeset --expand $SLURM_NODELIST); do
for i in 0 1 2 3; do
echo "Node: $node GPU: $i";
MY_CUDA_VISIBLE_DEVICES=$i srun -N 1 --nodelist $node ./vis_dev_wrap.sh ./jacobi -niter $JACOBI_ITERS | grep GPU;
done
done
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment