Install torque: mudanças entre as edições

De Instituto de Física - UFRGS
Ir para navegaçãoIr para pesquisar
Sem resumo de edição
Sem resumo de edição
Linha 1: Linha 1:
<h2>How to install Torque 6.0.x (Server and Mom) in systemctl-based Linux systems</h2>
<h2>How to install Torque 6.0.1 (Server and Mom) in systemctl-based Linux systems</h2>


'''First, get the source and compile it'''
'''First, get the source and compile it'''

Edição das 13h58min de 13 de maio de 2016

How to install Torque 6.0.1 (Server and Mom) in systemctl-based Linux systems

First, get the source and compile it

   # wget <torques-source-code-url> -O torque-<version>.tar.gz
   # tar -xzvf torque-<version>.tar.gz
   # cd torque-<version>/ 
   # ./configure
   # make
   # make install

TORQUE SERVER

   # echo <torque_server_hostname> > /var/spool/torque/server_name
   
 trqauthd:
   # cp contrib/systemd/trqauthd.service /usr/lib/systemd/system/
   # systemctl enable trqauthd.service
   # echo /usr/local/lib > /etc/ld.so.conf.d/torque.conf
   # ldconfig
   # systemctl start trqauthd.service
       
   # export PATH=/usr/local/bin/:/usr/local/sbin/:$PATH
   
 Initial setup:
   # ./torque.setup root
   
 Node list:
   -> Add nodes to /var/spool/torque/server_priv/nodes
   
 Pbs_server startup at boot:
   # qterm
   # cp contrib/systemd/pbs_server.service /usr/lib/systemd/system/
   # systemctl enable pbs_server.service
   # systemctl start pbs_server.service
   
 If using Torque's own built-in scheduler:
   # pbs_sched
   -> If you want pbs_sched to run at boot, you need to configure it manually

TORQUE MOM (for the nodes)

   # make packages
   
   # scp torque-package-mom-linux-x86_64.sh <mom-node>:
   # scp torque-package-clients-linux-x86_64.sh <mom-node>:
   # scp contrib/systemd/pbs_mom.service <mom-node>:/usr/lib/systemd/system/
   
 On each node:
   # ssh root@node
   # ./torque-package-mom-linux-x86_64.sh --install
   # ./torque-package-clients-linux-x86_64.sh --install
   # ldconfig
   # systemctl enable pbs_mom.service
   # systemctl start pbs_mom.service
   
   -> Set server in /var/spool/torque/mom_priv/config:
       $pbsserver headnode
   # service pbs_mom restart

The information in this page is based on this document:

http://docs.adaptivecomputing.com/torque/6-0-1/help.htm

For more information about Torque, please visit:

http://www.adaptivecomputing.com/products/open-source/torque/