Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Closed
1 change: 0 additions & 1 deletion .github/workflows/ci-command.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ jobs:
uses: access-nri/build-cd/.github/workflows/ci.yml@v8
with:
model: ${{ vars.NAME }}
# TODO: Check versions are appropriate
spack-manifest-schema-version: 2-0-0
config-versions-schema-version: 4-0-0
config-packages-schema-version: 1-0-0
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ jobs:
uses: access-nri/build-cd/.github/workflows/ci.yml@v8
with:
model: ${{ vars.NAME }}
# TODO: Check versions are appropriate
spack-manifest-schema-version: 2-0-0
config-versions-schema-version: 4-0-0
config-packages-schema-version: 1-0-0
Expand Down
8 changes: 2 additions & 6 deletions config/auto-configs-pr.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,10 @@
"profiles": {

"default": {
"configs_repo": "ACCESS-NRI/CONFIGS_REPO_HERE",
"configs_repo": "ACCESS-NRI/access-cm3-configs",
"configs": {
"dev-CONFIG_NAME_HERE": {
"checks": {
"repro": true
}
}
}
}

}
}
18 changes: 14 additions & 4 deletions config/packages.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
{
"$schema": "https://raw.githubusercontent.com/ACCESS-NRI/schema/main/au.org.access-nri/model/deployment/config/packages/1-0-0.json",
"provenance": [],
"injection": []
}
"$schema": "https://raw.githubusercontent.com/ACCESS-NRI/schema/main/au.org.access-nri/model/deployment/config/packages/1-0-0.json",
"provenance": [
"um",
"gcom",
"access-cice",
"access-mom6",
"access3",
"access3-share",
"access-generic-tracers",
"access-mocsy"
],
"injection": [
]
}
8 changes: 4 additions & 4 deletions config/versions.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://raw.githubusercontent.com/ACCESS-NRI/schema/main/au.org.access-nri/model/deployment/config/versions/4-0-0.json",
"spack": "1.1",
"access-spack-packages": "SOME_SPECIFIC_TAG",
"custom-scopes": []
"$schema": "https://raw.githubusercontent.com/ACCESS-NRI/schema/main/au.org.access-nri/model/deployment/config/versions/4-0-0.json",
"spack": "1.1",
"access-spack-packages": "d129409046e134239b9ed0560c2fb5cb413e9d5e",
"custom-scopes": []
}
159 changes: 105 additions & 54 deletions spack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,67 +2,118 @@
#
# It describes a set of packages to be installed, along with
# configuration settings.
# Instructions for editing this file are found in
# https://github.com/ACCESS-NRI/model-deployment-template/blob/main/spack.yaml
spack:
# definitions:
# TODO: _name and _version are required reserved definitions that inform build-cd deployments, and have no effect otherwise
# - _name: [DEPLOYMENT_NAME_HERE]
# - _version: [DEPLOYMENT_VERSION_HERE]

# TODO: This section is used primarily to provide variations to a model based on deployment target. Delete if not required.
# This is the root spack bundle that contains the model
# - ROOT_PACKAGE:
# - [email protected]_REF=SPACK_VERSION

# Mutually-exclusive Compiler and Target definitions (assumes DEPLOYMENT_TARGET set)
# - when: env['DEPLOYMENT_TARGET'] == 'Gadi'
# compiler_target: ['%[email protected] target=x86_64_v4']
# More mutually-exclusive definitions can be made...
# Default
# - when: "'DEPLOYMENT_TARGET' not in env"
# compiler_targets: ['[email protected] target=x86_64']

# This is where the single definitions of ROOT_PACKAGE and compiler/target are
# matrixed together to form a single spec: [email protected]_REF=SPACK_VERSION %[email protected] target=x86_64
# - ROOT_SPEC:
# - matrix:
# - [$ROOT_PACKAGE]
# - [$%compiler_target]

# _name and _version are reserved definitions that inform deployments
definitions:
- _name: [access-esm3]
- _version: [2026.03.000]
specs:
# The root Spack Bundle Recipe (SBR) for the model
# TODO: Replace the MODEL if there is only one deployment target
# - MODEL
# Alternatively, if there are multiple deployment targets that require
# different compilers/variants, use the above definitions section and:
# - $ROOT_SPEC
- access-esm3
packages:
# Specification of dependency versions and variants. CI/CD requires that
# the first element of the require is only a version:
# TODO: Specify versions and variants of dependencies as required.
# openmpi:
# require:
# - '@4.1.5'
# Main Dependencies
access3:
require:
- '@git.d63adae27696f2caae36625a80dcd436e03475cd=stable'
- configurations=MOM6-CICE6-UM13
- fflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"
- cflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"
- cxxflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"
um:
require:
- '@13.0'
- casim_ref=um13.0 jules_ref=JULES_vn7.0 shumlib_ref=um13.0 socrates_ref=um13.0 ukca_ref=b42593d0c8fe744f9cc1d1556a664fec792f4766 um_ref=vn13.0_nuopc
- fflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"
- cflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"
- cxxflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"
access-cice:
require:
- '@git.3286c36f9b9125ffddbc4d3aa9f98ff87ae1aded=CICE6.6.3-0'
- io_type=PIO
- fflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"
- cflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"
- cxxflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"
access-mom6:
require:
- '@2026.01.001'
- fflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"
- cflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"
- cxxflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"
access3-share:
require:
- '@git.d63adae27696f2caae36625a80dcd436e03475cd=stable'
- fflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"
- cflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"
- cxxflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"
access-generic-tracers:
require:
- '@2026.02.001'
- fflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"
- cflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"
- cxxflags="-march=sapphirerapids -mtune=sapphirerapids -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"

# Other Dependencies
gcom:
require:
# - '@8.0'
- fflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"
- cflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"
- cxxflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"
esmf:
require:
- '@8.9.1'
- fflags="-march=sapphirerapids -mtune=sapphirerapids -unroll -traceback"
- cflags="-march=sapphirerapids -mtune=sapphirerapids -unroll -fno-omit-frame-pointer"
- cxxflags="-march=sapphirerapids -mtune=sapphirerapids -unroll -fno-omit-frame-pointer"
parallelio:
require:
- '@2.6.8'
- fflags="-g -traceback"
- cflags="-g -fno-omit-frame-pointer"
- cxxflags="-g -fno-omit-frame-pointer"
netcdf-c:
require:
- '@4.9.3'
- build_system=cmake build_type=RelWithDebInfo
netcdf-fortran:
require:
- '@4.6.2'
fms:
require:
- '@2025.03'
- cppflags="-DMAXFIELDMETHODS_=600"
openmpi:
require:
- '@4.1.7'
fortranxml:
require:
- '@4.1.2'
python:
require:
- '@3.11.7' # force spack to use the system python install

# Compilers
# TODO: For compilers used in this deployment, specify versions as required.
# If changing compiler families, don't forget to update the 'all' section below.
c:
require:
- [email protected]
cxx:
require:
- [email protected]
fortran:
require:
- [email protected]

# Specifications that apply to all packages
all:
# TODO: Specify compiler toolchain/targets for all packages
# require:
# - '%access_intel'
# - 'target=x86_64'
prefer:
- target=x86_64_v4
view: true
concretizer:
unify: true
# modules:
# overridden module includes, projections, etc, if needed
# we inject these in build-cd now, but custom ones can be added additionally here
# config:
# overridden spack configurations, if needed. Preference is to use custom configurations scopes in
# spack-config's custom/cd/SCOPE, referenced in the config/versions.json's custom-scopes field.
# mirrors:
# overridden spack package tarball directories, if needed
# repos:
# overridden repo sources, if needed
develop: {}
Loading