Skip to content

Commit

Permalink
Merge pull request #3569 from bedroge/lammps_sapphire_rapids
Browse files Browse the repository at this point in the history
add support for Sapphire Rapids in LAMMPS easyblock
  • Loading branch information
ocaisa authored Jan 29, 2025
2 parents 3469151 + 362b467 commit b0ce5ec
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions easybuild/easyblocks/l/lammps.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@
'skylake_avx512': 'SKX',
'cascadelake': 'SKX',
'icelake': 'SKX',
'sapphirerapids': 'SKX',
'knights-landing': 'KNL',
'zen': 'ZEN',
'zen2': 'ZEN2',
Expand Down Expand Up @@ -242,6 +243,7 @@ def update_kokkos_cpu_mapping(self):

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

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

0 comments on commit b0ce5ec

Please sign in to comment.