In Windows HPC Server 2008 R2, the Type task property helps define how to run a command. Task types can have the following values:
- Basic
- Parametric Sweep
- Node Preparation
- Node Release
- Service
The default task type value is Basic. You can use the Type property to denote a Parametric Sweep, Node Preparation, Node Release, or Service task.
The following table describes the property values:
Task Type Value | Description | ||||
---|---|---|---|---|---|
Basic |
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. |
||||
Parametric Sweep |
Runs a command a specified number of times (indicated by 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 cluster when the task is running. In HPC PowerShell™, Parametric Sweep replaces the
|
||||
Node Preparation |
Runs a command or script on each node as it is allocated to the job. The Node Preparation task runs on a node before any other task in the job. If the Node Preparation task fails to run on a node, then that node is not added to the job. |
||||
Node Release |
Runs a command or script on each node as it is released from the job. The default maximum run time (in seconds) for Node
Release tasks is set with the NodeReleaseTaskTimeout
cluster parameter. To see the cluster parameter values, open a
command prompt window and type
|
||||
Service |
Runs a command or service on all resources that are allocated to the job. New instances of the command start when new resources are added to the job or if a previously running instance exits and the resource that it was running on is still allocated to the job. Service tasks continue to start instances until the job is canceled or stopped, the maximum run time expires, or until the maximum number of instances is reached (a Service task can create up to 1,000,000 subtasks). Tasks that are submitted through a service-oriented architecture (SOA) client run as Service tasks.
|
The following task properties do not apply to tasks that are started on a per-resource basis, and they cannot be set on the Node Preparation, Node Release, or Service tasks:
- Number of cores, sockets, or nodes
- Required nodes
- Exclusive
- Rerunnable
- Depends
- Parameter sweep settings