Closed cgross95 closed 5 months ago
The LAMMPS install process has changed. For previous versions make install
installed the Python bindings. For a recent release this was changed so that make install-python
is needed to install these. There is an easyblocks PR that will add this extra step and also update the kokkos cpu mappings: https://github.com/easybuilders/easybuild-easyblocks/pull/3036
You will also need a patch to lammps for the easyblock to work. You can find the patch in this PR: easybuilders/easybuild-easyconfigs#19471
Perfect, thank you both for the help. That resolved the issue. I am now stuck at the same point as the most recent test in #19471, so I will follow along there.
I am working on an install of LAMMPS using a modified EasyConfig (attached here: LAMMPS-21Nov2023-foss-2022b-kokkos-CUDA-12.1.1.eb.txt). The primary modifications I've made include
foss/2022b
toolchain and updating dependencies to matchI believe that I am able to get everything to successfully configure and build, but the build fails at the sanity-check stage with
All subsequent Python sanity checks fail because they are trying to import the non-existent
lammps
module that should be in the site-packages.I'm confused though because I can't find anywhere in the EasyBlock that actually installs the
lammps
Python module using the methods described in the LAMMPS documentation. The optional PYTHON LAMMPS package is enabled in the EasyConfig I am using, but it appears that this only enables calling Python from LAMMPS (not vice versa which is what thelammps
Python module should do).One other relevant piece of information is that we are attempting to build on top of EESSI. As such, our EasyBuild configuration is as follows: