Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion config/versions.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://raw.githubusercontent.com/ACCESS-NRI/schema/main/au.org.access-nri/model/deployment/config/versions/3-0-0.json",
"spack": "0.22",
"spack-packages": "SOME_SPECIFIC_TAG"
"spack-packages": "add-coastri-roms"
}
53 changes: 16 additions & 37 deletions spack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,49 +3,28 @@
# It describes a set of packages to be installed, along with
# configuration settings.
spack:
# TODO: This section is used primarily to provide variations to a model based on deployment target. Delete if not required.
# definitions:
# This is the root spack bundle that contains the model
# - ROOT_PACKAGE:
# - MODEL@git.GIT_REF=SPACK_VERSION

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

# This is where the single definitions of ROOT_PACKAGE and compiler/target are
# matrixed together to form a single spec: MODEL@git.GIT_REF=SPACK_VERSION %intel@2021.2.0 target=x86_64
# - ROOT_SPEC:
# - matrix:
# - [$ROOT_PACKAGE]
# - [$%compiler_target]
specs:
# The root Spack Bundle Recipe (SBR) for the model and overall version of
# the deployment:
# TODO: Replace the MODEL, GIT_REF and SPACK_VERSION, if there is
# only one deployment target
# - MODEL@git.GIT_REF=SPACK_VERSION
# Alternatively, if there are multiple deployment targets that require
# different compilers/variants, use the above definitions section and:
# - $ROOT_SPEC
- coastri-roms@git.2025.06.000
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'
# the first element of the require is only a version
roms:
require:
- '@git.c1c5efd8276dfa67029363499ff7370b4582c47b'
Comment thread
aidanheerdegen marked this conversation as resolved.
Outdated

openmpi:
require:
- '@4.1.4'

netcdf-c:
require:
- '@4.7.3'

# Specifications that apply to all packages
all:
# TODO: Specify compiler/targets for all packages
# require:
# - '%intel@2021.10.0'
# - 'target=x86_64'
require:
- '%intel@2021.8.0'
- 'target=x86_64'
view: true
concretizer:
unify: true