diff --git a/spack-env/spack.yaml b/spack-env/spack.yaml index 7050a60..d88d295 100644 --- a/spack-env/spack.yaml +++ b/spack-env/spack.yaml @@ -9,6 +9,27 @@ spack: - esmf%gcc@11.4+mpi+netcdf - pfunit%gcc@11.4+esmf+mpi - py-pip%gcc@11.4 + + modules: + default: + exclude_implicits: false + hide_implicits: true + hash_length: 0 + all: + autoload: direct + environment: + set: + '{name}_ROOT': '{prefix}' + projections: + all: '{name}/{version}' + netcdf-c: + environment: + set: + NETCDF: '{prefix}' + netcdf-fortran: + environment: + set: + NETCDF_FORTRAN: '{prefix}' container: format: docker