[GE users] path in qsub

Ron Chen ron_chen_123 at yahoo.com
Wed May 26 02:03:34 BST 2004


- "/etc/profile.d not sourced" may be related to your
shell start mode.

- "/tmp/1066.1.compute-1-15.q" is set by execd, see 
sge_get_tmpdir() in tmpdir.c, and it is called in
sge_exec_job() in exec_job.c:

add_or_replace_env(environmentList, "PATH", buffer)

I haven't tried that myself, but if you replace the
line above that with:

sprintf(buffer,"/usr/local/bin:/usr/ucb:/bin:/usr/bin:");

I'd assume it will work.

 -Ron

--- Patrice Seyed <apseyed at bu.edu> wrote:
> In qsubing a script that outputs PATH I
> see that the following are
> included:
>
/tmp/1066.1.compute-1-15.q:/usr/local/bin:/usr/ucb:/bin:/usr/bin:
> and that the file in /etc/profile.d are not sourced
> through the qsub
> "session".
> I would definitely want to avoid having to append to
> the PATH on the user
> level. Thanks in advance.
> 
> Regards,
>  
> Patrice Seyed
> Linux System Administrator - SIG
> RHCE, SCSA
> Boston University School of Medicine
> 
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> users-unsubscribe at gridengine.sunsource.net
> For additional commands, e-mail:
> users-help at gridengine.sunsource.net
> 



	
		
__________________________________
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
For additional commands, e-mail: users-help at gridengine.sunsource.net




More information about the gridengine-users mailing list