IMLCV.configs.hpc_ugent#
Module Contents#
Classes#
Specifies cluster and partition for sbatch, scancel, and squeue |
Functions#
|
|
|
Attributes#
- class IMLCV.configs.hpc_ugent.SlurmProviderVSC(cluster=None, **kwargs)[source]#
Bases:
parsl.providers.slurm.slurm.SlurmProviderSpecifies cluster and partition for sbatch, scancel, and squeue
- submit(command, tasks_per_node, job_name='parsl.slurm')[source]#
Submit the command as a slurm job.
This function differs in its parent in the self.execute_wait() call, in which the slurm partition is explicitly passed as a command line argument as this is necessary for some SLURM-configered systems (notably, Belgium’s HPC infrastructure). In addition, the way in which the job_id is extracted from the returned log after submission is slightly modified, again to account for the specific cluster configuration of HPCs in Belgium.
- IMLCV.configs.hpc_ugent.get_slurm_provider(env, label, path_internal: Path | str, cpu_cluster, gpu_cluster=None, account=None, channel=LocalChannel(), gpu=False, cores=None, open_mp_threads_per_core: int | None = None, parsl_cores=False, mem=None, memory_per_core=None, walltime='48:00:00', init_blocks=1, min_blocks=1, max_blocks=1, parallelism=1, use_work_queue: bool = True, wq_timeout: int = 120, gpu_part='gpu_rome_a100', cpu_part='cpu_rome', py_env=None)[source]#