Build the distribution on the machine that will act as the TORQUE server - the machine which monitors and controls all compute nodes by running the pbs_server daemon.
The built distribution package works only on compute nodes of a similar architecture. Nodes with different architecture must have the installation package built on them individually.
To install TORQUE
svn list svn://clusterresources.com/torque/
Read the README.building-40 if you're checking source out from SUN.
> tar -xzvf torque-4.0.0.tar.gz > cd torque-4.0.0/ |
./configure --prefix=$home |
To set the library path, add the directory where the TORQUE libraries will be installed. For example, if your TORQUE libraries are installed in /usr/local/lib, execute the following:
> echo '/usr/loca/lib' > /etc/ld.so.conf.d/torque.conf > ldconfig |
If the default library path is changed, use the new path instead.
Adaptive Computing recommends that the TORQUE administrator be root.
For information about customizing the build at configure time, see Customizing the install.
> ./configure |
TORQUE must be installed by a root user. If running sudo fails, switch to root with su-.
> make > sudo make install |
You may need the package libssl-dev to build 4.0.0. The package name may vary.
OSX 10.4 users need to change #define __TDARWIN in src/include/pbs_config.h to #define __TDARWIN_8.
After installation, verify that you have the PATH environment variable configured to include /usr/local/bin/ and /usr/local/sbin/.
By default, make install creates a directory at /var/spool/torque. This directory is referred to as TORQUE_HOME. TORQUE_HOME has several sub-directories, including server_priv/, server_logs/, mom_priv/, mom_logs/, and other directories used in the configuration and running of TORQUE.
While Adaptive Computing distributes the RPM files as part of the build, it does not support those files. Not every Linux distribution uses RPM. Adaptive Computing provides a single solution using make and make install that works across all Linux distributions and most UNIX systems. We recognize the RPM format provides many advantages for deployment but it is up to the individual site to repackage the TORQUE installation to match their individual needs.
Related topics
© 2012 Adaptive Computing