Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

JobUnitType Enumeration

Defines the hardware resources used to determine on which nodes the job can run.


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

'Usage
Dim instance As JobUnitType

[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 nameDescription
CoreUse cores to schedule the job. This enumeration member represents a value of 0.
NodeUse nodes to schedule the job. This enumeration member represents a value of 2.
SocketUse 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 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:
© 2015 Microsoft