Skip to content
Snippets Groups Projects
Commit af65b3c4 authored by Nicolas Richart's avatar Nicolas Richart
Browse files

Adding nvhpc

parent b10b4979
No related branches found
No related tags found
1 merge request!5Adding nvhpc to kuma
Pipeline #204180 canceled
...@@ -76,6 +76,12 @@ ...@@ -76,6 +76,12 @@
"compiler": "gcc", "compiler": "gcc",
"spec": "gcc@13.2.0 %gcc@11.2.1", "spec": "gcc@13.2.0 %gcc@11.2.1",
"version": "13.2.0" "version": "13.2.0"
},
"nvhpc": {
"compiler": "nvhpc",
"spec": "nvhpc+mpi+lapack+blas@24.3 %gcc@11.2.1",
"version": "24.3",
"constraint": "env['environment'] in ['kuma-h100', 'kuma-l40s', 'izar']"
} }
}, },
"system_packages": [ "system_packages": [
...@@ -116,6 +122,7 @@ ...@@ -116,6 +122,7 @@
"libpng", "libpng",
"libsigsegv", "libsigsegv",
"libssh2", "libssh2",
"libszip",
"libtiff", "libtiff",
"libtool", "libtool",
"libunistring", "libunistring",
...@@ -137,6 +144,7 @@ ...@@ -137,6 +144,7 @@
"perl", "perl",
"pigz", "pigz",
"pkgconf", "pkgconf",
"pkg-conf",
"pmix", "pmix",
"rdma-core", "rdma-core",
"readline", "readline",
...@@ -151,6 +159,7 @@ ...@@ -151,6 +159,7 @@
"xpmem", "xpmem",
"xxd-standalon", "xxd-standalon",
"xz", "xz",
"zlib",
"zlib-ng", "zlib-ng",
"zstd" "zstd"
] ]
......
...@@ -9,6 +9,9 @@ packages: ...@@ -9,6 +9,9 @@ packages:
- spec: '+cuda' - spec: '+cuda'
when: '%gcc' when: '%gcc'
- spec: '+cuda'
when: '%nvhpc'
# --------------------------------------------------------------------------- # ---------------------------------------------------------------------------
cuda: cuda:
prefer: prefer:
......
...@@ -186,6 +186,9 @@ packages: ...@@ -186,6 +186,9 @@ packages:
netcdf-c: netcdf-c:
prefer: ['+mpi'] prefer: ['+mpi']
nvhpc:
require: ['%gcc@11.2.1']
openblas: openblas:
require: ['build_system=makefile'] require: ['build_system=makefile']
prefer: ['threads=openmp', 'symbol_suffix=none', '~ilp64'] prefer: ['threads=openmp', 'symbol_suffix=none', '~ilp64']
......
...@@ -24,18 +24,27 @@ spack: ...@@ -24,18 +24,27 @@ spack:
- mpi_oneapi: - mpi_oneapi:
- intel-oneapi-mpi@2021.12.1 - intel-oneapi-mpi@2021.12.1
- mpi_nvhpc:
- "[virtuals=mpi] nvhpc+mpi+blas+lapack"
- blas_gcc: - blas_gcc:
- openblas@0.3.27 - openblas@0.3.27
- blas_oneapi: - blas_oneapi:
- intel-oneapi-mkl@2024.1.0 - intel-oneapi-mkl@2024.1.0
- blas_nvhpc:
- "[virtuals=blas,lapack] nvhpc+mpi+blas+lapack"
- python_gcc: - python_gcc:
- python@3.11.7 - python@3.11.7
- python_oneapi: - python_oneapi:
- python@3.11.7 - python@3.11.7
- python_nvhpc:
- python@3.11.7 %gcc@11.2.1
# ------------------------------------------------------------------------- # -------------------------------------------------------------------------
# Core packages # Core packages
# ------------------------------------------------------------------------- # -------------------------------------------------------------------------
...@@ -101,7 +110,6 @@ spack: ...@@ -101,7 +110,6 @@ spack:
- netcdf-c ~~mpi - netcdf-c ~~mpi
- netcdf-fortran ^netcdf-c ~~mpi - netcdf-fortran ^netcdf-c ~~mpi
- nfft ^fftw~~mpi~~openmp - nfft ^fftw~~mpi~~openmp
- python
- scotch ~~mpi - scotch ~~mpi
- star - star
- subread - subread
...@@ -118,6 +126,7 @@ spack: ...@@ -118,6 +126,7 @@ spack:
- libxc - libxc
- qperf - qperf
- ncview ^netcdf-c ~~mpi ~parallel-netcdf - ncview ^netcdf-c ~~mpi ~parallel-netcdf
- python
- sox - sox
- stacks - stacks
- xgboost - xgboost
...@@ -434,6 +443,24 @@ spack: ...@@ -434,6 +443,24 @@ spack:
- [$^mpi_gcc] - [$^mpi_gcc]
- [$%compiler_gcc] - [$%compiler_gcc]
# --------------------------------------------------------------------------
- matrix:
- [$serial_codes]
- [$%compiler_nvhpc]
- matrix:
- [$mpi_blas_codes]
- [$^blas_nvhpc]
- [$^mpi_nvhpc]
- [$%compiler_nvhpc]
- matrix:
- [$mpi_blas_python_codes]
- [$^python_nvhpc]
- [$^blas_nvhpc]
- [$^mpi_nvhpc]
- [$%compiler_nvhpc]
# -------------------------------------------------------------------------- # --------------------------------------------------------------------------
- matrix: - matrix:
- [$serial_codes] - [$serial_codes]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment