GetActiveSchedulerInfo

Obtains info for the scheduler active in the Desktop.

Note:

GetActiveSchedulerInfo returns normally if there are no active objects.

UI Access N/A
Parameters None.
Return Value Info for the scheduler that is currently active in the desktop or a remote scheduler. Gets results such as "RSM", "Remote RSM", "Ansys Cloud", "SLURM", "LSF", "PBS", "SGE", "Windows HPC", as well as server info used to select a server. For a local scheduler, the return format resembles '{"Selected Scheduler":"RSM","Scheduler Name":"RSM","Server":""}'. For a remote scheduler, the return format resembles '{"Selected Scheduler":"Remote RSM","Scheduler Name":"SLURM","Server":"<server>"}'

 

Python Syntax GetActiveSchedulerInfo()
Python Example

oSchedulerInfo = oDesktop.GetActiveSchedulerInfo()