Opened 10 years ago

Closed 7 years ago

#745 closed enhancement (duplicate)

IZ3188: Scheduling parallel jobs should allow regular patterns in pe names also for new jobs

Reported by: aja Owned by:
Priority: normal Milestone:
Component: sge Version: 6.2
Severity: minor Keywords: Sun scheduling
Cc:

Description

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

        Issue #:      3188             Platform:     Sun           Reporter: aja (aja)
       Component:     gridengine          OS:        All
     Subcomponent:    scheduling       Version:      6.2              CC:    None defined
        Status:       NEW              Priority:     P3
      Resolution:                     Issue type:    ENHANCEMENT
                                   Target milestone: ---
      Assigned to:    andreas (andreas)
      QA Contact:     andreas
          URL:
       * Summary:     Scheduling parallel jobs should allow regular patterns in pe names also for new jobs
   Status whiteboard:
      Attachments:

     Issue 3188 blocks:
   Votes for issue 3188:


   Opened: Fri Nov 20 07:07:00 -0700 2009 
------------------------


You can's submit a new job which requests for parallel environments given by the regular expression.
Example:
# qsub -pe "mpi*[246]" 6 $SGE_ROOT/examples/jobs/sleeper.sh
You will get the following error coming from the qmaster:
"Unable to run job: Brackets ('[') not allowed in objectname."

However with qalter this is allowed.
# qalter -pe "mpi*[246] 6 <job_id>
This command will be successfully executed.

This behavior should be consistent for all clients.

Also with jsv functionality you would be able to accomplish this.

Here is an example of jsv commands which changes the pe_name and slots values:

jsv_on_verify()
{
   jsv_set_param pe_name 'new_pe_name'
   jsv_set_param pe_min "5"
   jsv_set_param pe_max "7"
}

This doesn't work now, but for the consistency qmaster should allow it.

   ------- Additional comments from aja Fri Nov 20 07:47:09 -0700 2009 -------
Changed to Enhancement.

Change History (1)

comment:1 Changed 7 years ago by wish

  • Resolution set to duplicate
  • Severity set to minor
  • Status changed from new to closed

Duplicates 1410 fixed in SoGE 8.1.1

Note: See TracTickets for help on using tickets.