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

share/cycle/<cycle> directory #6098

Open
oliver-sanders opened this issue May 13, 2024 · 0 comments · May be fixed by #6117
Open

share/cycle/<cycle> directory #6098

oliver-sanders opened this issue May 13, 2024 · 0 comments · May be fixed by #6117
Assignees
Labels
Milestone

Comments

@oliver-sanders
Copy link
Member

Add a per-cycle share directory to Cylc.

Rose can create share/cycle/<cycle> directories which tasks can utilise via $ROSE_DATAC. This should really be Cylc functionality not Rose. Building this into Cylc would make it less confusing, more "standard" (i.e. always available) and more useful (i.e. doesn't depend on eval $(rose task-env) or Rose in general).

Proposal:

  • Create share/cycle/<cycle> in the job.sh script.
  • Export a $CYLC_SHARE_CYCLE_DIR environment variable (or similar).
  • Do not attempt to implement the rose task-env --offset functionality for creating cycle offsets (document using isodatetime to do this).
@oliver-sanders oliver-sanders added this to the some-day milestone May 13, 2024
@wxtim wxtim self-assigned this May 31, 2024
@wxtim wxtim linked a pull request May 31, 2024 that will close this issue
8 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants