Whitcomb, Mr. Tim
unread,Jan 31, 2019, 3:53:48 PM1/31/19Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to cy...@googlegroups.com
We are making heavier use of the $CYLC_TASK_WORK_DIR and $CYLC_SUITE_SHARE_DIR directories that are automatically created by Cylc for tasks running within the suite, eliminating the need for a lot of tasks to manage their own work directories and simplifying the storage layout for where things go.
As it stands now, we have then two levels of a storage hierarchy for jobs:
1. task work dir and suite share dir, both on a parallel filesystem - assumed that things can be cleaned, scrubbed, etc. - this is more of a "scratch" space. Persists beyond a single task execution.
2. external archival directories for long-term storage (a separate location on the same parallel filesystem or a separate archive server, for example). Persists beyond a single suite execution.
However, for some jobs it's useful to have an additional level in the storage hierarchy:
0. Fast local storage (e.g. on-node ramdisk or SSD), only persists for duration of the task
Questions:
1. Do other sites currently make use of this additional storage level? If so, how is it managed?
2. Is this something that should be configurable at a Cylc level? Maybe something like:
a) $CYLC_TASK_TEMP_DIR defined as an alias for $CYLC_TASK_WORK DIR by default
b) if, in the task, a "temp directory" entry is set, it's sent to the task via $CYLC_TASK_TEMP_DIR
c) optionally, $CYLC_TASK_TEMP_DIR is cleaned up on job success (similar to the way that $CYLC_TASK_WORK_DIR is, but more aggressive than "rmdir")
3. Is this a use case for an "always run this at the end of the task, be it succeed or fail" as opposed to duplicating something in exit-script and err-script?
I hope this is clear - I'm trying to synthesize several sets of notes from different discussions.
Tim