SelectScheduler

Selects 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. If unable to get the information, it displays the Select Scheduler window and waits for the user to complete the settings.

UI Access ToolsJob ManagementSelect Scheduler.
Parameters
Name Type Description

<option>

String

One of the following options (not case sensitive):
  • Empty string 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.)
  • "Ansys Cloud" for Ansys Cloud
<address (optional)> String String specifying the IP address or hostname of the head node 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")