On 14 May 2012 12:57, Arturo <[email protected]> wrote:
> Hi,
>
> I have a problem with my Grid Engine configuration.
> What I want to do is to source the file /etc/profile.local automaticaly
> for all jobs.
> I've configured GE with /bin/bash as the default shell and the
> start_method as unix_behaviour, but the file never gets sourced.
> How could be configured this? I don't know which is exactly the problem,
> but I'm sure this should work.
>
> Regards
> Arturo
You could add -v BASH_ENV=/etc/profile.local to your
$SGE_ROOT/$SGE_CELL/sge_request

This will only work if bash is requested on the #! line.

Other shells respond to other variables or none.

In the alternate do as Rayson said and use posix_compliant mode along with
specifying the shells you expect to use as login shells.

William
_______________________________________________
users mailing list
[email protected]
https://gridengine.org/mailman/listinfo/users

Reply via email to