Orion Poplawski <[email protected]> writes:

>> Slight quirk.  At least in 6.2u3 SGE_STARTER_SHELL_PATH doesn't always
>> get set when invoked via  qrshd and sometimes parallel code expects
>> what it passes to qrsh to be interpreted by a shell.  If
>> SGE_STARTER_SHELL_PATH isn't set invoking /bin/sh -c "$*" or
>> equivalent should DTRT.

"$@", not "$*"?  I don't think that is always right, but I don't
remember details of this.

(See <https://arc.liv.ac.uk/trac/SGE/ticket/1378>.)

> Interesting.  I'll go with adding this then before:
>
> # Apparently SGE_STARTER_SHELL_PATH doesn't always get set with qrshd
> [ -z "$SGE_STARTER_SHELL_PATH" ] && SGE_STARTER_SHELL_PATH=$SHELL

I was serious about builtin_starter being the example of a general
starter method!

-- 
Community Grid Engine:  http://arc.liv.ac.uk/SGE/
_______________________________________________
users mailing list
[email protected]
https://gridengine.org/mailman/listinfo/users

Reply via email to