Skip to content

Commit

Permalink
Merge pull request ukri-excalibur#311 from gokmenkilic/gk/cosma-spack…
Browse files Browse the repository at this point in the history
…-env

Cosma8 Update Configurations and Spack Environments
  • Loading branch information
tkoskela authored May 23, 2024
2 parents 7bbe54a + 049a580 commit 5db9612
Show file tree
Hide file tree
Showing 5 changed files with 81 additions and 12 deletions.
2 changes: 1 addition & 1 deletion benchmarks/apps/grid/grid.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class GridBenchmark_ITT(GridBenchmark):

reference = {
'cosma8': {
'Performance': (425000, None, None, 'Mflop/s per node')
'Performance': (625000, None, None, 'Mflop/s per node')
},
'csd3-centos7:cascadelake': {
'Performance': (350000, None, None, 'Mflop/s per node')
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/apps/swift/swift.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class SwiftBenchmark(SpackTest):
time_limit = '20m'
reference = {
'cosma8': {
'duration': (50, None, 0.2, 'seconds'),
'duration': (40, None, 0.2, 'seconds'),
},
'csd3-centos7:cascadelake': {
'duration': (37, None, 0.2, 'seconds'),
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/examples/sombrero/sombrero.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ class SombreroBenchmark(SpackTest):
'flops': (1.2, None, None, 'Gflops/seconds'),
},
'cosma8': {
'flops': (3.8, -0.2, None, 'Gflops/seconds'),
'flops': (8.0, -0.2, None, 'Gflops/seconds'),
},
'csd3-centos7:cascadelake': {
'flops': (8.0, -0.2, None, 'Gflops/seconds'),
Expand Down
75 changes: 72 additions & 3 deletions benchmarks/spack/cosma8/compute-node/spack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,38 @@ spack:
modules: []
environment: {}
extra_rpaths: []
- compiler:
spec: aocc@3.1.0
paths:
cc: /cosma/local/aocc/aocc-compiler-3.1.0/bin/clang
cxx: /cosma/local/aocc/aocc-compiler-3.1.0/bin/clang++
f77: /cosma/local/aocc/aocc-compiler-3.1.0/bin/flang
fc: /cosma/local/aocc/aocc-compiler-3.1.0/bin/flang
flags:
cflags: -Wno-unused-command-line-argument -mllvm -eliminate-similar-expr=false
cxxflags: -Wno-unused-command-line-argument -mllvm -eliminate-similar-expr=false
fflags: -Wno-unused-command-line-argument -mllvm -eliminate-similar-expr=false
operating_system: centos7
target: x86_64
modules: []
environment: {}
extra_rpaths: []
- compiler:
spec: aocc@4.0.0
paths:
cc: /cosma/local/aocc/aocc-compiler-4.0.0/bin/clang
cxx: /cosma/local/aocc/aocc-compiler-4.0.0/bin/clang++
f77: /cosma/local/aocc/aocc-compiler-4.0.0/bin/flang
fc: /cosma/local/aocc/aocc-compiler-4.0.0/bin/flang
flags:
cflags: -Wno-unused-command-line-argument -mllvm -eliminate-similar-expr=false
cxxflags: -Wno-unused-command-line-argument -mllvm -eliminate-similar-expr=false
fflags: -Wno-unused-command-line-argument -mllvm -eliminate-similar-expr=false
operating_system: centos7
target: x86_64
modules: []
environment: {}
extra_rpaths: []
- compiler:
spec: gcc@7.3.0
paths:
Expand Down Expand Up @@ -216,6 +248,19 @@ spack:
modules: []
environment: {}
extra_rpaths: []
- compiler:
spec: gcc@13.1.0
paths:
cc: /cosma/local/gcc/13.1.0/bin/gcc
cxx: /cosma/local/gcc/13.1.0/bin/g++
f77: /cosma/local/gcc/13.1.0/bin/gfortran
fc: /cosma/local/gcc/13.1.0/bin/gfortran
flags: {}
operating_system: centos7
target: x86_64
modules: []
environment: {}
extra_rpaths: []
- compiler:
spec: intel@17.0.2
paths:
Expand Down Expand Up @@ -413,6 +458,8 @@ spack:
externals:
- spec: autoconf@2.69
prefix: /usr
- spec: autoconf@2.71
prefix: /cosma/local/autoconf/2.71/
automake:
externals:
- spec: automake@1.13.4
Expand All @@ -421,6 +468,8 @@ spack:
externals:
- spec: bash@4.2.46
prefix: /usr
- spec: bash@5.2.21
prefix: /cosma/local/bash/5.2.21/
boost:
externals:
- spec: boost@1.67.0%gcc@10.2.0 arch=linux-centos7-zen2
Expand All @@ -437,14 +486,22 @@ spack:
prefix: /cosma/local/cmake/3.11.4/
- spec: cmake@3.18.1
prefix: /cosma/local/cmake/3.18.1/
- spec: cmake@3.25.1
prefix: /cosma/local/cmake/3.25.1/
- spec: cmake@3.28.3.
prefix: /cosma/local/cmake/3.28.3/
cpio:
externals:
- spec: cpio@2.11
prefix: /usr
cuda:
externals:
- spec: cuda@10.1.243
- spec: cuda@10.1
prefix: /cosma/local/cuda/10.1
- spec: cuda@11.0
prefix: /cosma/local/cuda/11.0
- spec: cuda@11.2
prefix: /cosma/local/cuda/11.2
diffutils:
externals:
- spec: diffutils@3.3
Expand Down Expand Up @@ -551,7 +608,7 @@ spack:
prefix: /usr
libtool:
externals:
- spec: libtool@2.4
- spec: libtool@2.4.2
prefix: /usr
lustre:
externals:
Expand Down Expand Up @@ -603,7 +660,7 @@ spack:
- spec: openmpi@4.0.5~cuda+cxx+cxx_exceptions~java+lustre~memchecker+pmi~sqlite3+static~thread_multiple~wrapper-rpath%aocc@2.2.0
fabrics=ucx schedulers=slurm
prefix: /cosma/local/openmpi/aocc_2.2.0/4.0.5
- spec: openmpi@4.1.0a1~cuda~cxx~cxx_exceptions~java~memchecker+pmi~sqlite3~static~thread_multiple~wrapper-rpath%gcc@7.3.0
- spec: openmpi@4.1.1~cuda~cxx~cxx_exceptions~java~memchecker+pmi~sqlite3~static~thread_multiple~wrapper-rpath%gcc@7.3.0
fabrics=ucx schedulers=slurm
prefix: /cosma/local/openmpi/gnu_7.3.0/20190429
- spec: openmpi@4.1.1~cuda+cxx+cxx_exceptions~java+lustre~memchecker+pmi~sqlite3+static~thread_multiple~wrapper-rpath%gcc@9.3.0
Expand All @@ -612,6 +669,18 @@ spack:
- spec: openmpi@4.1.1~cuda+cxx+cxx_exceptions~java+lustre~memchecker+pmi~sqlite3+static~thread_multiple~wrapper-rpath%gcc@11.1.0
schedulers=slurm
prefix: /cosma/local/openmpi/gnu_11.1.0/4.1.1.no-ucx
- spec: openmpi@4.1.4~cuda+cxx+cxx_exceptions~java+lustre~memchecker+pmi~sqlite3+static~thread_multiple~wrapper-rpath%gcc@11.1.0
schedulers=slurm
prefix: /cosma/local/openmpi/gnu_13.1.0/4.1.4
- spec: openmpi@4.1.4~cuda+cxx+cxx_exceptions~java+lustre~memchecker+pmi~sqlite3+static~thread_multiple~wrapper-rpath%gcc@13.1.0
schedulers=slurm
prefix: /cosma/local/openmpi/gnu_13.1.0/4.1.4
- spec: openmpi@4.1.5~cuda+cxx+cxx_exceptions~java+lustre~memchecker+pmi~sqlite3+static~thread_multiple~wrapper-rpath%gcc@13.1.0
schedulers=slurm
prefix: /cosma/local/openmpi/gnu_13.1.0/4.1.5
- spec: openmpi@4.1.5~cuda+cxx+cxx_exceptions~java+lustre~memchecker+pmi~sqlite3+static~thread_multiple~wrapper-rpath%gcc@14.1.0
schedulers=slurm
prefix: /cosma/local/openmpi/gnu_14.1.0/4.1.5
openssh:
externals:
- spec: openssh@7.4p1
Expand Down
12 changes: 6 additions & 6 deletions docs/systems.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,21 +65,21 @@ When submitting jobs to compute nodes, you need to specify the job queue, with t
To do this, when you run a benchmark you can use the `-J`/`--job-option` flag to `reframe` to specify the account, for example:

```
reframe -c benchmarks/examples/sombrero -r --performance-report --system csd3-skylake:compute-node -J'--accout=<ACCOUNT>'
reframe -c benchmarks/examples/sombrero -r --performance-report --system csd3-skylake:compute-node -J'--account=<ACCOUNT>'
```

where `<ACCOUNT>` is the project you want to charge.
You can see the account balance of your projects with the `mybalance` command.

## Cosma
## Cosma8

### Queue options

When submitting jobs to compute nodes, you need to specify the job queue, with the `--account` option to the scheduler.
To do this, when you run a benchmark you can use the `-J`/`--job-option` flag to `reframe` to specify the account, for example:

```
reframe -c benchmarks/examples/sombrero -r --performance-report --system cosma8:compute-node -J'--accout=<ACCOUNT>'
reframe -c benchmarks/examples/sombrero -r --performance-report --system cosma8:compute-node -J'--account=<ACCOUNT>'
```

where `<ACCOUNT>` is the project you want to charge. DiRAC users can find the account codes
Expand All @@ -93,7 +93,7 @@ When submitting jobs to compute nodes, you need to specify the job queue, with t
To do this, when you run a benchmark you can use the `-J`/`--job-option` flag to `reframe` to specify the account, for example:

```
reframe -c benchmarks/examples/sombrero -r --performance-report --system dial2:compute-node -J'--accout=<ACCOUNT>'
reframe -c benchmarks/examples/sombrero -r --performance-report --system dial2:compute-node -J'--account=<ACCOUNT>'
```

where `<ACCOUNT>` is the project you want to charge.
Expand All @@ -108,7 +108,7 @@ When submitting jobs to compute nodes, you need to specify the job queue, with t
To do this, when you run a benchmark you can use the `-J`/`--job-option` flag to `reframe` to specify the account, for example:

```
reframe -c benchmarks/examples/sombrero -r --performance-report --system dial3:compute-node -J'--accout=<ACCOUNT>'
reframe -c benchmarks/examples/sombrero -r --performance-report --system dial3:compute-node -J'--account=<ACCOUNT>'
```

where `<ACCOUNT>` is the project you want to charge.
Expand Down Expand Up @@ -165,7 +165,7 @@ When submitting jobs to compute nodes, you need to specify the job queue, with t
To do this, when you run a benchmark you can use the `-J`/`--job-option` flag to `reframe` to specify the account, for example:

```
reframe -c benchmarks/examples/sombrero -r --performance-report --system tursa:compute-node -J'--accout=<ACCOUNT>'
reframe -c benchmarks/examples/sombrero -r --performance-report --system tursa:compute-node -J'--account=<ACCOUNT>'
```

where `<ACCOUNT>` is the project you want to charge.

0 comments on commit 5db9612

Please sign in to comment.