Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
doku:epilog [2014/06/03 12:44] – [How to use] ir | doku:epilog [2021/05/13 17:45] (current) – removed goldenberg | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== User-specified epilog scripts ====== | ||
- | ===== Synopsis: ===== | ||
- | After job termination, | ||
- | This enables **copying back node-local temporary data (/ | ||
- | ===== How to use ===== | ||
- | A bash script called **" | ||
- | < | ||
- | or when submitting the job: | ||
- | < | ||
- | **Note***: | ||
- | It is absolutely required that **only the minimum necessary work is done in an epilog script**. | ||
- | Long-running tasks in an epilog file will not be tolerated! There is a timeout to prevent buggy epilog scripts from running forever. | ||
- | ==== Example epilog.sh script ==== | ||
- | < | ||
- | TMP_DIR="/ | ||
- | |||
- | cp -r $TMP_DIR ${SGE_O_WORKDIR}</ |