Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
easyconfigs:
- kim-api-2.4.1-GCC-13.3.0.eb:
options:
# See https://github.com/easybuilders/easybuild-easyconfigs/pull/25133
from-commit: c484c12aaad5da0e27cd9269d59b4ecaa89927ab
- LAMMPS-22Jul2025-foss-2024a-kokkos.eb:
options:
# See https://github.com/easybuilders/easybuild-easyconfigs/pull/25133
# and https://github.com/easybuilders/easybuild-easyconfigs/pull/25593
from-commit: e2dedae93022d7e3f10bf2983ca8a03b03b0dca0
15 changes: 15 additions & 0 deletions eb_hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -1575,6 +1575,20 @@ def pre_test_hook_ignore_failing_tests_OpenBabel_a64fx(self, *args, **kwargs):
self.cfg['testopts'] = "|| echo ignoring failing tests"


def pre_test_hook_ignore_failing_tests_LAMMPS_ARM_generic(self, *args, **kwargs):
"""
Pre-test hook for LAMMPS: skip failing ctest for selected LAMMPS version on ARM generic.

See: https://github.com/lammps/lammps/issues/4926
"""
if self.name == 'LAMMPS' and self.version in ('22Jul2025',):
if os.getenv('EESSI_CPU_FAMILY') == 'aarch64':
mcpu_generic = '-DKokkos_ARCH_ARMV80=yes'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@laraPPr You can make this more direct by inspecting the value of $EESSI_SOFTWARE_SUBDIR, and comparing it with the existing CPU_TARGET_AARCH64_GENERIC constant?

cpu_target = get_eessi_envvar('EESSI_SOFTWARE_SUBDIR')

see also parse_hook_openblas_relax_lapack_tests_num_errors (but that's for aarch64/neoverse_v1)

cflags = os.getenv('CFLAGS')
if mcpu_generic in cflags:
self.cfg['testopts'] = "|| echo ignoring failing tests"


def pre_single_extension_hook(ext, *args, **kwargs):
"""Main pre-extension: trigger custom functions based on software name."""
if ext.name in PRE_SINGLE_EXTENSION_HOOKS:
Expand Down Expand Up @@ -1986,6 +2000,7 @@ def post_easyblock_hook(self, *args, **kwargs):
'netCDF': pre_test_hook_ignore_failing_tests_netCDF,
'OpenBabel': pre_test_hook_ignore_failing_tests_OpenBabel_a64fx,
'PyTorch': pre_test_hook_increase_max_failed_tests_arm_PyTorch,
'LAMMPS': pre_test_hook_ignore_failing_tests_LAMMPS_ARM_generic,
}

PRE_SINGLE_EXTENSION_HOOKS = {
Expand Down
Loading