[GE users] Environment variables

Ron Chen ron_chen_123 at yahoo.com
Wed Jan 19 08:35:17 GMT 2005


I like this one: $JOB_ID

Actually, there are many variables setup by SGE, you
can submit a job to print all the env. vars.:

==========
#!/bin/sh

env
==========

 -Ron

--- "Wheeler, Dr M.D." <mdw10 at leicester.ac.uk> wrote:
> Is there a way of distinguishing when a user is
> running a job on a node via SGE and when a user is
> simply trying to log in to a node.  Maybe there is
> an environment variable set up or soemthing?  I'd
> like to find a simple way of distinguishing between
> interactive logins and jobs submitted via SGE
> 
> Thanks
> MArtyn
> 
> ----------------------------------------------
> Dr. Martyn D. Wheeler
> Department of Chemistry
> University of Leicester
> University Road
> Leicester, LE1 7RH, UK.
> Tel (office): +44 (0)116 252 3985
> Tel (lab):    +44 (0)116 252 2115
> Fax:          +44 (0)116 252 3789
> Email:        martyn.wheeler at le.ac.uk
> http://www.le.ac.uk/chemistry/staff/mdw10.html
>  
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> users-unsubscribe at gridengine.sunsource.net
> For additional commands, e-mail:
> users-help at gridengine.sunsource.net
> 
> 



		
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - 250MB free storage. Do more. Manage less. 
http://info.mail.yahoo.com/mail_250

---------------------------------------------------------------------
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