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 https://github.com/adaptivecomputing/torque/
If you're checking source out from SVN, read the README.building-40 file in the repository.
> tar -xzvf torque-4.1.3.tar.gz
> cd torque-4.1.3/
Run ./configure. TORQUE has many options you can specify to configure your installation. For more information, see Customizing the install.
By default, make install installs all files in /usr/local/bin, /usr/local/lib, /usr/local/sbin, /usr/local/include, and /usr/local/man . You can specify an installation prefix other than /usr/local by using --prefix as an argument to ./configure. Note that TORQUE cannot be installed into a directory path that contains a space.
> ./configure
You may need the libssl-devel and libxml2-devel packages to build 4.1.3. The package names may vary.
TORQUE must be installed by a root user. If running sudo fails, switch to root with su -.
> make
> sudo make install
OSX 10.4 users need to change #define __TDARWIN in src/include/pbs_config.h to #define __TDARWIN_8.
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.
Verify you have environment variables configured so your system can find the shared libraries and binary files for TORQUE.
To set the library path, add the directory where the TORQUE libraries are installed. For example, if your TORQUE libraries are installed in /usr/local/lib (if you changed the default library path at configure time, use that path instead.), execute the following:
> echo '/usr/local/lib' > /etc/ld.so.conf.d/torque.conf
> ldconfig
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