-
Notifications
You must be signed in to change notification settings - Fork 29
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
Use touch EXIT
to stop CP2K at walltime end
#51
Comments
Another possibility would be to specify the |
I am not sure, though, if the input plugin can do something while the calculation is running. I am actually pretty sure it can't. @ltalirz do you think it is possible? |
Made an issue upstream: aiidateam/aiida-core#3868. Let's see how this evolves. |
If CP2K provides this functionality, I would definitely go for this route. This is what I do in Quantum ESPRESSO as well and works relatively well. I implement this directly on the I responded to the issue Sasha opened and although the other possibility is in principle possible to be implemented, it is quite challenging I would say. |
Would this also mean that if I'm going to kill a process the base workchain could possibly react to it by first trying to write an |
Not really. The workchain execution is blocked until the child process (the |
CP2K allows for a soft kill, by creating in the running folder an empty file called
EXIT
.This solution con be implemented in the plugin to stop the code.
When using
EXIT
, CP2K stops at the current SCF step (returning a warning as if it did not converge) but printing the standard termination of the program, and therefore allowing for a smoother parsing of the output.The text was updated successfully, but these errors were encountered: