-
Notifications
You must be signed in to change notification settings - Fork 94
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
Allow suites to override the run directory location? #390
Comments
The more I think about this the (even) less it seems worth doing. Having to parse a suite definition to find the output location is not good. For example, dependence between suites: if the upstream suite is being edited it may not parse, thus breaking the downstream suite even though the upstream suite is still running fine. One way around this would be to parse the suite definition at registration time, and to store certain parameters like output locations along with the suite name registration. But this is not ideal, the registration db could get out sync with the suite if not updated quickly after suite changes. There is no server process watching for changes in registered suites, but I suppose we could have the registration db access code do a time stamp comparison every time a suite is accessed by a cylc command, and reparse if necessary to update itself (but again, same problem if the suite is currently broken due to editing in progress). |
Hi Hilary, Means something like (just a sketch): /etc where the suite.def can be as well in etc/. The suite itself does not need to know much of this. That it does for the time being is just the try to transfer the existing setup one-to-one, which isn't a good idea anyway. |
@m214089 - question sent via email regarding your comment above. |
Closing this. No one can think of a good reason to not use the standard locations, especially after #1885, when data directories can be redirected with symlinks as required. |
I have one user who wants to be able to put all suite and job logs, and share and work directories etc. inside his suite definition directories. This used to be possible pre site/user config file when all these directories were individually configurable in runtime namespaces. Personally I'm not fond of the idea, but I'm posting this to flag it for consideration... It could be achieved in several ways, e.g.:
Implications for other task hosts would have to be thought through. And: non-suite access to the suite would require parsing the suite definition again.
Low priority at best as users can use symbolic links in the suite definition directory to get essentially the same effect now.
The text was updated successfully, but these errors were encountered: