-
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
job environment init #3376
Comments
@matthewrmshin - I need to scrape your brain on this in your final week! My thoughts: In terms of functionality both Do we need both? Can we get rid of |
(We haven't had to use either of these at NIWA, and I'm unsure of what you might be using for cylc-7 site environment config at Met Office ... if more than just login scripts). |
After #2438 (which gives our job scripts We are still trying to determine how this will work in the world of Conda. |
Right, so job scripts always use a login shell now (I had forgotten that 😬 ). Looking back at 7.8.x we still support a global I think to close this issue I should either:
@matthewrmshin - do you have an opinion on this based on Met Office use of cylc-7? Your comment above suggests you don't use |
No, we don't use I'll vote for a full removal of the old ecosystem, and instead focus on how to do this in the world of Conda environment, etc. |
All suite-running functional tests are now failing in my Python venv cylc-flow environment. Pretty sure they used to work, and I'm not sure what I've change d recently, but the problem is that suite jobs in the test battery (as executed by
./etc/bin/run-functional-tests.sh
) do not have access to the venv cylc library (if I just run a suite from within the venv, jobs do work). So:I tried using a
flow-tests.rc
to configure to activate then environmentI (and our docs) are confused about
global init-script
andjob-init-env.sh
for Cylc 8User Guide
The only references to
job-init-env.sh
are:The
global init-script
item is also mentioned, just once (in the global config reference):Under suite config reference, for
init-script
it says:(where the ref suggests use
job-init-env.sh
as above)cylc-flow code
The only reference to
job-init-env.sh
is inetc/job.sh
:Clearly only a user
job-init-env.sh
is sourced here (no site one), just beforeglobal init-script
. And what's that back-compat comment: does it imply job-init-env itself is only retained here for back compat with cylc-7, or does the comment just need to be deleted because it refers to some now-deleted back-compat code.The text was updated successfully, but these errors were encountered: