SelectScheduler

Select the scheduler used for batch job submission. It tries non-graphical selection of the scheduler, attempting to get version information from the scheduler in order to check for successful selection, and if unable to get the information, it then displays the Select Scheduler dialog box, waiting for you to complete the settings.

UI Access Select Scheduler
Parameters
Name Type Description
option: String for the scheduler to select. (Not case sensitive.) string

blank for remote RSM service

"RSM" for local RSM

"Windows HPC" for Windows HPC

"LSF" for Load-Sharing Facility

"SGE" for Grid Engine (GE, OGE, SGE, UGE, etc.)

"PBS" for Portable Batch Scheduler/System (PBSPro, Torque, Maui, etc.)

address (optional) string String specifying the IP address or hostname of the head node (e.g. for Windows HPC), or for the remote host running the RSM service.
username (optional) string Username string to use for remote RSM service (or blank to use username stored in current submission host user settings). If the (non-blank) username doesn't match the username stored in current submission host user settings, then the Select Scheduler dialog is displayed to allow for password entry prior to job submission.
forcePasswordEntry (optional) string Boolean used to force display of the Select Scheduler GUI to allow for password entry prior to job submission.
Return Value The selected scheduler (if selection was successful, this string should match the input option string, although it could differ in upper/lowercase).

 

Python Syntax Select Scheduler(option, address, username, forcePasswordEntry)
Python Example

result = oDesktop.SelectScheduler("Windows HPC",

"headnode.win.example.com")