Adding more dryrun tests #2
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run Benchpark and Simple Benchmark Suite | ||
on: | ||
workflow_call: | ||
jobs: | ||
saxpy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Benchpark | ||
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 | ||
- name: Add needed Python libs | ||
run: | | ||
pip install -r ./requirements.txt | ||
- name: Build Saxpy Workspace | ||
run: | | ||
./bin/benchpark setup saxpy/openmp nosite-x86_64 workspace/ | ||
- name: Setup Ramble & Spack | ||
run: | | ||
. workspace/setup.sh | ||
spack mirror add ci-buildcache oci://ghcr.io/llnl/benchpark-binary-cache | ||
spack config add "packages:all:target:[x86_64_v3]" | ||
env | grep SPACK >> "$GITHUB_ENV" | ||
env | grep RAMBLE >> "$GITHUB_ENV" | ||
echo "PATH=$PATH" >> "$GITHUB_ENV" | ||
- name: Setup Saxpy Workspace | ||
working-directory: ./workspace/saxpy/openmp/nosite-x86_64/workspace/ | ||
run: | | ||
ramble \ | ||
--workspace-dir . \ | ||
--disable-progress-bar \ | ||
--disable-logger \ | ||
-c config:spack_flags:install:'--no-check-signature' \ | ||
workspace setup | ||
- name: Run Saxpy Experiments | ||
working-directory: ./workspace/saxpy/openmp/nosite-x86_64/workspace/ | ||
run: | | ||
ramble \ | ||
--workspace-dir . \ | ||
--disable-progress-bar \ | ||
--disable-logger \ | ||
on \ | ||
--executor '{execute_experiment}' \ | ||
--where '{n_nodes} == 1' | ||
- name: Analyze Saxpy Results | ||
working-directory: ./workspace/saxpy/openmp/nosite-x86_64/workspace/ | ||
run: | | ||
ramble \ | ||
--workspace-dir . \ | ||
--disable-progress-bar \ | ||
--disable-logger \ | ||
workspace analyze | ||
- name: Archive Experiment Workspace | ||
working-directory: ./workspace/saxpy/openmp/nosite-x86_64/workspace/ | ||
if: always() | ||
run: | | ||
ramble \ | ||
--workspace-dir . \ | ||
--disable-progress-bar \ | ||
--disable-logger \ | ||
workspace archive | ||
- name: Upload Workspace Archive as CI Artifact | ||
if: always() | ||
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 | ||
with: | ||
name: workspace-archive | ||
path: './workspace/saxpy/openmp/nosite-x86_64/workspace/archive/**' | ||
- name: Upload Binaries to CI Cache | ||
if: github.ref == 'refs/heads/develop' | ||
run: | | ||
spack mirror set \ | ||
--push \ | ||
--oci-username ${{ github.actor }} \ | ||
--oci-password "${{ secrets.GITHUB_TOKEN }}" \ | ||
ci-buildcache | ||
spack buildcache push \ | ||
-j $(($(nproc) + 1)) \ | ||
--base-image ubuntu:22.04 \ | ||
--unsigned \ | ||
--update-index ci-buildcache \ | ||
$(spack find --format '/{hash}') | ||
dryrunexperiments: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Benchpark | ||
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 | ||
- name: Add needed Python libs | ||
run: | | ||
pip install -r ./requirements.txt | ||
- name: Dry run amg2023/cuda on Sierra with allocation modifier | ||
run: | | ||
./bin/benchpark setup amg2023/cuda LLNL-Sierra-IBM-power9-V100-Infiniband workspace/ | ||
. workspace/setup.sh | ||
ramble \ | ||
--workspace-dir workspace/amg2023/cuda/LLNL-Sierra-IBM-power9-V100-Infiniband/workspace \ | ||
--disable-progress-bar \ | ||
--disable-logger \ | ||
workspace setup --dry-run | ||
- name: Dry run amg2023/cuda on Pascal with allocation modifier | ||
run: | | ||
./bin/benchpark setup amg2023/cuda LLNL-Pascal-Penguin-broadwell-P100-OmniPath workspace/ | ||
. workspace/setup.sh | ||
ramble \ | ||
--workspace-dir workspace/amg2023/cuda/LLNL-Pascal-Penguin-broadwell-P100-OmniPath/workspace \ | ||
--disable-progress-bar \ | ||
--disable-logger \ | ||
workspace setup --dry-run | ||
- name: Dry run kripke/rocm on Tioga | ||
run: | | ||
./bin/benchpark setup kripke/rocm LLNL-Tioga-HPECray-zen3-MI250X-Slingshot workspace/ | ||
. workspace/setup.sh | ||
ramble \ | ||
--workspace-dir workspace/kripke/rocm/LLNL-Tioga-HPECray-zen3-MI250X-Slingshot/workspace \ | ||
--disable-progress-bar \ | ||
--disable-logger \ | ||
workspace setup --dry-run | ||
- name: Dry run hpl/openmp with Caliper-topdown modifier on Magma | ||
run: | | ||
./bin/benchpark setup hpl/openmp --modifier=caliper-topdown LLNL-Magma-Penguin-icelake-OmniPath \ | ||
workspace/ | ||
. workspace/setup.sh | ||
ramble \ | ||
--workspace-dir workspace/hpl/openmp/LLNL-Magma-Penguin-icelake-OmniPath/workspace \ | ||
--disable-progress-bar \ | ||
--disable-logger \ | ||
workspace setup --dry-run |