Skip to content

Commit

Permalink
Change default compiler on lassen from xl to clang-ibm (#243)
Browse files Browse the repository at this point in the history
Co-authored-by: Riyaz Haque <[email protected]>
  • Loading branch information
rfhaque and Riyaz Haque authored May 13, 2024
1 parent eec41da commit 564df51
Show file tree
Hide file tree
Showing 8 changed files with 55 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,22 @@
# SPDX-License-Identifier: Apache-2.0

compilers:
- compiler:
spec: [email protected]
paths:
cc: /usr/tce/packages/clang/clang-ibm-16.0.6-cuda-11.8.0-gcc-11.2.1/bin/clang
cxx: /usr/tce/packages/clang/clang-ibm-16.0.6-cuda-11.8.0-gcc-11.2.1/bin/clang++
f77: /usr/tce/packages/xl/xl-2023.06.28-cuda-11.8.0-gcc-11.2.1/bin/xlf_r
fc: /usr/tce/packages/xl/xl-2023.06.28-cuda-11.8.0-gcc-11.2.1/bin/xlf_r
flags:
cflags: -g -O2
cxxflags: -g -O2 -std=c++17
fflags: -g -O2
operating_system: rhel7
target: ppc64le
modules: [cuda/11.8.0, clang/ibm-16.0.6-cuda-11.8.0-gcc-11.2.1]
environment: {}
extra_rpaths: []
- compiler:
spec: [email protected]
paths:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,10 @@ packages:
buildable: false
mpi:
externals:
- spec: [email protected]
prefix: /usr/tce/packages/spectrum-mpi/spectrum-mpi-rolling-release-clang-ibm-16.0.6-cuda-11.8.0-gcc-11.2.1
extra_attributes:
ldflags: "-lmpiprofilesupport -lmpi_ibm_usempi -lmpi_ibm_mpifh -lmpi_ibm"
- spec: [email protected]
prefix: /usr/tce/packages/spectrum-mpi/spectrum-mpi-rolling-release-xl-2023.06.28-cuda-11.8.0-gcc-11.2.1
extra_attributes:
Expand Down
12 changes: 10 additions & 2 deletions configs/LLNL-Sierra-IBM-power9-V100-Infiniband/spack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,25 @@
spack:
packages:
default-compiler:
spack_spec: xl@16.1.1-2023.06.28-cuda-{default_cuda_version}-gcc-11.2.1
spack_spec: clang@16.0.6-ibm-cuda-{default_cuda_version}-gcc-11.2.1
default-mpi:
spack_spec: [email protected]{default_cuda_version}-gcc-11.2.1
compiler-xl:
spack_spec: [email protected]{default_cuda_version}-gcc-11.2.1
mpi-xl:
spack_spec: [email protected]{default_cuda_version}-gcc-11.2.1
compiler-gcc:
spack_spec: [email protected]
compiler-clang:
spack_spec: [email protected]{default_cuda_version}
mpi-clang:
spack_spec: [email protected]{default_cuda_version}
compiler-clang-ibm:
spack_spec: [email protected]{default_cuda_version}-gcc-11.2.1
mpi-clang-ibm:
spack_spec: [email protected]{default_cuda_version}-gcc-11.2.1
blas:
spack_spec: cublas@11.8.0
spack_spec: cublas@{default_cuda_version}
cublas-cuda:
spack_spec: cublas@{default_cuda_version}
lapack:
Expand Down
8 changes: 6 additions & 2 deletions experiments/amg2023/cuda/ramble.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,15 +48,19 @@ ramble:
spack:
concretized: true
packages:
cuda:
spack_spec: cuda@{default_cuda_version}+allow-unsupported-compilers
compiler: default-compiler
hypre:
spack_spec: [email protected] +mpi+cuda+mixedint{modifier_spack_variant} cuda_arch=={cuda_arch} ^cuda@{default_cuda_version}
spack_spec: [email protected] +mpi+cuda+mixedint{modifier_spack_variant} cuda_arch=={cuda_arch}
compiler: default-compiler
amg2023:
spack_spec: amg2023@develop +mpi+cuda{modifier_spack_variant} cuda_arch=={cuda_arch} ^cuda@{default_cuda_version}
spack_spec: amg2023@develop +mpi+cuda{modifier_spack_variant} cuda_arch=={cuda_arch}
compiler: default-compiler
environments:
amg2023:
packages:
- cuda
- cublas-cuda
- lapack
- default-mpi
Expand Down
10 changes: 5 additions & 5 deletions experiments/gromacs/cuda/ramble.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,18 +44,18 @@ ramble:
spack:
concretized: true
packages:
gromacs:
spack_spec: [email protected] +mpi+openmp+cuda~hwloc~double cuda_arch=={cuda_arch}
compiler: compiler-clang
cuda:
spack_spec: cuda@{default_cuda_version}+allow-unsupported-compilers
compiler: compiler-clang
compiler: default-compiler
gromacs:
spack_spec: [email protected] +mpi+openmp+cuda~hwloc~double cuda_arch=={cuda_arch}
compiler: default-compiler
environments:
gromacs:
packages:
- cuda
- blas
- lapack
- mpi-clang
- default-mpi
- fftw
- gromacs
4 changes: 4 additions & 0 deletions experiments/kripke/cuda/ramble.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,16 @@ ramble:
spack:
concretized: true
packages:
cuda:
spack_spec: cuda@{default_cuda_version}+allow-unsupported-compilers
compiler: default-compiler
kripke:
spack_spec: [email protected] +mpi+cuda{modifier_spack_variant} ^[email protected]
compiler: default-compiler
environments:
kripke:
packages:
- cuda
- default-mpi
- kripke
- '{modifier_package_name}'
6 changes: 5 additions & 1 deletion experiments/raja-perf/cuda/ramble.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,15 @@ ramble:
spack:
concretized: true
packages:
cuda:
spack_spec: cuda@{default_cuda_version}+allow-unsupported-compilers
compiler: default-compiler
raja-perf:
spack_spec: raja-perf@develop +cuda~openmp+mpi cuda_arch=={cuda_arch} ^cuda@{default_cuda_version}
spack_spec: raja-perf@develop +cuda~openmp+mpi cuda_arch=={cuda_arch}
compiler: default-compiler
environments:
raja-perf:
packages:
- cuda
- default-mpi
- raja-perf
6 changes: 5 additions & 1 deletion experiments/saxpy/cuda/ramble.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,16 @@ ramble:
spack:
concretized: true
packages:
cuda:
spack_spec: cuda@{default_cuda_version}+allow-unsupported-compilers
compiler: default-compiler
saxpy:
spack_spec: [email protected] +cuda{modifier_spack_variant} cuda_arch=={cuda_arch} ~openmp ^cuda@{default_cuda_version}
spack_spec: [email protected] +cuda{modifier_spack_variant} cuda_arch=={cuda_arch} ~openmp
compiler: default-compiler
environments:
saxpy:
packages:
- cuda
- default-mpi
- saxpy
- '{modifier_package_name}'

0 comments on commit 564df51

Please sign in to comment.