Skip to content

Commit

Permalink
add all tests
Browse files Browse the repository at this point in the history
  • Loading branch information
slabasan committed Oct 24, 2024
1 parent ff18799 commit 5fea18f
Showing 1 changed file with 66 additions and 62 deletions.
128 changes: 66 additions & 62 deletions .gitlab/ci/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ status_failure:
- *status_report
when: on_failure

# legacy run on tioga, dane, ruby, saxpy openmp
legacy_test_run:
stage: test
tags:
Expand Down Expand Up @@ -100,38 +101,40 @@ legacy_test_run:
- kripke
- saxpy

#test_run_tioga:
# stage: test
# tags:
# - tioga
# - shell
# rules:
# - changes:
# - .gitlab-ci.yml
# - .gitlab/ci/*
# - experiments/**
# - systems/**
# - repo/**
# - modifiers/**
# - var/**
# - lib/**
# script:
# - . /usr/workspace/benchpark-dev/benchpark-venv/$SYS_TYPE/bin/activate
# # Initialize system & experiment
# - ./bin/benchpark system init --dest=tioga-system tioga ~gtl
# - ./bin/benchpark experiment init --dest=${BENCHMARK}-benchmark ${BENCHMARK} programming_model=cuda
# # Build Workspace
# - ./bin/benchpark setup ${BENCHMARK}-benchmark tioga-system workspace/
# # Setup Ramble & Spack
# - . workspace/setup.sh
# # Setup Workspace
# - cd ./workspace/${BENCHMARK}-benchmark/Tioga-975af3c/workspace/
# - ramble --workspace-dir . --disable-progress-bar --disable-logger workspace setup
# # Run Experiments
# - ramble --workspace-dir . --disable-progress-bar --disable-logger on
# <<: *test_benchmarks
# new run on tioga kripke/saxpy rocm
test_run_tioga_rocm:
stage: test
tags:
- tioga
- shell
rules:
- changes:
- .gitlab-ci.yml
- .gitlab/ci/*
- experiments/**
- systems/**
- repo/**
- modifiers/**
- var/**
- lib/**
script:
- . /usr/workspace/benchpark-dev/benchpark-venv/$SYS_TYPE/bin/activate
# Initialize system & experiment
- ./bin/benchpark system init --dest=tioga-system tioga ~gtl
- ./bin/benchpark experiment init --dest=${BENCHMARK}-benchmark ${BENCHMARK} programming_model=rocm
# Build Workspace
- ./bin/benchpark setup ${BENCHMARK}-benchmark tioga-system workspace/
# Setup Ramble & Spack
- . workspace/setup.sh
# Setup Workspace
- cd ./workspace/${BENCHMARK}-benchmark/Tioga-975af3c/workspace/
- ramble --workspace-dir . --disable-progress-bar --disable-logger workspace setup
# Run Experiments
- ramble --workspace-dir . --disable-progress-bar --disable-logger on
<<: *test_benchmarks

test_run_kripke:
# new run on tioga, dane, ruby kripke openmp
test_run_kripke_openmp:
stage: test
tags:
- $HOST
Expand All @@ -150,7 +153,7 @@ test_run_kripke:
script:
- . /usr/workspace/benchpark-dev/benchpark-venv/$SYS_TYPE/bin/activate
# Initialize system & experiment
- if $HOST == "tioga"; then ./bin/benchpark system init --dest=tioga-system tioga ~gtl; else ./bin/benchpark system init --dest=$HOST-system cts cluster=$HOST; fi
- if [ "$HOST" == "tioga" ]; then ./bin/benchpark system init --dest=tioga-system tioga ~gtl; else ./bin/benchpark system init --dest=$HOST-system cts cluster=$HOST; fi
- ./bin/benchpark experiment init --dest=kripke-benchmark kripke programming_model=openmp
# Build Workspace
- ./bin/benchpark setup kripke-benchmark $HOST-system workspace/
Expand All @@ -162,33 +165,34 @@ test_run_kripke:
# Run Experiments
- ramble --workspace-dir . --disable-progress-bar --disable-logger on

#test_run_saxpy_cts:
# stage: test
# tags:
# - $HOST
# - shell
# <<: *test_clusters
# rules:
# - changes:
# - .gitlab-ci.yml
# - .gitlab/ci/*
# - experiments/**
# - systems/**
# - repo/**
# - modifiers/**
# - var/**
# - lib/**
# script:
# - . /usr/workspace/benchpark-dev/benchpark-venv/$SYS_TYPE/bin/activate
# # Initialize system & experiment
# - ./bin/benchpark system init --dest=$HOST-system cts cluster=$HOST
# - ./bin/benchpark experiment init --dest=saxpy-benchmark saxpy programming_model=openmp
# # Build Workspace
# - ./bin/benchpark setup saxpy-benchmark $HOST-system workspace/
# # Setup Ramble & Spack
# - . workspace/setup.sh
# # Setup Workspace
# - cd ./workspace/saxpy-benchmark/$SYSTEMHASH/workspace/
# - ramble --workspace-dir . --disable-progress-bar --disable-logger workspace setup
# # Run Experiments
# - ramble --workspace-dir . --disable-progress-bar --disable-logger on
# new run on tioga, dane, ruby saxpy openmp
test_run_saxpy_openmp:
stage: test
tags:
- $HOST
- shell
<<: *test_clusters
rules:
- changes:
- .gitlab-ci.yml
- .gitlab/ci/*
- experiments/**
- systems/**
- repo/**
- modifiers/**
- var/**
- lib/**
script:
- . /usr/workspace/benchpark-dev/benchpark-venv/$SYS_TYPE/bin/activate
# Initialize system & experiment
- if [ "$HOST" == "tioga" ]; then ./bin/benchpark system init --dest=tioga-system tioga ~gtl; else ./bin/benchpark system init --dest=$HOST-system cts cluster=$HOST; fi
- ./bin/benchpark experiment init --dest=saxpy-benchmark saxpy programming_model=openmp
# Build Workspace
- ./bin/benchpark setup saxpy-benchmark $HOST-system workspace/
# Setup Ramble & Spack
- . workspace/setup.sh
# Setup Workspace
- cd ./workspace/saxpy-benchmark/$SYSTEMHASH/workspace/
- ramble --workspace-dir . --disable-progress-bar --disable-logger workspace setup
# Run Experiments
- ramble --workspace-dir . --disable-progress-bar --disable-logger on

0 comments on commit 5fea18f

Please sign in to comment.