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

hugo_hernandez hugo.hernandez at loni.ucla.edu
Tue Feb 3 19:10:11 GMT 2009


Hello Mike,
Why not you use the global profiles to source these files: /etc/
login.cshrc or /etc/.profile (if tcsh or bash is used). To source and
define user stuff we usually do this way.
I hope it can help.
-Hugo


On Feb 3, 2009, at 2:01 PM, "mhanby" <mhanby at uab.edu> 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=101744

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



More information about the gridengine-users mailing list