[torqueusers] How can we cancel a job array with qdel of torque4.1.0?

Go Yoshimura go-yoshimura at sstc.co.jp
Wed Aug 8 00:47:40 MDT 2012


Hello,

My name is Go Yoshimura.
I am new to torque4.1.0.
I have experience using old torque(torque2.3 or torque2.4).
- My question is about canceling a job array.
  I can not cancel jobs in a job array with qdel -t array_range job_identifier with errors like
    qdel: Unauthorized Request  MSG=must have operator or manager privilege to use -m parameter 79.torque02
  How can we cancel jobs in a job array with qdel? 
- I can not cancel jobs in a job array with qdel -t even via root user.
  I don't get any error messages but no jobs are canceled.
- I can cancel a specific job in a job array like
   qdel 79[8]
- I can cancel all jobs like
    qdel all  
  
thank you
go
----

((job array))
[test01 at torque02 torque-4.1.0]$ qstat --version
version: 4.1.0

[test01 at torque02 ~]$ qsub -t 1-8 cilk.qsub
79[].torque02

test01 at torque02 ~]$ qstat -Q
Queue              Max    Tot   Ena   Str   Que   Run   Hld   Wat   Trn   Ext T   Cpt
----------------   ---   ----    --    --   ---   ---   ---   ---   ---   --- -   ---
batch                0      8   yes   yes     7     1     0     0     0     0 E     0
[test01 at torque02 ~]$ qstat -t -a

torque02: 
                                                                         Req'd  Req'd   Elap
Job ID               Username    Queue    Jobname          SessID NDS   TSK    Memory Time  S Time
-------------------- ----------- -------- ---------------- ------ ----- ------ ------ ----- - -----
79[1].torque02       test01      batch    CILK-1            32606     1      8    --    --  C 00:00
79[2].torque02       test01      batch    CILK-2            32710     1      8    --    --  R   -- 
79[3].torque02       test01      batch    CILK-3              --      1      8    --    --  Q   -- 
79[4].torque02       test01      batch    CILK-4              --      1      8    --    --  Q   -- 
79[5].torque02       test01      batch    CILK-5              --      1      8    --    --  Q   -- 
79[6].torque02       test01      batch    CILK-6              --      1      8    --    --  Q   -- 
79[7].torque02       test01      batch    CILK-7              --      1      8    --    --  Q   -- 
79[8].torque02       test01      batch    CILK-8              --      1      8    --    --  Q   -- 
[test01 at torque02 ~]$ qdel 79[8]
[test01 at torque02 ~]$ qstat -t -a

torque02: 
                                                                         Req'd  Req'd   Elap
Job ID               Username    Queue    Jobname          SessID NDS   TSK    Memory Time  S Time
-------------------- ----------- -------- ---------------- ------ ----- ------ ------ ----- - -----
79[1].torque02       test01      batch    CILK-1            32606     1      8    --    --  C 00:00
79[2].torque02       test01      batch    CILK-2            32710     1      8    --    --  C 00:00
79[3].torque02       test01      batch    CILK-3              317     1      8    --    --  R   -- 
79[4].torque02       test01      batch    CILK-4              --      1      8    --    --  Q   -- 
79[5].torque02       test01      batch    CILK-5              --      1      8    --    --  Q   -- 
79[6].torque02       test01      batch    CILK-6              --      1      8    --    --  Q   -- 
79[7].torque02       test01      batch    CILK-7              --      1      8    --    --  Q   -- 
79[8].torque02       test01      batch    CILK-8              --      1      8    --    --  C   -- 
[test01 at torque02 ~]$ qdel 79 -t 6-7 
qdel: Unauthorized Request  MSG=must have operator or manager privilege to use -m parameter 79.torque02



((cancel job array by root user))
[root at torque02 ~]# qstat -a -t

torque02: 
                                                                         Req'd  Req'd   Elap
Job ID               Username    Queue    Jobname          SessID NDS   TSK    Memory Time  S Time
-------------------- ----------- -------- ---------------- ------ ----- ------ ------ ----- - -----
80[1].torque02       test01      batch    CILK-1             2257     1      8    --    --  C 00:00
80[2].torque02       test01      batch    CILK-2             2332     1      8    --    --  R   -- 
80[3].torque02       test01      batch    CILK-3              --      1      8    --    --  Q   -- 
80[4].torque02       test01      batch    CILK-4              --      1      8    --    --  Q   -- 
80[5].torque02       test01      batch    CILK-5              --      1      8    --    --  Q   -- 
80[6].torque02       test01      batch    CILK-6              --      1      8    --    --  Q   -- 
80[7].torque02       test01      batch    CILK-7              --      1      8    --    --  Q   -- 
80[8].torque02       test01      batch    CILK-8              --      1      8    --    --  Q   -- 
[root at torque02 ~]# qdel -t 4-8 80 
[root at torque02 ~]# qstat -a -t

torque02: 
                                                                         Req'd  Req'd   Elap
Job ID               Username    Queue    Jobname          SessID NDS   TSK    Memory Time  S Time
-------------------- ----------- -------- ---------------- ------ ----- ------ ------ ----- - -----
80[1].torque02       test01      batch    CILK-1             2257     1      8    --    --  C 00:00
80[2].torque02       test01      batch    CILK-2             2332     1      8    --    --  C 00:00
80[3].torque02       test01      batch    CILK-3              --      1      8    --    --  Q   -- 
80[4].torque02       test01      batch    CILK-4              --      1      8    --    --  Q   -- 
80[5].torque02       test01      batch    CILK-5              --      1      8    --    --  Q   -- 
80[6].torque02       test01      batch    CILK-6              --      1      8    --    --  Q   -- 
80[7].torque02       test01      batch    CILK-7              --      1      8    --    --  Q   -- 
80[8].torque02       test01      batch    CILK-8              --      1      8    --    --  Q   -- 

----
Go Yoshimura <go-yoshimura at sstc.co.jp>
Scalable Systems Co., Ltd.  <http://www.sstc.co.jp/>
Osaka Office            HONMACHI-COLLABO Bldg. 4F, 4-4-2 Kita-kyuhoji-machi, Chuo-ku, Osaka 541-0057 Japan
              Tel: 81-6-6224-4115
Tokyo Kojimachi Office  BUREX Kojimachi 11F, 3-5-2 Kojimachi, Chiyoda-ku, Tokyo 102-0083 Japan 
              Tel: 81-3-5875-4718 Fax: 81-3-3237-7612              



More information about the torqueusers mailing list