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

Advanced reference workchain needed? #218

Open
broeder-j opened this issue Aug 31, 2021 · 1 comment
Open

Advanced reference workchain needed? #218

broeder-j opened this issue Aug 31, 2021 · 1 comment

Comments

@broeder-j
Copy link
Member

To ensure consistent parameter and kpoints and so on we use the reference workchain key, where we parse an already run workchain to a new one to ensure consistency.

However, what consistency means may depend on the context of the higher workchain.
Example:
In the EOS case, we want to have the same parameter and the same kpoints.

But if we think about an 'Energy of formation workchain' there we might have to parse either the workchain of the crystal to all the workchains calculating the elemental references and there one does not want to enforce the same kpoints. Or one could parse all the elemental workchains (if they are run first) to the one running the crystal, i.e a list of reference workchains might be needed. So same sub workchain as in the EOS case, but different 'common' context.

Therefore, overall in the long term we might have to enhance or over think the reference workchain key for more general workchain cases.

(for the current efforts with just the EOSwc, the current situation is fine)

@giovannipizzi
Copy link
Member

Fully agree, @bosonie and me were just discussing the same thing.

One way would be to have a get_builders (note the plural) where you pass multiple structures and it returns all builders, created in a compatible way (rather than running one and then having it as a reference). This would work better e.g. for formation energies. However, it might be complex to decide in a general way what the users want to do (e..g. if you get different cells, does the user want to do a formation energy or an EOS?).

Happy to discuss more (and agreed that for EOS it's fine as is)

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