(Click to open topic with navigation)
These instructions describe how to install and start TORQUE.
Supported Operating Systems
CentOS 5.9, Red Hat 5.9 and Scientific Linux 5.9 are supported, largely to continue support for clusters where the compute nodes operating systems cannot be upgraded. We recommend that the TORQUE head node run on the supported operating systems listed above.
Software Requirements
libhwloc 1.2 is required for TORQUE 5.0.x; 1.1 is required for TORQUE 4.2.x.
If you build TORQUE from source (i.e. clone from github), the following additional software is required:
Version 1.36.0 or newer is supported. RHEL 5, CentOS 5, and Scientific Linux 5 come packaged with an unsupported version. RHEL 6, CentOS 6, and Scientific Linux 6 come packaged with 1.41.0 and RHEL 7, CentOS 7, and Scientific Linux 7 come packaged with 1.53.0. If needed, use the --with-boost-path=DIR option to change the packaged boost version. See Customizing the Install.
For more information on how to configure the ports that TORQUE uses for communication, see Configuring Ports.
Important: If you intend to use TORQUE 5.0.x with Moab, you must run Moab version 8.0.x or later. TORQUE 5.0.x will not work with versions earlier than Moab 8.0.x.
RHEL 6.5 and CentOS 6.5, and Scientific Linux 6.5:
[root]# yum install openssl-devel libtool-devel libxml2-devel boost-devel gcc gcc-c++
SLES
[root]# zypper install openssl-devel libtool-devel libxml2-devel boost-devel gcc gcc-c++
RHEL 5 and CentOS 5, and Scientific Linux 5:
[root]# yum install openssl-devel libtool-devel libxml2-devel gcc gcc-c++
Important: TORQUE requires Boost version 1.36.0 or greater. The boost-devel package provided with RHEL 5, CentOS 5, and Scientific Linux 5 is older than this requirement. A new option, --with-boost-path has been added to configure (see Customizing the Install in the TORQUE Administrator Guide for more information). This allows you to point TORQUE to a specific version of boost during make. One way to compile TORQUE without installing Boost is to simply download the Boost version you plan to use from: http://www.boost.org/users/history/. Next, untar Boost—you do not need to build it or install it. When you run TORQUE configure, use the --with-boost-path option pointed to the extracted Boost directory.
To install TORQUE
[user]$ su -
If you clone the source from github, the libtool package must be installed.
# RHEL 6 and Scientific Linux 6: [root]# yum install git libtool # SLES: [root]# zypper install libtool
[root]# git clone https://github.com/adaptivecomputing/torque.git -b 5.0.3 5.0.3 [root]# cd 5.0.3 [root]# ./autogen.sh
If you are using CentOS 5, use these instructions for installing libtool:
[root]# cd /tmp [root]# wget http://ftpmirror.gnu.org/libtool/libtool-2.4.2.tar.gz [root]# tar -xzvf libtool-2.4.2.tar.gz [root]# cd libtool-2.4.2 [root]# ./configure --prefix=/usr [root]# make [root]# make install [root]# cd /tmp [root]# git clone https://github.com/adaptivecomputing/torque.git -b 5.0.3 5.0.3 [root]# cd 5.0.3 [root]# ./autogen.sh
[root]# wget http://www.adaptivecomputing.com/download/torque/torque-5.0.3.tar.gz -O torque-5.0.3.tar.gz [root]# tar -xzvf torque-5.0.3.tar.gz [root]# cd torque-5.0.3/
[root]# ./configure [root]# make [root]# make install
For information on what options are available to customize the ./configure command, see Customizing the Install.
* If RHEL distribution, do the following * [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
* If SLES distribution, do the following * [root]# cp contrib/init.d/suse.trqauthd /etc/init.d/trqauthd [root]# chkconfig --add trqauthd [root]# echo /usr/local/lib > /etc/ld.so.conf.d/torque.conf [root]# ldconfig [root]# service trqauthd start
You will also want to scp the init.d scripts to the compute nodes and install them there.
[root]# echo <pbs_server's_hostname> > /var/spool/torque/server_name
[root]# export PATH=/usr/local/bin/:/usr/local/sbin/:$PATH
[root]# ./torque.setup root
* If RHEL distribution, do the following * [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]# service pbs_server restart [root]# service pbs_mom start
* If SLES distribution, do the following * [root]# cp contrib/init.d/suse.pbs_server /etc/init.d/pbs_server [root]# cp contrib/init.d/suse.pbs_mom /etc/init.d/pbs_mom [root]# chkconfig --add pbs_server [root]# chkconfig --add pbs_mom [root]# service pbs_server restart [root]# service pbs_mom start