-
Notifications
You must be signed in to change notification settings - Fork 13
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
Compatibility with LAMMPS after 2Jun2022 #41
Comments
Hi @xyttyxy and @Linux-cpp-lisp , Thank you for your comments. I was trying to integrate NequIP into LAMMPS 23Jun2022 version,
|
Yeah, I've the same issue as @JunsuAndrewLee .. Exception: ERROR: Unrecognized pair style 'nequip' (src/force.cpp:279) .. with LAMMPS (23 Jun 2022 - Update 1). @Linux-cpp-lisp Thanks in advance. |
@Akram-Ibrahim Recently I managed to integrate nequip to LAMMPS 23Jun2022 stable version, though slightly different version from what you have tried. Did you make sure patch_lammps.sh is properly executed? You can check /src/pair_nequip.cpp and pair_nequip.h |
Thanks @JunsuAndrewLee for the update. I will try to use the LAMMPS 23Jun2022 stable version. Yeah, patch_lammps.sh was properly executed and I can see the pair_nequip .cpp and .h files copied in lammps/src. |
I also removed 96th line, though not sure this changes anything. Plus, you can easily check available pair styles in your compiled executable with |
Should be closed by #52. |
In lammps/lammps#3199 a change was made to neighbor list request API, making full, half, and ghost not directly accessible to third-party code. This is used here
pair_nequip/pair_nequip.cpp
Lines 97 to 101 in b3680ef
Hence pair_nequip will not compile with LAMMPS after 2Jun2022. A simple fix is by replacing the 3 lines cited by the new API:
The text was updated successfully, but these errors were encountered: