tomwer.gui.cluster.slurm#

Functions

current_login_is_op_account()

Return True if the current login is an operator account (e.g. opdXX or opidXX).

format_gpu_mapping(gpu_name)

Convert a raw GPU name into a mapping with keys 'serial' and 'display'.

get_login()

is_op_account(user)

Determines if the username follows the 'op' account format (e.g. 'opdXX' or 'opidXX').

Classes

SlurmSettingsDialog([parent])

Dialog wrapper containing the Slurm settings window.

SlurmSettingsWidget([parent, n_gpu, ...])

Widget used to define the Slurm configuration settings.

SlurmSettingsWindow([parent])

Main window for defining Slurm settings.