easybuild-easyblocks icon indicating copy to clipboard operation
easybuild-easyblocks copied to clipboard

Installing LAMMPS prompts that the CPU architecture is unknown on AMD Milan

Open hezhiqiang8909 opened this issue 2 years ago • 6 comments

image

hezhiqiang8909 avatar Jun 14 '22 03:06 hezhiqiang8909

image

hezhiqiang8909 avatar Jun 14 '22 03:06 hezhiqiang8909

@ocaisa Any thoughts on this? Do we need a small enhancement for LAMMPS on AMD Milan?

boegel avatar Jun 21 '22 19:06 boegel

This is addressed in https://github.com/easybuilders/easybuild-easyblocks/pull/2213 but also requires a more recent version (and easyconfig) of LAMMPS (the existing version of Lammps is older than the Milan CPU)

ocaisa avatar Jun 21 '22 21:06 ocaisa

It might be enough to just use the easyblock in the PR, the last changes we made were to ensure it was backwards compatible. If the version of archspec used as a dependency recognises it as Zen3 then it should work. Try adding --include-easyblocks-from-pr=2213 to your eb command

ocaisa avatar Jun 22 '22 12:06 ocaisa

@hezhiqiang8909 We just merged the most recent LAMMPS releases (which includes all the updates required for the easyblock). If you'd like to try these you can use:

eb --from-pr=15876 --include-easyblocks-from-pr=2213

for foss/2021a, or

eb --from-pr=15877 --include-easyblocks-from-pr=2213

for foss/2021b

ocaisa avatar Jul 25 '22 11:07 ocaisa

@ocaisa Should this issue be closed now that https://github.com/easybuilders/easybuild-easyblocks/pull/2213 is merged?

boegel avatar Aug 03 '22 14:08 boegel