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

FlexpartCosmoCalculation should return non-zero exit codes in case of unsuccessful job termination. #8

Open
yakutovicha opened this issue Jul 14, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@yakutovicha
Copy link
Collaborator

As a workflow developer, I would like to be notified about non-standard terminations of the flex part code. That would be a prerequisite for creating the base restart workflow.

Here are the suggestions from @ayanu on which exit strings should be parsed by the code plugin:

String to search for description category action
ERROR General FLEXPART model error with error message Identified model error parse all lines continuing string back to AiiDA?
Execution terminated General FLEXPART model error with error message Identified model error parse all lines continuing string back to AiiDA?
Execution is terminated General FLEXPART model error with error message Identified model error parse all lines continuing string back to AiiDA?
Could not allocate Model not able to allocate required memory Identified model error parse all lines containing the string to AiiDA?
Sorry General FLEXPART model error with error message Identified model error parse all lines continuing string back to AiiDA?
NOT CONSISTENT Newly read inputs are on a different grid than previous fields Identified model error parse all lines containing string back to AiiDA?
CONGRATULATIONS Model finished without any identified error Model success Indicate success
None of the above Model terminated without meaningful error message Unknown model error parse last 10 lines of stdout

Close the issue when all the mentioned errors are parsed.

@yakutovicha yakutovicha added the enhancement New feature or request label Jul 14, 2022
@yakutovicha yakutovicha self-assigned this Jul 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant