tomwer.core.settings.SlurmSettings#

class tomwer.core.settings.SlurmSettings#
DEFAULT_WALLTIME = '01:00:00'#
MEMORY_PER_WORKER = 128#

Amount of memory per worker

MODULES_TO_LOAD = ('tomotools/stable',)#
N_CORES_PER_TASK = 4#

Number of CPU per worker

N_GPUS_PER_WORKER = 1#

number of gpu per worker

N_JOBS = 1#

on how many job we want to split the EwoksTask

N_TASKS = 1#

Number of worker

PARTITION = 'gpu'#

Queue / partition to use

PROJECT_NAME = 'tomwer_{scan}_-_{process}_-_{info}'#

Slurm cluster project name. scan, process and info will be format.

PYTHON_VENV = None#

Python executable to take. Useful if compute nodes have a different environment from the front end.

SBATCH_EXTRA_PARAMS = {'export': 'NONE'}#