Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/develop' into feature/experiment…
Browse files Browse the repository at this point in the history
…-scaling
  • Loading branch information
Riyaz Haque committed Oct 24, 2024
2 parents 50be2d8 + 181f6c6 commit 09ae6bd
Show file tree
Hide file tree
Showing 7 changed files with 49 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
license: ${{ steps.filter.outputs.license }}

steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # @v2
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # @v2
if: ${{ github.event_name == 'push' }}
with:
fetch-depth: 0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683

- name: Setup Python
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/license.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
verify-license:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683

- name: Set up Python 3.11
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3
Expand Down
40 changes: 38 additions & 2 deletions .github/workflows/run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Benchpark
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683

- name: Add needed Python libs
run: |
Expand Down Expand Up @@ -94,7 +94,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Benchpark
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683

- name: Add needed Python libs
run: |
Expand Down Expand Up @@ -329,3 +329,39 @@ jobs:
--disable-progress-bar \
--disable-logger \
workspace setup --dry-run
- name: Dry run dynamic saxpy/openmp with dynamic CTS ruby
run: |
./bin/benchpark system init --dest=ruby-system cts cluster=ruby
./bin/benchpark experiment init --dest=saxpy-openmp saxpy programming_model=openmp
./bin/benchpark setup ./saxpy-openmp ./ruby-system workspace/
. workspace/setup.sh
ramble \
--workspace-dir workspace/saxpy-openmp/Cts-6d48f81/workspace \
--disable-progress-bar \
--disable-logger \
workspace setup --dry-run
- name: Dry run dynamic saxpy/openmp with dynamic CTS dane
run: |
./bin/benchpark system init --dest=dane-system cts cluster=dane
./bin/benchpark experiment init --dest=saxpy-openmp2 saxpy programming_model=openmp
./bin/benchpark setup ./saxpy-openmp2 ./dane-system workspace/
. workspace/setup.sh
ramble \
--workspace-dir workspace/saxpy-openmp2/Cts-2c51a80/workspace \
--disable-progress-bar \
--disable-logger \
workspace setup --dry-run
- name: Dry run dynamic saxpy/openmp with dynamic CTS magma
run: |
./bin/benchpark system init --dest=magma-system cts cluster=magma
./bin/benchpark experiment init --dest=saxpy-openmp3 saxpy programming_model=openmp
./bin/benchpark setup ./saxpy-openmp3 ./magma-system workspace/
. workspace/setup.sh
ramble \
--workspace-dir workspace/saxpy-openmp3/Cts-54a5761/workspace \
--disable-progress-bar \
--disable-logger \
workspace setup --dry-run
2 changes: 1 addition & 1 deletion .github/workflows/style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683

- name: Set up Python 3.11
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3
Expand Down
5 changes: 3 additions & 2 deletions lib/benchpark/runtime.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ def __init__(self, dest):
self.spack_location = self.dest / "spack"

def bootstrap(self):
print("Hold tight, Benchpark is bootstrapping itself.")
if not self.ramble_location.exists():
self._install_ramble()
ramble_lib_path = self.ramble_location / "lib" / "ramble"
Expand All @@ -99,7 +100,7 @@ def bootstrap(self):
self._install_spack()

def _install_ramble(self):
debug_print(f"Cloning Ramble to {self.ramble_location}")
print(f"Cloning Ramble to {self.ramble_location}")
git_clone_commit(
"https://github.com/GoogleCloudPlatform/ramble.git",
self.ramble_commit,
Expand All @@ -108,7 +109,7 @@ def _install_ramble(self):
debug_print(f"Done cloning Ramble ({self.ramble_location})")

def _install_spack(self):
debug_print(f"Cloning Spack to {self.spack_location}")
print(f"Cloning Spack to {self.spack_location}")
git_clone_commit(
"https://github.com/spack/spack.git", self.spack_commit, self.spack_location
)
Expand Down
5 changes: 4 additions & 1 deletion var/sys_repo/systems/cts/system.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
"magma": {
"sys_cores_per_node": 96,
},
"dane": {
"sys_cores_per_node": 112,
},
}


Expand All @@ -23,7 +26,7 @@ class Cts(System):
variant(
"cluster",
default="ruby",
values=("ruby", "magma"),
values=("ruby", "magma", "dane"),
description="Which cluster to run on",
)

Expand Down

0 comments on commit 09ae6bd

Please sign in to comment.