chundoong-lab-ta/SHPC2023/hw3_answer/matmul/run.sh

9 lines
224 B
Bash
Executable File

#!/bin/bash
: ${NODES:=2}
salloc -N $NODES --partition shpc --exclusive \
mpirun --bind-to none -mca btl ^openib -npernode 1 \
numactl --physcpubind 0-31 \
./main $@