- edited description
- changed status to open
sim login ignores envsetup
Issue #977
wontfix
"sim login" should (somehow) execute the envsetup commands.
Keyword:
Comments (2)
-
-
- changed status to wontfix
"sim login" behaves in a way that is consistent with a bare ssh command (ssh hostname). Having it execute envsetup would change this and also make it harder to correctly run the other commands that then must no longer execute envsetup again.
- Log in to comment
I do not think having sim login execute
envsetup
is going to work very nicely. Either simfactory has to keep track of the fact that it already executedenvsetup
(eg by setting an env variableSIMFACTORY_ENVSETUP_DONE
or so) and skip it during egbuild
or there is a risk of runningenvsetup
twice which is not guaranteed to work (since the module system on many clusters is not very well done).It also means that
sim login foo
presents the user with a different environment setting than a regularssh foo
does which would seem to be equally confusing.If one wants to be in the same environment that Cactus' make finds itself in, then a
sim execute "bash -i"
does that.