[GE users] How to set default env vars in SGE?

templedf dan.templeton at sun.com
Tue Feb 3 19:08:01 GMT 2009


Put it in a custom starter script.  See starter_method in the 
queue_conf(5) man page.

Daniel

mhanby wrote:
> Howdy,
>
> We are trying to get our users to use the 'module load <module-name>'
> system of configuring their environment within their job scripts.
>
> In an effort to make this easier on them, is there a way for me to
> configure SGE (6.1) so that all user jobs automatically source the
> module env script:
>
> /etc/profile.d/modules.csh
> or for bash
> /etc/profile.d/modules.sh
>
> These files exist on all of the compute nodes and the SGE server.
> Currently, I have instructed them to source the shell relevant modules
> file in their job script, however most forget and end up with errors
> stating that module isn't a valid command.
>
> Thanks for any insight.
>
> Mike
>
> ------------------------------------------------------
> http://gridengine.sunsource.net/ds/viewMessage.do?dsForumId=38&dsMessageId=101740
>
> To unsubscribe from this discussion, e-mail: [users-unsubscribe at gridengine.sunsource.net].
>

------------------------------------------------------
http://gridengine.sunsource.net/ds/viewMessage.do?dsForumId=38&dsMessageId=101742

To unsubscribe from this discussion, e-mail: [users-unsubscribe at gridengine.sunsource.net].



More information about the gridengine-users mailing list