Skip to content
23 changes: 20 additions & 3 deletions repos/c2sm/packages/icon/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,25 @@ def check_variant_extra_config_args(extra_config_arg):
class Icon(SpackIcon):
git = 'git@gitlab.dkrz.de:icon/icon-nwp.git'

maintainers('jonasjucker', 'huppd')
maintainers('huppd')

version('develop', submodules=True)
version("icon-2025.10",
tag="icon-2025.10",
git='git@gitlab.dkrz.de:icon/icon.git',
submodules=True)
version("icon-2025.04-2",
tag="icon-2025.04-2",
git='git@gitlab.dkrz.de:icon/icon.git',
submodules=True)
version("icon-2025.04-1",
tag="icon-2025.04-1",
git='git@gitlab.dkrz.de:icon/icon.git',
submodules=True)
version("icon-2025.04",
tag="icon-2025.04",
git='git@gitlab.dkrz.de:icon/icon.git',
submodules=True)
version("2024.10",
tag="icon-2024.10",
git='git@gitlab.dkrz.de:icon/icon.git',
Expand All @@ -43,8 +59,9 @@ class Icon(SpackIcon):
tag="icon-2024.01-1",
git='git@gitlab.dkrz.de:icon/icon.git',
submodules=True)
version('2.6.6-mch2b', tag='icon-nwp/icon-2.6.6-mch2b', submodules=True)
version('2.6.6-mch2a', tag='icon-nwp/icon-2.6.6-mch2a', submodules=True)
version('2024.10-mch-1.0', tag='icon-2024.10-mch-1.0', submodules=True)
version('2024.01-mch-2.1', tag='icon-2024.01-mch-2.1', submodules=True)
version('2024.01-mch-2.0', tag='icon-2024.01-mch-2.0', submodules=True)
version('nwp-master', submodules=True)

# The variants' default follow those of ICON
Expand Down
3 changes: 2 additions & 1 deletion test/common_system_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ def test_install_makedepf90():
spack_install('makedepf90', test_root=False)


@pytest.mark.parametrize('version', ['2024.10', '2.6.6-mch2a', '2.6.6-mch2b'])
@pytest.mark.parametrize('version',
['2024.10', '2024.01-mch-2.1', '2024.10-mch-1.0'])
def test_install_icon(version):
# WORKAROUND: A build and link dependency should imply that the same compiler is used. ^cray-mpich%nvhpc enforces it.
spack_install(f'icon @{version} %nvhpc ^cray-mpich%nvhpc')
Expand Down
2 changes: 1 addition & 1 deletion test/santis_system_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ def test_install_icon_conditional_dependencies():

# WORKAROUND: A build and link dependency should imply that the same compiler is used. ^cray-mpich%nvhpc enforces it.
spack_install(
'icon @2.6.6-mch2b %nvhpc +coupling +emvorado +mpi gpu=nvidia-90 ^cray-mpich%nvhpc'
'icon @2024.10-mch-1.0 %nvhpc +coupling +emvorado +mpi gpu=nvidia-90 ^cray-mpich%nvhpc'
)
Loading