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

Calculating the energy of element Cs #55

Closed
Atefeh-Yadegarifard opened this issue Aug 1, 2023 · 2 comments
Closed

Calculating the energy of element Cs #55

Atefeh-Yadegarifard opened this issue Aug 1, 2023 · 2 comments

Comments

@Atefeh-Yadegarifard
Copy link

Hello.
I would like to use CHGNet to calculate the energy of the element Cs. But when I use chgnet.predict_structure , I see an error like this:
"graph_id=None has isolated atom with r_cutoff=5, should be skipped", stating that Cs is an isolated atom with atoms that are farther than 5 A from each other. I could not solve this problem with simply increasing the r_cutoff like this: CHGNet.r_cutoff = 10.0. So, I would like to ask for your assistance for solving this problem. Thank you and have a good day.

@BowenD-UCB
Copy link
Collaborator

Hi,

This is actually a known issue that is not supported by CHGNet.
The cutoff radius is a pre-set parameter that is used to construct pretrained CHGNet.
So, it can not be changed unless we train another CHGNet with setting r_cutoff = 6 at the beginning.

The inter-atomic distance in alkli metal Cs, like: https://next-gen.materialsproject.org/materials/mp-1?chemsys=Cs
is extremely long that exceeds 5A.
As Cs is an extreme case of super large inter-atomic distance, and almost no other system in Materials Project has similar issue, we had decided to keep 5A as the cut-off radius of CHGNet.
This is because increasing the cutoff radius of CHGNet will significantly increase its computation cost of CHGNet on all chemical systems.

If you're interested in studying Cs-related system. I will recommend you to initialize a new CHGNet with atom_graph_cutoff = 6, and train it on the Cs structures.

@BowenD-UCB
Copy link
Collaborator

BowenD-UCB commented Oct 23, 2023

this problem is addressed in v0.3.0.

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