Freigeben über


JobStatus enumeration

Defines the job status constants.

Syntax

typedef enum  { 
  JobStatus_NotSubmitted  = 0,
  JobStatus_Queued        = 1,
  JobStatus_Running       = 2,
  JobStatus_Finished      = 3,
  JobStatus_Failed        = 4,
  JobStatus_Cancelled     = 5
} JobStatus;

Constants

  • JobStatus_NotSubmitted
    The job was added to the cluster but not to the scheduling queue. The application called the ICluster::AddJob or ICluster::AddJobs method to add the job to the cluster.

  • JobStatus_Queued
    The job was added to the scheduling queue. The application called the ICluster::SubmitJob, ICluster::SubmitJobs, ICluster::QueueJob, or ICluster::QueueJobs method to add the job to the scheduling queue.

  • JobStatus_Running
    The job is running.

  • JobStatus_Finished
    The job successfully finished (all the tasks in the job finished successfully).

  • JobStatus_Failed
    One or more of the tasks in the job failed or a system error occurred on the compute node. To get a description of the error, call the IJob::get_ErrorMessage method.

  • JobStatus_Cancelled
    The job was canceled by the application. The application called the ICluster::CancelJob or ICluster:: CancelJobs method to cancel the job. If the caller provided the reason for canceling the job, then the IJob::get_ErrorMessage method will contain that reason.

Requirements

Product

Compute Cluster Pack Client Utilities

Type library

Ccpapi.tlb

See also

CCP Enumerations

ICluster::ListJobs

IJob::get_Status