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

Request for clarification about CYLC variables for SHARE_DIR and WORK_DIR #689

Closed
ColemanTom opened this issue Feb 8, 2024 · 2 comments
Closed
Labels
content Addition or modification of documentation small

Comments

@ColemanTom
Copy link
Contributor

Looking at https://cylc.github.io/cylc-doc/stable/html/reference/job-script-vars/index.html for CYLC_WORKFLOW_SHARE_DIR it says this could be for a task and to see below. I'm not sure what below I should be seeing. There is no other SHARE_DIR variable.

Similarly, for CYLC_WORKFLOW_WORK_DIR it says see below and I assume that means to look at CYLC_TASK_WORK_DIR but it is unclear. Perhaps you could reference the other variable which may be of interest?

@ColemanTom ColemanTom added the content Addition or modification of documentation label Feb 8, 2024
@oliver-sanders oliver-sanders added this to the 8.3.0 milestone Feb 8, 2024
@oliver-sanders oliver-sanders removed this from the 8.3.0 milestone Feb 8, 2024
@oliver-sanders
Copy link
Member

oliver-sanders commented Feb 8, 2024

There's also some missing context about the purpose of these directories.

Rolling this into: #584

@oliver-sanders
Copy link
Member

The CYLC_WORKFLOW_SHARE_DIR is always ~/cylc-run/<workflow-id>/share and the CYLC_WORKFLOW_WORK_DIR is always ~/cylc-run/<workflow-id>/work. I think the (see below) but has probably become dislodged from its original context.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
content Addition or modification of documentation small
Projects
None yet
Development

No branches or pull requests

2 participants