-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
difficulty to compile interface to LAMMPS (version 3 Nov 2022) #181
Comments
also, with LAMMPS version 29 oct 2020, we have several undefined symbols:
Any hint on how to get rid of these errors? |
This is an old question but for future readers: This is caused by a change in the lammps interface in PR: lammps/lammps#3159 which broke the neighbor request call at commit lammps/lammps@799ab96, resulting in build error starting from release 24Mar2022. As a workaround, you can revert commit lammps/lammps@799ab96 or modify the current LAMMPS class NeighRequest : protected Pointers {
friend class Neighbor;
friend class NBin;
friend class NeighList;
friend class NPair;
friend class NStencil;
friend class NeighborKokkos;
friend class NPairSkipIntel;
friend class FixIntel;
friend class PairNNP; // addition
|
One possibility that also seems to work (but requires further testing) is to change lines 207-2010 in
to
This solved the problem for me |
Regarding your second question, could it be that you did not link the .so files in the lammps makefile?
that solved it for me |
Hi,
We currently face some difficulties to compile LAMMPS with interface to nnp.
We followed the instructions provided here and could successfully compile the nnp library. But the compilation of lammps fails with the following error:
Is there anything we can do on our side?
Best
Antoine Falaize
The text was updated successfully, but these errors were encountered: