[gridengine users] export of environment variables from start_proc_args
w.hay at ucl.ac.uk
Mon Jul 9 08:06:53 UTC 2012
On 6 July 2012 20:10, Mark Dixon <m.c.dixon at leeds.ac.uk> wrote:
> On Fri, 6 Jul 2012, William Hay wrote:
>> That looks lime an OpenMPI bug to me. Possible alternative ugly solution:
>> make " orted" a link to orted (or a script that execs orted). I tend to
>> think of starter_method as being a bit of a swiss-army chainsaw lets you
>> do a lot of things but is potentially very dangerous if you make a
>> mistake so I'd prefer ugliness outside the starter_method to complexity
>> inside it.
> Yup, these things ought to be fixed at source; however, I think that
> leaving the ugly in the critical path will save me time in the long run by
> dealing with new examples of the same problems.
> Fancy a modest wager?
No that would bring the wrath of murphy down on the pair of us.
> Of course, if I was a good citizen, I'd syslog whenever the ugly did
> something and fix whatever triggered it. It turns out that I'm too lazy to
> be a good citizen :)
>> We're using posix_compliant with a default shell of /bin/env to simulate
>> unix_behavior for reasons of backward compatibility. Should be fun.
>> W.Hay Esq ornate grid engine configurations a speciality
> Go on - what's the subtlety you've hit there?
Nothing terribly subtle...yet. It exists so we can use the JSV to force rbash
as the shell in certain special cases while not changing the (unix_)behavior of
the system for regular users. I suspect I may run into some funnies
with it if unusual arguments are passed to starter method since /bin/env isn't
a posix compliant shell.
More information about the users