jade.hpc.hpc_submitter.HpcStatusCollector

class jade.hpc.hpc_submitter.HpcStatusCollector(hpc_mgr, poll_interval)[source]

Bases: object

Collects status for all user jobs.

Methods

check_status(job_id)

Return the status for job_id.

get_statuses()

Return outstanding statuses

check_status(job_id)[source]

Return the status for job_id.

Parameters:

job_id (str)

Return type:

HpcJobStatus

Raises:

ExecutionError – Raised if statuses cannot be retrieved.

get_statuses()[source]

Return outstanding statuses

Returns:

list of HpcJobStatus

Return type:

list