Skip to content

Commit faea8dd

Browse files
committed
mom5: depend on oasis3-mct, not oasis3-mct@access-esm1.5, with version access-esm1.6
1 parent f3d8c58 commit faea8dd

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

packages/mom5/package.py

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -61,17 +61,15 @@ class Mom5(CMakePackage, MakefilePackage):
6161
# Depend on virtual package "mpi".
6262
depends_on("mpi")
6363

64-
with when("@access-om2,legacy-access-om2-bgc"):
65-
depends_on("datetime-fortran")
64+
with when("@access-om2,legacy-access-om2-bgc,access-esm1.6"):
6665
depends_on("oasis3-mct+deterministic", when="+deterministic")
6766
depends_on("oasis3-mct~deterministic", when="~deterministic")
67+
68+
with when("@access-om2,legacy-access-om2-bgc"):
69+
depends_on("datetime-fortran")
6870
depends_on("libaccessom2+deterministic", when="+deterministic")
6971
depends_on("libaccessom2~deterministic", when="~deterministic")
7072

71-
with when("@access-esm1.6"):
72-
depends_on("oasis3-mct@access-esm1.5+deterministic", when="+deterministic")
73-
depends_on("oasis3-mct@access-esm1.5~deterministic", when="~deterministic")
74-
7573
# NOTE: Spack will also match "access-om2-legacy-bgc" here, that's why
7674
# it has been renamed to "legacy-access-om2-bgc".
7775
with when("@access-om2,access-esm1.6"):

0 commit comments

Comments
 (0)