Skip to content
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

LAMMPS interface #111

Open
shyuep opened this issue Jul 20, 2023 · 4 comments
Open

LAMMPS interface #111

shyuep opened this issue Jul 20, 2023 · 4 comments
Assignees

Comments

@shyuep
Copy link
Contributor

shyuep commented Jul 20, 2023

An interface to LAMMPS for MatGL is needed. This can be done in two ways:

  1. Using LAMMPS's experimental python plugin infrastructure. See https://github.com/lanl/hippynn/blob/development/hippynn/interfaces/lammps_interface/mliap_interface.py for an example. This would not be very efficient code but it would be the easiest to finish quickly and allow users to leverage on LAMMPS workflows.
  2. Write a C interface to LAMMPS. This was done for the TF version of M3GNet and we can perhaps adapt that implementation.
@jan-janssen
Copy link

What about the LAMMPS interface by advancesoftcrop https://github.com/advancesoftcorp/lammps/tree/based-on-lammps_2Jun2022/src/ML-M3GNET ? As far as I can see it is compatible to matgl but internally it still calls python, so the performance is presumably similar to the performance of the ASE interface.

@SmallBearC
Copy link

I am also looking forward an interface to LAMMPS. Especially, I need to train multiple models and use the model-devision feature to better sample. I have no better way for instance.

@shyuep
Copy link
Contributor Author

shyuep commented May 28, 2024

Yes, the AdvancedSoft interface works. But we are hoping to develop a more universal solution for MatGL itself.

@jan-janssen
Copy link

Yes, the AdvancedSoft interface works. But we are hoping to develop a more universal solution for MatGL itself.

As far as I understand it works with LAMMPS input files, but it does not work with LAMMPS as a Python library, right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants