How to QLOGIN to a node that shared a specific job-id

neversaint picture neversaint · Jul 3, 2013 · Viewed 8.7k times · Source

I have an existing qlogin job like this:

job-ID  prior   name       user   state submit/start at     queue        
-------------------------------------------------------------------------
3530770 0.50500 QLOGIN  jlsmith   r     10/15/2012 14:02:07 [email protected]

The above job was submitted using standard qlogin command in linux:

 $ qlogin 

What I want to do is to perform another qlogin so that the process are running in the same node with the above Job-ID 3530770.

The idea is that if it's done correctly in top command I can see the same running process submitted to the above job-ID.

Is there a way to do it?

Answer

William Hay picture William Hay · Oct 29, 2013

Either

qlogin -l h=compute-0-29.local

or

qlogin -q "*@compute-0-29.local"

Should do the job