martius-lab / cluster_utils

https://cluster-utils.readthedocs.io/stable/
Other
12 stars 0 forks source link

Consider non-zero return codes as failure #97

Closed luator closed 6 months ago

luator commented 6 months ago

Instead of just checking $rc == 1 consider all non-zero return codes (except the magic RETURN_CODE_FOR_RESUME code) as failure.

This fixes #87 and #42.

Do not merge before

How I Tested

By running examples on Slurm, Condor and locally