Open janssenhenning opened 3 years ago
I think this is a nice idea, however in my opinion the concept is not general enough. In case of a more complex WorkChain, which consists of several steps, there are might be several output nodes that can be used to continue it. Let us assume that a WorkChain consists of 3 steps: 1 → 2 → 3 → output and the step 2 failed. One came up with a way to fix it and wants to resubmit the WorkChain starting from the step 2 using outputs of the step 1. In this case one has to gather corresponding nodes by hand (like you do with old charge density). Having an automatic function gathering corresponding outputs for each of the steps of all the WorkChains would help a lot for beginner users.
The
FleurSCFWorkChain
has these outputs at the momentMaking the process of restarting a calculation from the converged charge density relatively verbose
Either
or something similar
I think we can make this easier by making more use of the
expose_outputs
functionality in aiida where appropriateSo my proposal for the SCF workchain would be
@Tseplyaev @broeder-j Is there any downside to this approach that I overlooked?