TORQUE Resource Manager
1.5 Server Node File Configuration

1.5 Server Node File Configuration

1.5.1 Basic Node Specification

For the pbs_server to communicate with each of the moms, it needs to know which machines to contact. Each node that is to be a part of the batch system must be specified on a line in the server nodes file. This file is located at TORQUE_HOME/server_priv/nodes. In most cases, it is sufficient to specify just the node name on a line as in the following example:

server_priv/nodes:

node001
node002
node003
node004

1.5.2 Specifying Virtual Processor Count for a Node

By default each node has one virtual processor. Increase the number using the np attribute in the nodes file. The value of np can be equal to the number of physical cores on the node or it can be set to a value which represents available "execution slots" for the node. The value used is determined by the administrator based on hardware, system, and site criteria.

The following example shows how to set the np value in the nodes file. Note that node001 has two physical cores and the administrator wants the value of np to reflect that. However, node002 will be set up to handle multiple virtual processors without regard to the number of physical cores on the system.

server_priv/nodes:

node001 np=2
node002 np=12
...

1.5.3 Specifying GPU Count for a Node

TORQUE can track the number of GPUs on a node. The number of GPUs a node has is specified by the gpus attribute in the nodes file. The value of gpu can be equal to the number of physical GPUs on the node or it can be set to a value which represents available "execution slots" for the node. The value used is determined by the administrator based on hardware, system, and site criteria.

The following example shows how to set the GPU value in the nodes file. Note that node001 has one physical GPU and the administrator wants the value of gpus= to reflect that. However, node002 will be set up to handle multiple virtual GPUs without regard to the number of physical GPUs on the system.

server_priv/nodes:

node001 gpus=1
node002 gpus=4
...

1.5.4 Specifying Node Features (aka Node Properties)

Node features can be specified by placing one or more white space delimited strings on the line for the associated host as in the following example:

server_priv/nodes:

node001 np=2 fast ia64
node002 np=4 bigmem fast ia64 smp
...

These features can be used by users to request specific nodes when submitting jobs.

See Also