SessionUnitType Enumeration
Namespace: Microsoft.Hpc.Scheduler.Session
Assembly: Microsoft.Hpc.Scheduler.Session (in Microsoft.Hpc.Scheduler.Session.dll)
| Member name | Description |
|---|---|
| Core | Uses cores to schedule the service job. This enumeration member represents a value of 0. |
| Node | Uses nodes to schedule the service job. This enumeration member represents a value of 2. |
| Socket | Uses sockets to scheduler the service job. This enumeration member represents a value of 1. |
The least specific resource unit is the node and the most granular specific unit is the core. For example, a node can have four cores 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 cores are on each node. The job could also specify that it needs four cores to run, so it could run on one node that had four cores or on multiple nodes with one or two cores.
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
Platform Note: This enumeration was introduced in Windows HPC Server 2008 R2 and is not supported in previous versions.
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: