(Click to open topic with navigation)
These instructions describe how to install and start TORQUE.
The following software is required to run TORQUE 4.5.0:
For more information on how to configure the ports that TORQUE uses for communication, see Configuring Ports.
Important: If you intend to use TORQUE 4.5.0 with Moab, you must run Moab version 7.1 or later. TORQUE 4.5.0 will not work with versions earlier than Moab 7.1.
[root]# yum install openssl-devel libxml2-devel boost-devel
To install TORQUE
[user]$ su -
[root]# yum install libtool [root]# git clone https://github.com/adaptivecomputing/torque.git -b 4.5.04.5.0 [root]# cd 4.5.0 [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 4.5.0 4.5.0 [root]# cd 4.5.0 [root]# ./autogen.sh
[root]# wget http://www.adaptivecomputing.com/download/torque/torque-4.5.0.tar.gz [root]# tar -xzvf torque-4.5.0.tar.gz [root]# cd torque-4.5.0/
[root]# ./configure [root]# make [root]# make install
For information on what options are available to customize the ./configure command, see Customizing the install.
* If Debian distribution, do the following * [root]# cp contrib/init.d/debian.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 * 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 * 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
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 Debian distribution, do the following * [root]# cp contrib/init.d/debian.pbs_server /etc/init.d/pbs_server [root]# cp contrib/init.d/debian.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 * 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 * 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
Related topics