LSF Version 7.3 - Administering Platform LSF
Static Resources
246 Administering Platform LSF
By default, ncpus is set to procs (number of processors).
NOTE: In clusters with older LIMs that do not recognize cores and threads,
EGO_DEFINE_NCPUS is ignored. In clusters where only the master LIM recognizes cores and
threads, the master LIM assigns default values (for example, in Platform LSF 6.2: 1 core, -1
thread).
3 Save and close lsf.conf or ego.conf.
TIP: As a best practice, set EGO_DEFINE_NCPUS instead of EGO_ENABLE_DUALCORE. The
functionality of EGO_ENABLE_DUALCORE=y is preserved by setting EGO_DEFINE_NCPUS=cores.
Interaction with LSF_LOCAL_RESOURCES in lsf.conf
If EGO is enabled, and EGO_LOCAL_RESOURCES is set in ego.conf and
LSF_LOCAL_RESOURCES is set in
lsf.conf, EGO_LOCAL_RESOURCES takes
precedence.
Override the global configuration of ncpus computation
The cluster administrator globally defines how the ncpus resource is computed.
The
ncpus global definition can be overridden on specified dynamic and static
hosts in the cluster.
Defining computation of ncpus on dynamic hosts
1 Open lsf.conf or ego.conf.
◆ UNIX and Linux:
LSF_CONFDIR/lsf.conf
LSF_CONFDIR/ego/cluster_name/kernel/conf/ego.conf
◆ Windows:
LSF_CONFDIR\lsf.conf
LSF_CONFDIR\ego\cluster_name\kernel\conf\ego.conf
IMPORTANT: You can set EGO_LOCAL_RESOURCES in ego.conf only if EGO is enabled in the
LSF cluster. If EGO is not enabled, you must set EGO_LOCAL_RESOURCES in lsf.conf.
2 Define the parameter EGO_LOCAL_RESOURCES="[resource resource_name]".
Set resource_name to one of the following:
◆ define_ncpus_procs
◆ define_ncpus_cores
◆ define_ncpus_threads
NOTE: Resource definitions are mutually exclusive. Choose only one resource definition per
host.
For example: