Retrieves or sets the maximum number of cores that a node can have for the job to run on it.
This property is read/write.
HRESULT put_MaxCoresPerNode( [in] long maxCores ); HRESULT get_MaxCoresPerNode( [out] long *pMaxCores );
The maximum number of cores. The default value is INT_MAX.
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.
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 more than two cores.
HPC Pack 2008 R2 Client Utilities, HPC Pack 2008 Client Utilities