IMLCV.configs package#

Submodules#

IMLCV.configs.bash_app_python module#

IMLCV.configs.bash_app_python.bash_app_python(function=None, executors='all', precommand='')[source]#

IMLCV.configs.config_general module#

IMLCV.configs.config_general.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)[source]#
IMLCV.configs.config_general.get_cp2k()[source]#
IMLCV.configs.config_general.get_platform()[source]#

IMLCV.configs.hpc_ugent module#

class IMLCV.configs.hpc_ugent.SlurmProviderVSC(cluster=None, **kwargs)[source]#

Bases: SlurmProvider

Specifies 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.

Parameters:
  • command (str) – Command to be made on the remote side.

  • tasks_per_node (int) – Command invocations to be launched per node

  • job_name (str) – Name for the job

Returns:

If at capacity, returns None; otherwise, a string identifier for the job

Return type:

None or str

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]#

IMLCV.configs.local_htex module#

IMLCV.configs.local_htex.get_config(path_internal, py_env)[source]#

IMLCV.configs.local_threadpool module#

IMLCV.configs.local_threadpool.get_config(path_internal)[source]#

Module contents#