Share via


ISchedulerJob::MinCoresPerNode property

Retrieves or sets the minimum number of cores that a node must have for the job to run on it.

This property is read/write.

Syntax

HRESULT put_MinCoresPerNode(
  [in]  long maxCores
);

HRESULT get_MinCoresPerNode(
  [out] long *pMaxCores
);

Property value

The minimum number of cores. The default value is 1.

Error codes

If the method succeeds, the return value is S_OK. Otherwise, the return value is an error code. To get a description of the error, access the ISchedulerJob::ErrorMessage property.

Remarks

This property is not used in the scheduling process unless set by the user.

If you set this property to 2, the scheduler will not schedule the job on nodes that have less than two cores.

Requirements

Product

HPC Pack 2008 R2 Client Utilities, HPC Pack 2008 Client Utilities

Type library

Microsoft.Hpc.Scheduler.tlb

See also

ISchedulerJob

ISchedulerJob.MaxCoresPerNode

ISchedulerJob.MinimumNumberOfCores

ISchedulerJob.MinMemory