diff --git a/config/packages.json b/config/packages.json index a12573a..97c5234 100644 --- a/config/packages.json +++ b/config/packages.json @@ -3,7 +3,6 @@ "provenance": [ "access-cice", "access-mom6", - "access-ww3", "access3", "access3-share", "access-generic-tracers", diff --git a/spack.yaml b/spack.yaml index 275a92e..fa0d6a9 100644 --- a/spack.yaml +++ b/spack.yaml @@ -2,100 +2,139 @@ # # It describes a set of packages to be installed, along with # configuration settings. -# Instructions for editing this file are found in +# Instructions for editing this file are found in # https://github.com/ACCESS-NRI/model-deployment-template/blob/main/spack.yaml spack: - # _name and _version are reserved definitions that inform deployments definitions: - - _name: [access-om3] - - _version: [2025.08.002] + - _name: [ access-om3 ] + - _version: [ 2025.08.999 ] specs: - - access-om3 + - access-om3 + - gcom@8.0 packages: # Main Dependencies access3: require: - - '@2025.08.000' - - configurations=MOM6,MOM6-CICE6,MOM6-CICE6-WW3 - - 'fflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' - - 'cflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' - - 'cxxflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' + - '@git.74d7aa725f8f142dbe07ec375173cd727fecdc79' + - configurations=MOM6-CICE6 + - 'fflags="-march=skylake-avx512 -mtune=skylake-avx512 -unroll"' + - 'cflags="-march=skylake-avx512 -mtune=skylake-avx512 -unroll"' + - 'cxxflags="-march=skylake-avx512 -mtune=skylake-avx512 -unroll"' access-cice: require: - - '@CICE6.6.1-0' - - io_type=PIO - - 'fflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' - - 'cflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' - - 'cxxflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' + - '@git.e16ef83961f89d82212d9b69692b4ff022584777' + - io_type=PIO + - 'fflags="-march=skylake-avx512 -mtune=skylake-avx512 -unroll"' + - 'cflags="-march=skylake-avx512 -mtune=skylake-avx512 -unroll"' + - 'cxxflags="-march=skylake-avx512 -mtune=skylake-avx512 -unroll"' access-mom6: require: - - '@2025.07.000' - - 'fflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' - - 'cflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' - - 'cxxflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' - access-ww3: - require: - - '@2025.08.000' + - '@2025.07.000' + - 'fflags="-march=skylake-avx512 -mtune=skylake-avx512 -unroll"' + - 'cflags="-march=skylake-avx512 -mtune=skylake-avx512 -unroll"' + - 'cxxflags="-march=skylake-avx512 -mtune=skylake-avx512 -unroll"' access3-share: require: - - '@2025.08.000' - - 'fflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' - - 'cflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' - - 'cxxflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' + - '@git.74d7aa725f8f142dbe07ec375173cd727fecdc79' + - 'fflags="-march=skylake-avx512 -mtune=skylake-avx512 -unroll"' + - 'cflags="-march=skylake-avx512 -mtune=skylake-avx512 -unroll"' + - 'cxxflags="-march=skylake-avx512 -mtune=skylake-avx512 -unroll"' access-generic-tracers: require: - - '@2025.08.000' - - 'fflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' - - 'cflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' - - 'cxxflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' + - '@2025.08.000' + - 'fflags="-march=skylake-avx512 -mtune=skylake-avx512 -unroll"' + - 'cflags="-march=skylake-avx512 -mtune=skylake-avx512 -unroll"' + - 'cxxflags="-march=skylake-avx512 -mtune=skylake-avx512 -unroll"' access-mocsy: require: - - '@2025.07.002' - - 'fflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' - - 'cflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' - - 'cxxflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' + - '@2025.07.002' + - 'fflags="-march=skylake-avx512 -mtune=skylake-avx512 -unroll"' + - 'cflags="-march=skylake-avx512 -mtune=skylake-avx512 -unroll"' + - 'cxxflags="-march=skylake-avx512 -mtune=skylake-avx512 -unroll"' # Other Dependencies esmf: require: - - '@8.7.0' - - 'fflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' - - 'cflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' - - 'cxxflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' + - '@8.7.0' + - 'fflags="-march=skylake-avx512 -mtune=skylake-avx512 -unroll"' + - 'cflags="-march=skylake-avx512 -mtune=skylake-avx512 -unroll"' + - 'cxxflags="-march=skylake-avx512 -mtune=skylake-avx512 -unroll"' parallelio: require: - - '@2.6.8' + - '@2.6.2' netcdf-c: require: - - '@4.9.3' - - build_system=cmake build_type=RelWithDebInfo + - '@4.9.2' + - build_system=cmake build_type=RelWithDebInfo netcdf-fortran: require: - - '@4.6.1' + - '@4.6.1' fms: require: - - '@2025.03' - - 'cppflags="-DMAXFIELDMETHODS_=600"' + - '@2025.03' + - 'cppflags="-DMAXFIELDMETHODS_=600"' openmpi: require: - - '@4.1.7' + - '@4.1.7' fortranxml: require: - - '@4.1.2' - - # Compilers + - '@4.1.2' + gcc-runtime: + require: + - '%gcc' c: require: - - 'intel-oneapi-compilers@2025.2.0' + - 'intel-oneapi-compilers-classic@2021.10.0' cxx: require: - - 'intel-oneapi-compilers@2025.2.0' + - 'intel-oneapi-compilers-classic@2021.10.0' fortran: require: - - 'intel-oneapi-compilers@2025.2.0' - + - 'intel-oneapi-compilers-classic@2021.10.0' all: prefer: - - 'target=x86_64' + - 'target=x86_64' view: true concretizer: unify: true + modules: + prefix_inspections: + bin: + - PATH + lib: + - LIBRARY_PATH + - LD_LIBRARY_PATH + lib64: + - LIBRARY_PATH + - LD_LIBRARY_PATH + include: + - FPATH + + default: + tcl: + include: + - access-om3 + - access-mom6 + - access-cice + - access3-share + - access3 + - esmf + - fms + - parallelio + - fortranxml + - gcom + - openmpi + - netcdf-c + - netcdf-fortran + + projections: + access-om3: '{name}/2025.x.0' + access-cice: '{name}/access-cm3-CICE6.6.1-0-{hash:7}' + access-mom6: '{name}/cmake_build-{hash:7}' + access3-share: '{name}/access-cm3-2025.12.0-{hash:7}' + parallelio: '{name}/2.6.2-{hash:7}' + fortranxml: '{name}/4.1.2-{hash:7}' + fms: '{name}/2024.03-{hash:7}' + esmf: '{name}/v8.7.0-{hash:7}' + netcdf-c: '{name}/4.9.2-{hash:7}' + netcdf-fortran: '{name}/4.6.1-{hash:7}' + gcom: '{name}/8.0-{hash:7}' \ No newline at end of file