From cb5349363cbb479914b331d5978c67da2b24a504 Mon Sep 17 00:00:00 2001 From: Jose Gracia Date: Wed, 10 Jul 2024 09:01:36 -0500 Subject: [PATCH] Add external packages for fftw, netcdf, and hdf5 from CPE --- config-hlrs/packages.yaml | 63 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) diff --git a/config-hlrs/packages.yaml b/config-hlrs/packages.yaml index 6d0bfa1..3954541 100644 --- a/config-hlrs/packages.yaml +++ b/config-hlrs/packages.yaml @@ -5,6 +5,7 @@ packages: blas: [cray-libsci] lapack: [cray-libsci] scalapack: [cray-libsci] + fftw-api: [cray-fftw] pkgconfig: [pkg-config] zlib-api: [zlib-ng+compat] cray-mpich: @@ -34,6 +35,68 @@ packages: modules: - cray-libsci/24.03.0 buildable: false + fftw: + externals: + - spec: fftw@3.3.10.7 + prefix: /opt/cray/pe/fftw/3.3.10.7/x86_64 + modules: + - cray-fftw/3.3.10.7 + buildable: false + hdf5: + externals: + - spec: hdf5@1.14.3.1%cce + prefix: /opt/cray/pe/hdf5/1.14.3.1/cray/18.0 + modules: + - cray-hdf5/1.14.3.1 + - spec: hdf5@1.14.3.1%gcc + prefix: /opt/cray/pe/hdf5/1.14.3.1/gnu/12.3 + modules: + - cray-hdf5/1.14.3.1 + buildable: false + netcdf-c: + externals: + - spec: netcdf-c@4.9.0.13%cce + prefix: /opt/cray/pe/netcdf/4.9.0.13/crayclang/18.0 + modules: + - cray-netcdf/4.9.0.13 + - spec: netcdf-c@4.9.0.13%gcc + prefix: /opt/cray/pe/netcdf/4.9.0.13/gnu/12.3 + modules: + - cray-netcdf/4.9.0.13 + buildable: false + netcdf-cxx4: + externals: + - spec: netcdf-cxx4@4.9.0.13%cce + prefix: /opt/cray/pe/netcdf/4.9.0.13/crayclang/18.0 + modules: + - cray-netcdf/4.9.0.13 + - spec: netcdf-cxx4@4.9.0.13%gcc + prefix: /opt/cray/pe/netcdf/4.9.0.13/gnu/12.3 + modules: + - cray-netcdf/4.9.0.13 + buildable: false + netcdf-fortran: + externals: + - spec: netcdf-fortran@4.9.0.13%cce + prefix: /opt/cray/pe/netcdf/4.9.0.13/crayclang/18.0 + modules: + - cray-netcdf/4.9.0.13 + - spec: netcdf-fortran@4.9.0.13%gcc + prefix: /opt/cray/pe/netcdf/4.9.0.13/gnu/12.3 + modules: + - cray-netcdf/4.9.0.13 + buildable: false + parallel-netcdf: + externals: + - spec: parallel-netcdf@1.12.3.13%cce + prefix: /opt/cray/pe/parallel-netcdf/1.12.3.13/crayclang/18.0 + modules: + - cray-parallel-netcdf/1.12.3.13 + - spec: parallel-netcdf@1.12.3.13%gcc + prefix: /opt/cray/pe/parallel-netcdf/1.12.3.13/gnu/12.3 + modules: + - cray-parallel-netcdf/1.12.3.13 + buildable: false # Packages which have not been discovered by spack external find # and packages which are not in the OS image but low-level. # Declare libs as externals only if a -devel OS package is installed