From 6de783d752a8653414811a60ebb2ac37532bfd3d Mon Sep 17 00:00:00 2001 From: Carl Pearson Date: Mon, 9 Oct 2023 18:42:04 -0400 Subject: [PATCH] frontier scripts --- results/figs.py | 4 ++-- scripts/run_11.sh | 52 +++++++++++++++++++++++++++++++++++++++++++++++ scripts/run_5.sh | 24 ---------------------- 3 files changed, 54 insertions(+), 26 deletions(-) create mode 100755 scripts/run_11.sh diff --git a/results/figs.py b/results/figs.py index 5631891..b94672b 100644 --- a/results/figs.py +++ b/results/figs.py @@ -100,9 +100,9 @@ for pattern in [ "implicit_managed_HostWrGPU_fine", "implicit_managed_GPUWrHost_coarse", "implicit_managed_GPUWrHost_fine", - "implicit_mapped_GPURdHost" + "implicit_mapped_GPURdHost", "implicit_mapped_GPUWrGPU", - "implicit_mapped_GPUWrHost" + "implicit_mapped_GPUWrHost", "implicit_mapped_HostWrGPU", "prefetch_managed_GPUToGPU", "prefetch_managed_GPUToHost", diff --git a/scripts/run_11.sh b/scripts/run_11.sh new file mode 100755 index 0000000..e994b6d --- /dev/null +++ b/scripts/run_11.sh @@ -0,0 +1,52 @@ +#!/bin/bash + +#SBATCH -A CSC465 +#SBATCH -J r11 +#SBATCH -o %x-%j.out +#SBATCH -t 2:00:00 +#SBATCH -p batch +#SBATCH -N 1 + +# salloc -A CSC465 -N 1 -p batch -t 2:00:00 + +export ROOT=/lustre/orion/csc465/scratch/cpearson/frontier-gpu-bandwidth +export SCOPE_SRC=${ROOT}/comm_scope +export SCOPE_BUILD=${ROOT}/build +export SCOPE_RESULTS=${ROOT}/run + +module load PrgEnv-amd/8.3.3 +export HSA_XNACK=1 + +mkdir -p $SCOPE_RESULTS +module list > $SCOPE_RESULTS/modules.r11.$SLURM_JOBID.txt 2>&1 +env > $SCOPE_RESULTS/env.r11.$SLURM_JOBID.txt +rocm-smi > $SCOPE_RESULTS/rocm-smi.r11.$SLURM_JOBID.txt 2>&1 +lscpu > $SCOPE_RESULTS/lscpu.r11.$SLURM_JOBID.txt 2>&1 + +date + +srun -c 56 -n 1 --gpus 8 $SCOPE_BUILD/comm_scope \ +--benchmark_repetitions=5 \ +--benchmark_filter='.*implicit_managed_HostWrGPU_coarse/0/0/.*' \ +--benchmark_out_format=json \ +--benchmark_out="$SCOPE_RESULTS/implicit_managed_HostWrGPU_coarse.json" + +srun -c 56 -n 1 --gpus 8 $SCOPE_BUILD/comm_scope \ +--benchmark_repetitions=5 \ +--benchmark_filter='.*implicit_managed_GPUWrHost_fine/0/0/.*' \ +--benchmark_out_format=json \ +--benchmark_out="$SCOPE_RESULTS/implicit_managed_GPUWrHost_fine.json" + +srun -c 56 -n 1 --gpus 8 $SCOPE_BUILD/comm_scope \ +--benchmark_repetitions=5 \ +--benchmark_filter='.*implicit_managed_GPUWrHost_coarse/0/0/.*' \ +--benchmark_out_format=json \ +--benchmark_out="$SCOPE_RESULTS/implicit_managed_GPUWrHost_coarse.json" + +srun -c 56 -n 1 --gpus 8 $SCOPE_BUILD/comm_scope \ +--benchmark_repetitions=5 \ +--benchmark_filter='.*implicit_mapped_GPUWrHost/0/0/.*' \ +--benchmark_out_format=json \ +--benchmark_out="$SCOPE_RESULTS/implicit_mapped_GPUWrHost.json" + +date diff --git a/scripts/run_5.sh b/scripts/run_5.sh index 23efac6..76b1672 100755 --- a/scripts/run_5.sh +++ b/scripts/run_5.sh @@ -31,28 +31,4 @@ srun -c 56 -n 1 --gpus 8 $SCOPE_BUILD/comm_scope \ --benchmark_out_format=json \ --benchmark_out="$SCOPE_RESULTS/implicit_managed_HostWrGPU_fine.json" -srun -c 56 -n 1 --gpus 8 $SCOPE_BUILD/comm_scope \ ---benchmark_repetitions=5 \ ---benchmark_filter='.*implicit_managed_HostWrGPU_coarse/0/0/.*' \ ---benchmark_out_format=json \ ---benchmark_out="$SCOPE_RESULTS/implicit_managed_HostWrGPU_coarse.json" - -srun -c 56 -n 1 --gpus 8 $SCOPE_BUILD/comm_scope \ ---benchmark_repetitions=5 \ ---benchmark_filter='.*implicit_managed_GPUWrHost_fine/0/0/.*' \ ---benchmark_out_format=json \ ---benchmark_out="$SCOPE_RESULTS/implicit_managed_GPUWrHost_fine.json" - -srun -c 56 -n 1 --gpus 8 $SCOPE_BUILD/comm_scope \ ---benchmark_repetitions=5 \ ---benchmark_filter='.*implicit_managed_GPUWrHost_coarse/0/0/.*' \ ---benchmark_out_format=json \ ---benchmark_out="$SCOPE_RESULTS/implicit_managed_GPUWrHost_coarse.json" - -srun -c 56 -n 1 --gpus 8 $SCOPE_BUILD/comm_scope \ ---benchmark_repetitions=5 \ ---benchmark_filter='.*implicit_mapped_GPUWrHost/0/0/.*' \ ---benchmark_out_format=json \ ---benchmark_out="$SCOPE_RESULTS/implicit_mapped_GPUWrHost.json" - date