easybuilders / easybuild

EasyBuild - building software with ease
http://easybuild.io
GNU General Public License v2.0
466 stars 143 forks source link

LAMMPS-23Jun2022-foss-2022a-kokkos : kokkos_arch variable not detected #884

Closed theGitpster45 closed 7 months ago

theGitpster45 commented 9 months ago

Greetings, For a few weeks I tried to deal with a bug that keeps me from successfully installing LAMMPS in my cluster. It always return the following error:

WARNING: kokkos_arch not set. Trying to auto-detect CPU arch. (...) Couldn't determine CPU architecture, you need to set 'kokkos_arch' manually. (took 17 secs)

I tried to apply the following workarounds, but none worked:

ocaisa commented 9 months ago

It's not a Lammps option, it's an option for the easyconfig recipe. For what you want, this should work --try-amend=kokkos_arch=HSW

theGitpster45 commented 9 months ago

It worked as you said ! Many thanks @ocaisa :smiley: !!