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

RuntimeError: Failed to calculate an energy for O #124

Open
AiPacino9 opened this issue Feb 1, 2025 · 2 comments
Open

RuntimeError: Failed to calculate an energy for O #124

AiPacino9 opened this issue Feb 1, 2025 · 2 comments

Comments

@AiPacino9
Copy link

Hi, i met some problems when running examples/DA_paper/training/explicit/cis_endo_TS_wB97M.xyz
The following are not valid: tmp_orca.inp
Cannot start the screen reader because it cannot connect to the Desktop.

Traceback (most recent call last):
File "/home/aipacino/code/mlp-train/examples/DA_paper/training/explicit/endo_ace_ex.py", line 280, in
Water_mlp.al_train(
File "/home/aipacino/code/mlp-train/mlptrain/potentials/_base.py", line 196, in al_train
al_train(self, method_name=method_name, **kwargs)
File "/home/aipacino/code/mlp-train/mlptrain/training/active.py", line 187, in train
mlp.set_atomic_energies(method_name=method_name)
File "/home/aipacino/code/mlp-train/mlptrain/potentials/_base.py", line 318, in set_atomic_energies
raise RuntimeError(
RuntimeError: Failed to calculate an energy for O

How can i solve it. Thanks!

@juraskov
Copy link
Member

juraskov commented Feb 4, 2025

Hi, thanks for opening the issue. Were you able to run some of the simpler examples in mlp-train? For instance, water.py example with xtb or methane.py example with Orca? It seems you might have some problems with the link to Orca. This can be confirmed if the water.py example finishes without issues, as it relies on the xtb code.

Veronika

@juraskov
Copy link
Member

juraskov commented Feb 4, 2025

Also, looking at this error message:

"Cannot start the screen reader because it cannot connect to the Desktop."

Are you sure you have the correct orca? https://www.faccts.de/docs/orca/5.0/tutorials/first_steps/install.html

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

2 participants