Re: [gridengine users] Fwd: Request: JOB_ID, QUEUE, etc. variables in a QLOGIN session

2018-12-12 Thread Gowtham
It works! THANK YOU!! The modified code snippet to make it work within the Rocks Cluster Distribution is as follows: ### # Reuti / Grid Engine Mailing List # Wed, 12 Dec 2018 13:13:37 -0500 MYPARENT=$(ps -p $$ -o ppid --no-header) MYSTARTUP=$(ps -p ${MYPARENT} -o

Re: [gridengine users] Fwd: Request: JOB_ID, QUEUE, etc. variables in a QLOGIN session

2018-12-12 Thread Gowtham
Thank you! I'll try this out and let you know how it goes :) Best regards, Gowtham -- Gowtham, PhD Director of Research Computing, IT Research Associate Professor, ECE Michigan Technological University P: (906) 487-4096 F: (906) 487-2787 https://it.mtu.edu https://hpc.mtu.edu On Wed, Dec 12,

Re: [gridengine users] Fwd: Request: JOB_ID, QUEUE, etc. variables in a QLOGIN session

2018-12-12 Thread Reuti
Hi, > Am 12.12.2018 um 17:50 schrieb Gowtham : > > Greetings. > > I am wondering if there's a way to access JOB_ID, QUEUE and other such SGE > variables from within a QLOGIN session. For example, > • I type 'qlogin' and gain access to one of the compute nodes. > • Running 'qstat

[gridengine users] Fwd: Request: JOB_ID, QUEUE, etc. variables in a QLOGIN session

2018-12-12 Thread Gowtham
Greetings. I am wondering if there's a way to access JOB_ID, QUEUE and other such SGE variables from within a QLOGIN session. For example, 1. I type 'qlogin' and gain access to one of the compute nodes. 2. Running 'qstat -u ${USER}' lists this QLOGIN session with a 'job-ID' 3. The