EGO_DEFINE_NCPUS

Syntax

EGO_DEFINE_NCPUS=procs | cores | threads

Description

If defined, enables an administrator to define a value other than the number of cores available for ncpus. The value of ncpus depends on the value of EGO_DEFINE_NCPUS as follows:

EGO_DEFINE_NCPUS=procs

ncpus=number of processors

EGO_DEFINE_NCPUS=cores

ncpus=number of processors x number of cores

EGO_DEFINE_NCPUS=threads

ncpus=number of processors x number of cores x number of threads

Note: When PARALLEL_SCHED_BY_SLOT=Y in lsb.params, the resource requirement string keyword ncpus refers to the number of slots instead of the number of CPUs, however lshosts output will continue to show ncpus as defined by EGO_DEFINE_NCPUS in lsf.conf.

For changes to EGO_DEFINE_NCPUS to take effect, restart lim, mbatchd, and sbatchd daemons in sequence.

Default

EGO_DEFINE_NCPUS=cores