TaskType Enum

Definition

Defines how to run the command for a task.

[System.Runtime.InteropServices.ComVisible(true)]
[System.Runtime.InteropServices.Guid("E0165E48-568A-43bd-BE2D-C2FE864F2C67")]
public enum TaskType
type TaskType = 
Public Enum TaskType
Inheritance
TaskType
Attributes

Fields

Basic 0

Runs a single instance of a serial application or a Message Passing Interface (MPI) application. An MPI application typically runs concurrently on multiple cores and can span multiple nodes. This task type is the default. This enumeration member represents a value of 0.

NodePrep 2

Runs a command or script on each compute node as it is allocated to the job. The Node Prep task runs on a node before any other task in the job. If the Node Prep task fails to run on a node, then that node is not added to the job. This enumeration member represents a value of 2.

NodeRelease 3

Runs a command or script on compute each node as it is released from the job. Node Release tasks run when the job is canceled by the user or by graceful preemption. Node Release tasks do not run when the job is canceled by immediate preemption. This enumeration member represents a value of 3.

ParametricSweep 1

Runs a command a specified number of times as indicated by the start, end, and increment values, generally across indexed input and output files. The steps of the sweep may or may not run in parallel, depending on the resources that are available on the HPC cluster when the task is running. This enumeration member represents a value of 1.

Service 4

Runs a command or service on all resources that are assigned to the job. New instances of the command are started when new resources are added to the job, or if a previously running instance exits and the resource that the previously running instance was running on is still allocated to the job. A service task continues to start new instances until the task is canceled, the maximum run time expires, or the maximum number of instances is reached. A service task can create up to 1,000,000 sub-tasks. Tasks that you submit through a Service Oriented Architecture (SOA) client run as service tasks. You cannot add a basic task or a parametric sweep task to a job that contains a service task. This enumeration member represents a value of 4.

Applies to