[torqueusers] qpeek on array job

David Beer dbeer at adaptivecomputing.com
Fri Sep 16 13:32:31 MDT 2011



----- Original Message -----
> On Thu, 2011-09-15 at 16:13 +0200, Rainer M Krug wrote:
> > I am trying to use qpeek to monitor an array job, but I can't
> > figure out
> > how to do it. Could anybody advise?
> > 
> > qsub -t 1-10 someScript.sub
> > 
> > something like:
> > 
> > 689903[].head started
> > 
> > How can I use qpeek?
> > 
> > The following does not work:
> > 
> > rkrug at head002:~> qpeek 689903[1]
> > qstat: Unknown Job Id 689903[1].head002.sun.ac.za
> > Job 689903[1] is not running!
> > rkrug at head002:~> qpeek 689903
> > qstat: Unknown Job Id 689903.head002.sun.ac.za
> > Job 689903 is not running!
> > rkrug at head002:~> qpeek 689903-1
> > qstat: illegally formed job identifier: 689903-1
> > Job 689903-1 is not running!
> > rkrug at head002:~> qpeek 689903[]
> > cat: /var/spool/torque/spool/689903[].head002.sun.ac.za.OU: No such
> > file
> > or directory
> > rkrug at head002:~>
> 
> Try 689903-1 rather than 689903[1], as the former is how the job is
> actually named from TORQUE's PoV.
> 
> BTW, qpeek predates TORQUE's support for job arrays, so it really
> doesn't know anything about them.  If you come up with a patch to
> make
> this work, please send it to me.
> 

I second that for qpeek - send it to me and I'll fix it in TORQUE.

-- 
David Beer 
Direct Line: 801-717-3386 | Fax: 801-717-3738
     Adaptive Computing
     1656 S. East Bay Blvd. Suite #300
     Provo, UT 84606



More information about the torqueusers mailing list