Skip to content

Conversation

@shokrof
Copy link

@shokrof shokrof commented Oct 20, 2022

# force clean it up after job script ends
function cleanup() { rm -rf $MYTMP; }
trap cleanup EXIT
trap cleanup USR1
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
trap cleanup USR1
trap cleanup USR1 # trap slurm-specific "out of time" and other kill signals

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants