Skip to content

Commit

Permalink
Add configs/common/packages_aocc.yaml and preliminary aocc support fo…
Browse files Browse the repository at this point in the history
…r Nautilus
  • Loading branch information
climbfuji committed Aug 30, 2024
1 parent 57816e8 commit 3af0aee
Show file tree
Hide file tree
Showing 4 changed files with 61 additions and 4 deletions.
15 changes: 15 additions & 0 deletions configs/common/packages_aocc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
packages:
all:
providers:
blas: [openblas]
fftw-api: [fftw]
lapack: [openblas]
ectrans:
require:
- '~mkl +fftw'
gsibec:
require:
- '~mkl'
py-numpy:
require:
- '^openblas'
5 changes: 1 addition & 4 deletions configs/sites/tier1/nautilus/compilers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,7 @@ compilers:
cxx: /p/app/compilers/amd/aocc/4.0.0/bin/clang++
f77: /p/app/compilers/amd/aocc/4.0.0/bin/flang
fc: /p/app/compilers/amd/aocc/4.0.0/bin/flang
flags:
cflags: null
cxxflags: null
fflags: null
flags: {}
operating_system: rhel8
target: x86_64
modules:
Expand Down
40 changes: 40 additions & 0 deletions configs/sites/tier1/nautilus/packages_aocc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
packages:
# On Nautilus, use intel-oneapi-mkl as provider
# for blas, lapack, fftw-api with AOCC because of
# problems using openblas in downstream applications
# (e.g. py-pandas):
# ELF load command address/offset not properly aligned" when loading libopenblas.so
# https://github.com/OpenMathLib/OpenBLAS/wiki/Faq#ELFoffset
all:
compiler:: [[email protected]]
providers:
mpi:: [[email protected]]
blas:: [intel-oneapi-mkl]
fftw-api:: [intel-oneapi-mkl]
lapack:: [intel-oneapi-mkl]
mpi:
buildable: False
openmpi:
externals:
- spec: [email protected]%[email protected]~cuda~java~memchecker~static~wrapper-rpath fabrics=ucx schedulers=slurm
prefix: /p/app/penguin/openmpi/4.1.6/aocc-4.0.0
modules:
- penguin/openmpi/4.1.6/aocc-4.0.0
- penguin/mpi-vars/aocc
- slurm
intel-oneapi-mkl:
buildable: False
externals:
- spec: [email protected]%[email protected]
prefix: /p/app/projects/NEPTUNE/spack-stack/oneapi-2024.1.2
openblas:
buildable: False
ectrans:
require::
- '@1.2.0 +mkl ~fftw'
gsibec:
require::
- '@1.2.1 +mkl'
py-numpy:
require::
- '@:1.25 ^intel-oneapi-mkl'
5 changes: 5 additions & 0 deletions configs/sites/tier1/nautilus/packages_gcc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ packages:
modules:
- penguin/openmpi/5.0.1/gcc-8.5.0
- slurm
intel-oneapi-mkl:
buildable: False
externals:
- spec: [email protected]%[email protected]
prefix: /p/app/projects/NEPTUNE/spack-stack/oneapi-2024.1.2
openblas:
buildable: False
ectrans:
Expand Down

0 comments on commit 3af0aee

Please sign in to comment.