Skip to content

Commit

Permalink
Remove ^libxml2%gcc workaround in icon tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dominichofer committed Aug 7, 2024
1 parent e4c2e6c commit ad0a4e9
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions test/system_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def test_install_cosmo_eccodes_definitions_version(version):
@pytest.mark.no_tsa
@pytest.mark.cosmo
def test_install_cosmo_6_0():
spack_install(f'[email protected]%nvhpc', test_root=False)
spack_install('[email protected]%nvhpc', test_root=False)


@pytest.mark.eccodes
Expand Down Expand Up @@ -138,8 +138,7 @@ def test_install_icon_24_1_gcc():
@pytest.mark.no_daint
@pytest.mark.no_tsa # Icon does not run on Tsa
def test_install_2024_1_nvhpc():
#WORKAROUND: ^libxml2%gcc works around a problem in the concretizer of spack v0.21.1 and /mch-environment/v6
spack_install('icon @2024.1-1 %nvhpc ^libxml2%gcc')
spack_install('icon @2024.1-1 %nvhpc')


@pytest.mark.no_daint # libxml2 %nvhpc fails to build
Expand All @@ -155,9 +154,8 @@ def test_install_conditional_dependencies():
# +mpi triggers mpi
# gpu=openacc+cuda triggers cuda

#WORKAROUND: ^libxml2%gcc works around a problem in the concretizer of spack v0.21.1 and /mch-environment/v6
spack_install(
'icon @2024.1-1 %nvhpc +coupling +rttov serialization=create +emvorado +mpi gpu=openacc+cuda ^libxml2%gcc'
'icon @2024.1-1 %nvhpc +coupling +rttov serialization=create +emvorado +mpi gpu=openacc+cuda cuda_arch=80'
)


Expand Down

0 comments on commit ad0a4e9

Please sign in to comment.