tomwer.gui.cluster.slurm.SlurmSettingsWidget#
- class tomwer.gui.cluster.slurm.SlurmSettingsWidget(parent=None, n_gpu=1, jobLimitation=1)#
Widget used to define Slurm configuration to be used
- WALL_TIME_INVALID_COLOR = <PyQt5.QtGui.QColor object>#
- getConfiguration()#
- Return type:
dict
- getGpuCard()#
- Return type:
str | None
- getMemory()#
- Return type:
int
- getModulesToLoad()#
- Return type:
tuple
- getNCores()#
- Return type:
int
- getNGPU()#
- Return type:
int
- getNJobs()#
- Return type:
int
- getNWorkers()#
- Return type:
int
- getProjectName()#
- getPythonExe()#
- getQueue()#
- Return type:
str
- getSBatchExtraParams()#
- getSlurmClusterConfiguration()#
- getWallTime()#
- setConfiguration(config)#
- Return type:
None
- setConfigurationLevel(level)#
- setMemory(memory)#
- Return type:
None
- setModulesToLoad(modules)#
- setNCores(n)#
- Return type:
None
- setNGPU(n)#
- Return type:
None
- setNJobs(value)#
- setNWorkers(n)#
- Return type:
None
- setProjectName(name)#
- setPythonExe(python_venv)#
- setQueue(text)#
- Return type:
None
- setSBatchExtraParams(params)#
- setWallTime(walltime)#
- sigConfigChanged#
Signal emit when the SlurmSetting changed