SessionUnitType Enumeration

Defines values to indicate the type of hardware resources used to determine to nodes on which the service job for the session can run.


Namespace: Microsoft.Hpc.Scheduler.Session
Assembly: Microsoft.Hpc.Scheduler.Session (in Microsoft.Hpc.Scheduler.Session.dll)

'Usage
Dim instance As SessionUnitType

public enum SessionUnitType
public enum SessionUnitType
public enum SessionUnitType

Member nameDescription
CoreUses cores to schedule the service job. This enumeration member represents a value of 0.
NodeUses nodes to schedule the service job. This enumeration member represents a value of 2.
SocketUses 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 2012

Target 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:

2013-04-22

Community Additions

ADD
Show: