Closed PabloRodenas closed 3 years ago
The fujitsu_add_link_flags.patch seems to be incompatible with the newest version of kim-api.
Could you try specifying older version by the following command ?
spack install lammps @20190807 ^kim-api@2.1.3 %fj
We didn't encounter this problem because kim-api was added as lammps dependencies only recently. We will update information after confirming this workaround works well.
I got have LAMMPS installed! I confirm that your suggestion worked perfectly. Many thanks for your answer.
I am testing spack for installing different software on a aarch64 machine. My spack config files are based on the Spack/README.md. First, I tried to use spack with cross-compilation on login's node but it fails on the tests part of the very first dependency. So now I am executing spack directly on a compute node.
Trying to install LAMMPS, spack fails on the kim-api dependency when applying the fujitsu_add_link_flags.patch:
I've interactively tested the command and seems that the lines specified on the fujitsu_add_link_flags.patch are totally different of the content of the cmake/Modules/DefaultCompilerFlags.cmake.
If you can help me to compile LAMMPS on aarch64 would be really helpful.
Thanks in advance.