Opened 14 years ago

Last modified 9 years ago

#278 new defect

IZ1824: strange job structure parsing

Reported by: roland Owned by:
Priority: normal Milestone:
Component: sge Version: 6.0u6
Severity: Keywords: Sun qmaster
Cc:

Description

[Imported from gridengine issuezilla http://gridengine.sunsource.net/issues/show_bug.cgi?id=1824]

        Issue #:      1824             Platform:     Sun      Reporter: roland (roland)
       Component:     gridengine          OS:        All
     Subcomponent:    qmaster          Version:      6.0u6       CC:    None defined
        Status:       NEW              Priority:     P3
      Resolution:                     Issue type:    DEFECT
                                   Target milestone: ---
      Assigned to:    ernst (ernst)
      QA Contact:     ernst
          URL:
       * Summary:     strange job structure parsing
   Status whiteboard:
      Attachments:

     Issue 1824 blocks:
   Votes for issue 1824:


   Opened: Thu Oct 6 00:31:00 -0700 2005 
------------------------


It seems the qmaster has some intelligent code and tries to optimize the job
structure for array tasks. This leads to other job ranges than used on the
commandline and can confuse customers.

Example:
qsub -t 1-100 $SGE_ROOT/examples/jobs/sleeper.sh
qalter -h 10 <jobid>
qalter -h 20-100 <jobid>
results in:
JB_ja_u_h_ids        (List)      = full {

   List: <task_id_range> * #Elements: 2
   -------------------------------
   RN_min               (Ulong)     = 10
   RN_max               (Ulong)     = 20
   RN_step              (Ulong)     = 10
   -------------------------------
   RN_min               (Ulong)     = 21
   RN_max               (Ulong)     = 100
   RN_step              (Ulong)     = 1
}

qstat outputs:
    198 0.55500 Sleeper    rd141302     hqw   09/28/2005 10:14:09
                     1 10,20,21-100:1

Change History (0)

Note: See TracTickets for help on using tickets.