These instructions describe how to install and start TORQUE.
The following software is required to run TORQUE 4.1.0:
libxml2-devel package (package name may vary)
openssl-devel package (package name may vary)
If you use cpusets, libhwloc 1.1 or later is required (for TORQUE 4.0.0 and later)
Use the following commands to install the required TORQUE dependencies and packages (listed in the Requirements section above).
RHEL
[root]# yum update
[root]# yum install make libxml2-devel openssl-devel gcc gcc-c++
CentOS
[root]# yum update
[root]# yum install make libxml2-devel openssl-devel gcc gcc-c++
TORQUE requires certain ports to be open for essential communication:
For more information on how to configure the ports that TORQUE uses for communication, see Configuring Ports.
To install TORQUE
Run each of the following commands in order.
[root]# tar xzvf torque-4.1.0.tar.gz
[root]# cd torque-4.1.0
[root]# ./configure
[root]# make
[root]# make install
For information on what options are available to customize the ./configure command, see Customizing the install.
Configure the trqauthd daemon to start automatically at system boot.
[root]# cp contrib/init.d/trqauthd /etc/init.d/
[root]# chkconfig --add trqauthd
[root]# echo /usr/local/lib > /etc/ld.so.conf.d/torque.conf
[root]# ldconfig
[root]# service trqauthd start
The make packages command can be used to create self-extracting packages that can be copied and executed on your nodes. For information on creating packages and deploying them, see Compute nodes.
You will also want to scp the init.d scripts to the compute nodes and install them there.
Populate the /var/spool/torque/server_name file with the hostname of the pbs_server.
[root]# echo <pbs_server's_hostname> > /var/spool/torque/server_name
Initialize serverdb by executing the torque.setup script.
[root]# ./torque.setup root
Add nodes to the /var/spool/torque/server_priv/nodes file. As an example, a single node with two processors could be specified with mgtnode np=2. For information on syntax and options for specifying compute nodes, see Specifying compute nodes.
Configure pbs_server and pbs_mom to start automatically at system boot, and then start their daemons.
[root]# cp contrib/init.d/pbs_server contrib/init.d/pbs_mom /etc/init.d
[root]# chkconfig --add pbs_server
[root]# chkconfig --add pbs_mom
[root]# chkconfig pbs_mom on
[root]# chkconfig pbs_server on
[root]# service pbs_server restart
[root]# service pbs_mom start
Related topics