1.0 Installation and configuration > 1.2 Initializing/Configuring TORQUE on the server (pbs_server) > 1.2.1 Specifying compute nodes

1.2.1 Specifying compute nodes

The environment variable TORQUE_HOME is where configuration files are stored. For TORQUE 2.1 and later, TORQUE_HOME is /var/spool/torque/. For earlier versions, TORQUE_HOME is /usr/spool/PBS/.

The pbs_server must recognize which systems on the network are its compute nodes. Specify each node on a line in the server's nodes file. This file is located at TORQUE_HOME/server_priv/nodes. In most cases, it is sufficient to specify just the names of the nodes on individual lines; however, various properties can be applied to each node.

Syntax of nodes file:

node-name[:ts] [np=] [gpus=] [properties]

The following example shows a possible node file listing.

TORQUE_HOME/server_priv/nodes:

# Nodes 001 and 003-005 are cluster nodes

#

node001 np=2 cluster01 rackNumber22

#

# node002 will be replaced soon

node002:ts waitingToBeReplaced

# node002 will be replaced soon

#

node003 np=4 cluster01 rackNumber24

node004 cluster01 rackNumber25

node005 np=2 cluster01 rackNumber26 RAM16GB

node006

node007 np=2

node008:ts np=4

...

Related topics