IMLCV.configs package#
Submodules#
IMLCV.configs.bash_app_python module#
IMLCV.configs.config_general module#
IMLCV.configs.hpc_ugent module#
- class IMLCV.configs.hpc_ugent.SlurmProviderVSC(cluster=None, **kwargs)[source]#
Bases:
SlurmProviderSpecifies cluster and partition for sbatch, scancel, and squeue
- cancel(job_ids)[source]#
Cancels the jobs specified by a list of job ids Args: job_ids : [<job_id> …] Returns : [True/False…] : If the cancel operation fails the entire list will be False.
- 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.config(env=None, singlepoint_nodes=16, walltime='48:00:00', bootstrap=False, memory_per_core=None, min_memery_per_node=None, path_internal=None, cpu_cluster=None, gpu_cluster=None, py_env=None)[source]#
- IMLCV.configs.hpc_ugent.get_slurm_provider(env, label, path_internal, cpu_cluster, gpu_cluster=None, account=None, channel=LocalChannel(envs={}, script_dir=None, userhome='/home/docs/checkouts/readthedocs.org/user_builds/imlcv/checkouts/stable/docs'), gpu=False, cores=None, open_mp_threads_per_core=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=True, wq_timeout=120, gpu_part='gpu_rome_a100', cpu_part='cpu_rome', py_env=None)[source]#