Skip to content

Commit

Permalink
Add santis config (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
bcumming authored Jan 22, 2024
1 parent 5e24889 commit 781c074
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ci/config/ci.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def readenv(config):
# - path of the configuration file (required)
# - JOB_ID (if needed?)
if os.getenv("UENVCITEST", default=None) is not None:
os.environ["system"] = "eiger"
os.environ["system"] = "santis"
os.environ["uarch"] = "zen2"
os.environ["uenv"] = "gromacs:2023"
#os.environ["system"] = "clariden"
Expand Down
7 changes: 6 additions & 1 deletion ci/config/schema/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,12 @@
"additionalProperties": false,
"properties": {
"slurm-tag": {"type": "string"},
"baremetal-tag": {"type": "string"}
"baremetal-tag": {
"oneOf": [
{"type" : "string"},
{"type" : "null"}
]
}
}
},
{"enum": ["f7t"]}
Expand Down
2 changes: 1 addition & 1 deletion ci/config/templates/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ build-{{job.uenv}}/{{job.version}}-{{job.system}}/{{job.uarch}}:
{{ name }}: "{{ value }}"
{% endfor %}

{% if not job.runner.f7t %}
{% if (not job.runner.f7t) and (job.runner.baremetal_runner) %}

test-{{job.uenv}}/{{job.version}}-{{job.system}}/{{job.uarch}}:
extends: .base-test
Expand Down
10 changes: 10 additions & 0 deletions config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,16 @@ clusters:
runner:
slurm-tag: clariden-spack-stack-builder
baremetal-tag: clariden-login-baremetal
santis:
targets:
-
uarch: 'zen2'
partition: 'normal'
runner:
slurm-tag: santis-spack-stack-builder
# there is no baremetal tag as of now.
#baremetal-tag: null
baremetal-tag: santis-login-baremetal
uenvs:
gromacs:
"2023":
Expand Down
1 change: 1 addition & 0 deletions run-reframe
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ git clone -b alps https://github.com/eth-cscs/cscs-reframe-tests.git

export UENV="${squashfs_path}:${mount}"
export RFM_AUTODETECT_METHODS="cat /etc/xthostname,hostname"
export RFM_USE_LOGIN_SHELL=1

REFRAME_COMMAND="reframe -C cscs-reframe-tests/config/cscs.py --report-junit=report.xml -c cscs-reframe-tests/checks/ -r --system=${RFM_SYSTEM}"

Expand Down

0 comments on commit 781c074

Please sign in to comment.