TORQUE Resource Manager > Installation and Configuration > TORQUE Installation Overview > Compute Nodes

Compute Nodes

Use the Adaptive Computing TORQUE package system to create self-extracting tarballs which can be distributed and installed on compute nodes. The TORQUE package are customizable. See the INSTALL file for additional options and features.

If you installed TORQUE using the RPMs, you must install and configure your nodes manually by modifying the /var/spool/torque/mom_priv/config file of each one. This file is identical for all compute nodes and can be created on the head node and distributed in parallel to all systems.

[root]# vi /var/spool/torque/mom_priv/config
			
$pbsserver     headnode    # hostname running pbs server     
$logevent      225         # bitmap of which events to log
 
[root]# service pbs_mom restart

To create TORQUE packages

  1. Configure and make as normal, and then run make packages.
  2. > make packages

    Building ./torque-package-clients-linux-i686.sh ...

    Building ./torque-package-mom-linux-i686.sh ...

    Building ./torque-package-server-linux-i686.sh ...

    Building ./torque-package-gui-linux-i686.sh ...

    Building ./torque-package-devel-linux-i686.sh ...

    Done.

     

    The package files are self-extracting packages that can be copied and executed on your production machines. Use --help for options.

  3. Copy the desired packages to a shared location.
  4. > cp torque-package-mom-linux-i686.sh /shared/storage/

    > cp torque-package-clients-linux-i686.sh /shared/storage/

  5. Install the TORQUE packages on the compute nodes.
  6. Adaptive Computing recommends that you use a remote shell, such as SSH, to install TORQUE packages on remote systems. Set up shared SSH keys if you do not want to supply a password for each host.

    The only required package for the compute node is mom-linux. Additional packages are recommended so you can use client commands and submit jobs from compute nodes.

    The following is an example of how to copy and install mom-linux in a distributed fashion.

    > for i in node01 node02 node03 node04 ; do scp torque-package-mom-linux-i686.sh ${i}:/tmp/. ; done

    > for i in node01 node02 node03 node04 ; do scp torque-package-clients-linux-i686.sh ${i}:/tmp/. ; done

    > for i in node01 node02 node03 node04 ; do ssh ${i} /tmp/torque-package-mom-linux-i686.sh --install ; done

    > for i in node01 node02 node03 node04 ; do ssh ${i} /tmp/torque-package-clients-linux-i686.sh --install ; done

Alternatively, you can use a tool like xCAT instead of dsh.

To use a tool like xCAT

  1. Copy the TORQUE package to the nodes.
  2. > prcp torque-package-linux-i686.sh noderange:/destinationdirectory/

  3. Install the TORQUE package.
  4. > psh noderange /tmp/torque-package-linux-i686.sh --install

Although optional, it is possible to use the TORQUE server as a compute node and install a pbs_mom with the pbs_server daemon.

Related Topics 

© 2015 Adaptive Computing