flare icon indicating copy to clipboard operation
flare copied to clipboard

MGP without KOKKOS

Open dft4py opened this issue 3 years ago • 1 comments

Describe the bug Is it possible to compile the MGP plugin without KOKKOS?

To Reproduce Starting from a clean Ubuntu installation, I download LAAMPS from the github, move the mgp files to the /src/ directory of lamps and run cmake.

First I get an error about pair_mgp_kokkos not being able to find pair_kokkos.h, which makes sense since I have not installed KOKKOS. If I remove this file then the installation proceeds normally again but when the mgp_pair.cpp file tries to compile I get an error about a protected member.

pair.mgp.cpp:934:33: error "int LAMMPS_NS::NeighREquest::half" is protected within this context

dft4py avatar Mar 31 '22 20:03 dft4py

Hi,

Your final error comes from a change in the LAMMPS neighbor API that we haven't incorporated yet. For the time being, you can use a slightly older version, e.g. the git tag stable_29Sep2021_update2.

anjohan avatar Mar 31 '22 20:03 anjohan