Hi,
I am trying to run a PhononMaker
calculation in atomate2 using M3GNet. Since our HPC cluster has DNS/firewall restrictions, the pretrained model cannot be downloaded directly from the matgl
GitHub repository.
Additionally, I want to use the most recent version of M3GNet (MatPES-PBE-v2025.1-PES) for force and energy predictions. I tried several ways, and after checking the source code, I overwrote the static maker as follows:
static_maker = ForceFieldStaticMaker(
force_field_name="M3GNet",
calculator_kwargs={"path": "model_name"}
)
This runs fine on my local PC, but I have a few clarifications:
- The code works but still fetches the model from the GitHub repository. However, is the model name actually overridden, or is the default model being used
(MLFF.M3GNet)
? - When I replace it with a local path to the model, it does not work. How can I properly point it to a local model file?
Any guidance or example snippets would be very helpful.
Thanks!