-
Notifications
You must be signed in to change notification settings - Fork 10
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
Implement base_restart
for KKRcalculation to fix known / common issues
#34
Comments
@PhilippRue I have started the implementation of this for the host code and for the voronoi code. However, looking at the way in which you have designed the A similar question happens for the |
When these workflows were developed there was no base restart functionality. That's why all error handling that is done so far is in there. In that way we could simply use the base restart instead of run a KKR calculation in the workflows like To sum up I suggest this structure:
Let me know what you think. |
Sure I understand, it is what made sense to do in that time.
That could be, however how we detect the out of memory errors? Is that something that is detected by the parser? or that it can be calculated on the fly? Normally one can get these ones on the
Yes I agree, the
I think it is something that might work, however, I wonder about the complexity, if there are three workchains that in principle handle how to do a KKR calculation (90% of the time you want to do a SCF calculation) I wonder if this would lead to confusion in their usage and or expansion. I'm open to help with any solution, but I would like to coordinate with you to ensure that things are well planned out. |
Parsing the stderr is an option but at least for slurm there exist some parsing in aiida-core already. However I don't know about the other schedulers.
Yes, maybe that structure is clearer. So the idea would be to use Then whenever a KkrCalculation is used now we just use |
Right had forgotten about that one, need to check if it works for other schedulers.
Yes that is what I was thinking, one needs to be clever on how to ensure that if you want to use the single KKR calculation that does not require scf, you do not end up in a situation in which the process handler is activated, so this is something that one must handle in the parser state. I think the tricky thing is that in other codes, such as QE and VASP, the base workchain is used in all the other workchains (such as dos, band structure, etc) to create a turn key solution, thing which is not the case here. So one needs to be quite careful on how to ensure that those functionalities are not broken, if one wishes to set the main |
Yes, but there is a limited number of things that can be seen when parsing the output. In most cases the shape of the energy contour (e.g. But on the bright side we would get closer to having turn-key workflows ;) |
True ;) I'll be working on the refactoring a bit to see what can be done. I'll keep you posted on this. |
Use the
base_restart
functionality ofaiida-core v1.1.0
to overcome common technical problems and common problems with the input that can be fixed easily and automatically.A collection of the necessary 'expert knowledge' can be found here:
https://iffmd.fz-juelich.de/dRKTeQwmS8uThlwkUJowyw?view
The text was updated successfully, but these errors were encountered: