This repository was archived by the owner on Apr 9, 2025. It is now read-only.
Repository navigation
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Dear developers,
I'm trying to figure out how to use M3GNETCalculator directly on ASE if it is possible. This is very short code that I've tried to setup but I'm still facing the same error
`import os
import ase
import m3gnet
from m3gnet.models import M3GNetCalculator, Potential
atoms=ase.io.read('xtbopt.xyz')
atoms.calc=M3GNetCalculator(potential=Potential)
energy = atoms.get_potential_energy()`
which returns:
What am I missing?
Thank you for your help
All reactions