mstk.scheduler.JobParameter

class mstk.scheduler.JobParameter(queue: str = 'default', n_proc: int = 1, n_gpu: int = 0, n_node: int = 0, exclude: str = '', max_running_hour: int = 24, env_cmd: str = '')

The parameters for submitting a job

queue

The queue to submit the job

Type:

str

n_proc

The number of CPU cores a job can use

Type:

int

n_gpu

The number of GPU cards a job can use

Type:

int

n_node

The number of nodes a job can use

Type:

int

exclude

The nodes to be excluded

Type:

str

max_running_hour

The wall time limit for a job in hours

Type:

int

env_cmd

The commands for setting up the environment before running real calculations

Type:

str

Methods

__init__([queue, n_proc, n_gpu, n_node, ...])

Attributes

env_cmd

exclude

max_running_hour

n_gpu

n_node

n_proc

queue

queue: str = 'default'
n_proc: int = 1
n_gpu: int = 0
n_node: int = 0
exclude: str = ''
max_running_hour: int = 24
env_cmd: str = ''