Skip to content

Commit

Permalink
Merge pull request #3321 from steenlysgaard/lammps-icelake
Browse files Browse the repository at this point in the history
update Kokkos CPU mapping for LAMMPS >= 2Aug2023 to use `icx` on Intel Icelake systems
  • Loading branch information
laraPPr authored Oct 18, 2024
2 parents 4cef6ce + 6a5752e commit 5838f1d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions easybuild/easyblocks/l/lammps.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,9 @@ def update_kokkos_cpu_mapping(self):
self.kokkos_cpu_mapping['a64fx'] = 'A64FX'
self.kokkos_cpu_mapping['zen4'] = 'ZEN3'

if LooseVersion(self.cur_version) >= LooseVersion(translate_lammps_version('2Aug2023')):
self.kokkos_cpu_mapping['icelake'] = 'ICX'

def prepare_step(self, *args, **kwargs):
"""Custom prepare step for LAMMPS."""
super(EB_LAMMPS, self).prepare_step(*args, **kwargs)
Expand Down

0 comments on commit 5838f1d

Please sign in to comment.