frontier fixes

This commit is contained in:
Carl Pearson
2023-12-06 15:54:23 -05:00
parent d514ac1727
commit cc12993f68
3 changed files with 38 additions and 26 deletions

View File

@@ -1,24 +1,5 @@
#! /bin/bash
#SBATCH -A csc465
#SBATCH -N 1
set -eou pipefail
source "$( cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"/env.sh
LOG_DIR="$(date +"%Y%m%d_%H%M%S")_run"
export LOG_DIR
mkdir -p "$LOG_DIR"
srun -n1 -t 1 /opt/rocm-5.7.0/bin/rocm-smi \
--showdriverversion \
--showproductname \
--showmclkrange \
-v \
--showsclkrange \
--showfwinfo \
|& tee "$LOG_DIR/rocm-smi.log" || true
srun -n1 -t 1 /opt/rocm-5.7.0/bin/rocminfo |& tee "$LOG_DIR/rocminfo.log" || true
srun -n1 -t 1 lscpu |& tee "$LOG_DIR/lscpu.log" || true
srun -n1 -t 1 hostname |& tee "$LOG_DIR/hostname.log" || true
srun -n1 -t 1 cat /proc/cpuinfo |& tee "$LOG_DIR/cpuinfo.log" || true
srun -N 1 -A csc465 -G 1 -n 1 -t 60 ./run-worker.sh