cloudmesh_client.cloud.hpc.provider.slurm package

Submodules

cloudmesh_client.cloud.hpc.provider.slurm.BatchProviderSLURM module

class cloudmesh_client.cloud.hpc.provider.slurm.BatchProviderSLURM.BatchProviderSLURM[source]

Bases: cloudmesh_client.cloud.hpc.BatchProviderBase.BatchProviderBase

classmethod add_db(**kwargs)[source]
cm = <cloudmesh_client.db.CloudmeshDatabase.CloudmeshDatabase object>
classmethod delete(cluster, job, group=None)[source]

This method is used to terminate a job with the specified or a group of jobs job_id or job_name in a given cluster :param group: :param cluster: the cluster like comet :param job: the job id or name :return: success message or error

classmethod info(cluster, format='json', all=False)[source]
kind = 'slurm'
classmethod queue(cluster, format='json', job=None)[source]
classmethod run(cluster, group, cmd, **kwargs)[source]
classmethod test(cluster, time)[source]

cloudmesh_client.cloud.hpc.provider.slurm.squeue module

class cloudmesh_client.cloud.hpc.provider.slurm.squeue.Squeue[source]

Bases: object

static get(user=None, name=None)[source]
static read_squeue()[source]
static squeue_to_json(input_str)[source]

Module contents