Opened 10 years ago

Last modified 9 years ago

#732 new enhancement

IZ3159: Array jobs: allow multiple ranges, correct delimiter handling

Reported by: reuti Owned by:
Priority: normal Milestone:
Component: sge Version: 6.2u3
Severity: Keywords: Macintosh clients
Cc:

Description

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

        Issue #:      3159             Platform:     Macintosh     Reporter: reuti (reuti)
       Component:     gridengine          OS:        All
     Subcomponent:    clients          Version:      6.2u3            CC:    None defined
        Status:       NEW              Priority:     P3
      Resolution:                     Issue type:    ENHANCEMENT
                                   Target milestone: ---
      Assigned to:    roland (roland)
      QA Contact:     roland
          URL:
       * Summary:     Array jobs: allow multiple ranges, correct delimiter handling
   Status whiteboard:
      Attachments:

     Issue 3159 blocks:
   Votes for issue 3159:


   Opened: Wed Oct 7 05:17:00 -0700 2009 
------------------------


The notation of arrays jobs for the -t option in qsub could be extended to allow multiple ranges (i.e. this will also allow a list of single values):

qsub -t 1-5,12,17,100-200:2 job.sh

will run 1 to 5, then 12 and 17, and 100, 102, ..., 198, 200

==

For now anything can be a delimiter when a range is specified:

$ qsub -t 1#3 test.sh
Your job-array 1891.1-3:1 ("test.sh") has been submitted

This should generate an error because of the # being used as a delimiter. In fact: it's seems to allow any character which is not a digit.

Change History (0)

Note: See TracTickets for help on using tickets.