draft perlmutter scripts

This commit is contained in:
Carl Pearson
2023-12-05 09:28:36 -08:00
parent 594e8f8275
commit d514ac1727
6 changed files with 93 additions and 2 deletions

18
perlmutter-a100/run-worker.sh Executable file
View File

@@ -0,0 +1,18 @@
#! /bin/bash
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"
lscpu |& tee "$LOG_DIR/lscpu.log" || true
hostname |& tee "$LOG_DIR/hostname.log" || true
cat /proc/cpuinfo |& tee "$LOG_DIR/cpuinfo.log" || true
env |& tee "$LOG_DIR/env.log" || true
"$KERNELS_BUILD"/perf_test/blas/blas3/KokkosKernels_Blas3_gemm_benchmark --cuda 0 |& tee "$LOG_DIR/gemm.log"
"$KERNELS_BUILD"/perf_test/sparse/KokkosKernels_sparse_spmv_benchmark -f "$ROOT_DIR"/matrix.mm |& tee "$LOG_DIR/spmv.log"