JobUnitType Enumeration
Namespace: Microsoft.Hpc.Scheduler.Properties
Assembly: Microsoft.Hpc.Scheduler.Properties (in Microsoft.Hpc.Scheduler.Properties.dll)
[GuidAttribute("90A57885-5870-4326-9EF2-6EFD7BFCEE97")] [ComVisibleAttribute(true)] public enum JobUnitType
/** @attribute GuidAttribute("90A57885-5870-4326-9EF2-6EFD7BFCEE97") */
/** @attribute ComVisibleAttribute(true) */
public enum JobUnitType
GuidAttribute("90A57885-5870-4326-9EF2-6EFD7BFCEE97") ComVisibleAttribute(true) public enum JobUnitType
| Member name | Description |
|---|---|
| Core | Use cores to schedule the job. This enumeration member represents a value of 0. |
| Node | Use nodes to schedule the job. This enumeration member represents a value of 2. |
| Socket | Use sockets to scheduler the job. This enumeration member represents a value of 1. |
The least granular resource unit is the node and the most granular resource unit is the processor. For example, a node can have four processors on one socket and the node can contain multiple sockets. A job can specify that it needs a minimum of four nodes to run, regardless of how many processors are on each node. The job could also specify that it needs four processors to run, so it could run on one node that had four processors or on multiple nodes with one or two processors.
To use this enumeration in Visual Basic Scripting Edition (VBScript), you need to use the numeric values for the enumeration members or create constants that correspond to those members and set them equal to the numeric values. The following code example shows how to create and set constants for this enumeration in VBScript.
const Core = 0 const Socket = 1 const Node = 2
Development Platforms
Windows XP, Windows Vista, Windows 7, Windows 8, Windows Server 2003, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012Target Platforms
Windows XP, Windows Vista, Windows 7, Windows 8, Windows Server 2003, Windows Server 2003 R2, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, with HPC Pack Client Utilities
Build Date: