MACE interface for fortran code #857
Answered
by
ilyes319
vijaymocherla
asked this question in
Q&A
-
Hi, I'm trying to use MACE potentials for some semiclassical dynamics calculations. For this, I would like to make function calls from a fortran code to get the forces on atoms. Can someone suggest an efficient way to write an interface for MACE with an existing for Fortran code. |
Beta Was this translation helpful? Give feedback.
Answered by
ilyes319
Mar 12, 2025
Replies: 1 comment 4 replies
-
MACE can be called from lammps, which is a c++ code, so your best bet is to go via lammpslib. once you are able to call an arbitrary lammps potential, you can follow the instructions on how to use MACE with lammps. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think @stenczelt has a good C++ interface for MACE that is not lammps dependent and could help you.