-
Notifications
You must be signed in to change notification settings - Fork 3
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
Test matgl with LAMMPS #203
base: main
Are you sure you want to change the base?
Conversation
|
I did some more local tests and while the |
You mean it tries to use the same LAMMPS instance for different calculations? Shouldn't it be detectable from the pyiron side? |
No, I think it might be an issue how Python is build in conda, which is not compatible to the way how LAMMPS is calling Python. Still that is all just assumptions, what I can show is that it works when I run a LAMMPS input script but when I try to call the same script via the LAMMPS Python bindings then I get a similar error message as I posted it above. So I conclude that the |
The latest release of the LAMMPS conda package contains an interface to call
matgl
via ASE from LAMMPS. The advantage of this interface is that it is possible to use the internal functionality inside LAMMPS, like thermostats and fixes in combination with the modern machine learned interatomic potentials which are currently only supported by ASE.Still currently it seems this functionality requires writing input files and parsing output files. It is not possible to use this functionality when using LAMMPS with python bindings. An example how to use
matgl
inside LAMMPS is available in:https://github.com/matbinder/lammps-matgl