Thanks Rayson, it works!!
The problem was that we had to add "bash" to the list of login shells in the global configuration.

Regards


El 14/05/12 14:05, Rayson Ho escribió:
See login_shells in sge_conf(5):

      Shells in this  list
      are   only   started   as  login  shells  if  the  parameter
      shell_start_mode (see above) is set to posix_compliant.

http://gridscheduler.sourceforge.net/htmlman/htmlman5/sge_conf.html

I believe you will need to configure bash as a login shell and then
follow the instructions above. However, you should try it yourself on
your system and see if invoking bash as a login shell makes a
difference in sourcing the file or not before you even change it in
Grid Engine.

Rayson


On Mon, May 14, 2012 at 7:57 AM, 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

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


--
Arturo Giner Gracia
HPC research group System Administrator
Instituto de Biocomputación y Física de Sistemas Complejos (BIFI)
Universidad de Zaragoza
e-mail: [email protected]
phone: (+34) 976762992

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

Reply via email to