-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
access-esm1p6: add variant cice, generic-tracers and um
- Loading branch information
Showing
1 changed file
with
40 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,8 @@ | |
from spack.package import * | ||
|
||
class AccessEsm1p6(BundlePackage): | ||
"""ACCESS-ESM1.6 bundle contains the coupled UM7, CICE4 and MOM5 models. | ||
"""ACCESS-ESM1.6 bundle contains the coupled UM7, CICE4/CICE5 and MOM5 | ||
models. | ||
ACCESS-ESM1.6 comprises of: | ||
|
@@ -17,21 +18,54 @@ class AccessEsm1p6(BundlePackage): | |
* The CABLE land surface model with biogeochemistry (CASA-CNP) (CABLE2.4) | ||
* The GFDL MOM5 ocean model at 1 degree resolution | ||
* The WOMBATlite ocean BGC model (generic tracer version) | ||
* The LANL CICE4.1 sea ice model (version as ACCESS1.4) | ||
* The LANL CICE4.1 sea ice model (version as ACCESS1.4). CICE5 for testing. | ||
* The OASIS-MCT coupler | ||
""" | ||
|
||
homepage = "https://www.access-nri.org.au" | ||
|
||
git = "https://github.com/ACCESS-NRI/ACCESS-ESM1.6.git" | ||
|
||
maintainers("dougiesquire") | ||
maintainers("dougiesquire", "harshula") | ||
|
||
version("latest") | ||
|
||
depends_on("[email protected]", type="run") | ||
depends_on("[email protected] type=ACCESS-ESM", type="run") | ||
variant( | ||
"cice", | ||
default="4", | ||
description="Choose the version of the CICE sea-ice model.", | ||
values=("4", "5"), | ||
multi=False, | ||
) | ||
variant( | ||
"generic-tracers", | ||
default=True, | ||
description="Enable generic tracers.", | ||
) | ||
variant( | ||
"um", | ||
default="access-esm1.6", | ||
description="Choose the branch of um7.", | ||
values=("access-esm1.5", "access-esm1.6"), | ||
multi=False, | ||
) | ||
|
||
depends_on("[email protected]", type="run", when="cice=4") | ||
depends_on("[email protected]", type="run", when="cice=5") | ||
depends_on( | ||
"[email protected] type=ACCESS-ESM", | ||
when="+generic-tracers", | ||
type="run", | ||
) | ||
# TODO: Use the access-esm1.6 branch when it has been confirmed that | ||
# MOM5 master supports building with generic tracers disabled. | ||
depends_on( | ||
"[email protected] type=ACCESS-CM", | ||
when="~generic-tracers", | ||
type="run", | ||
) | ||
# um7 is in a private repository | ||
depends_on("[email protected]", type="run") | ||
depends_on("[email protected]", type="run", when="um=access-esm1.5") | ||
depends_on("[email protected]", type="run", when="um=access-esm1.6") | ||
|
||
# There is no need for install() since there is no code. |