On 4/24/2017 10:11 PM, John_Tai wrote:
So when using qsub this works fine:

# qsub -V -b y -cwd -now n -j y -q test.q env

[snip]

However with qrsh it just doesn't show the correct current path. I've tried 
with both unix_behaviour and posix_compliant. Is this not possible with qrsh?

I think what Reuti said here is the key:

It might also be the case, that something is set by /etc/profile or 
/etc/profile.local which is not available on the exechosts.

More generally:  shell initialization is likely overriding the path.

A method that has worked well for my and my EDA customers is to add these arguments to qsub:

-shell n

Haven't tried it with qrsh, but for qsub with homogenous grids where you just want to propagate the submit environment unchanged, it works like a champ.

--
Bob Craycroft -- bob_craycr...@andromedaanalog.com
www.AndromedaAnalog.com
_______________________________________________
users mailing list
users@gridengine.org
https://gridengine.org/mailman/listinfo/users

Reply via email to