-
-
Notifications
You must be signed in to change notification settings - Fork 28
testing removing double bind #489
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
Conversation
if singularity honors SINGULARITY_BINDMOUNT (at least since 3.0) and we are also directly specifying it,it could be provided twice to lead to the warning message. This change will test this theory for singularity by removing the explicit bind with -B Signed-off-by: vsoch <vsoch@users.noreply.github.com>
Hi @vsoch , I understand you did it to test the hypothesis of the double bind mounting, however... I think that if the sys.admin./user defines It is up to the person defining the Does it make sense to you? |
It should still be respected, the only difference is that it's used by setting an environment variable (instead of the implicit bind - having both let to the double bind as an error). We could reverse that and get rid of the envar and use the explicit bind if that is causing an issue. |
Oh, sorry @vsoch , Right now, though, I have just realised the implementation is with
Have you got any preferences between 1 and 2? I am already working on SHPC today, so I can quickly shoot a PR for the one you prefer. |
I think I like how the envars are easier on the eyes in the template, but you’re right it would overwrite something already set. But if you think the original implementation (with bind) is best I am good with that too. Choose the one you like best. And happy Valentine’s Day! |
All right, so I liked your point on the readability of using the variable, so I attempted to keep it, and use prepend_path/prepend-path , by also specifying the comma delimiter. Unfortunately, this syntax didn't work with neither Lmod or Modules, considering I am using slightly older versions: Lmod 7.6.1 and Modules 3.2.10.6. So I ended up re-adding |
Oh, and happy Valentine's day to you, too! |
if singularity honors SINGULARITY_BINDMOUNT (at least since 3.0) and we are also directly specifying it,it could be provided twice to lead to the warning message. This change will test this theory for singularity by removing the explicit bind with -B
Signed-off-by: vsoch vsoch@users.noreply.github.com