C H A P T E R  6

Installing the Linux Packages

Sun HPC ClusterTools 8.1 software supports Red Hat Linux (RHEL) versions 4 and 5 and SuSe Linux (SLES) versions 9 and 10. The Linux packages are delivered in RPM format.

For each version of Linux, there are two types of ClusterTools 8.1 RPMs: one built with Sun Studio 12 compilers, and the other built with the GNU compiler gcc. The file names of the various packages are as follows, where x is the build number of the most recent build of the software:


procedure icon  To Unpack the Linux Packages

In this example, the commands install the SuSe Linux version 9 package built with the Sun Studio 12 compiler. Substitute the file name of the Linux version you want to install for ClusterTools-8.1-x.x86_64-sles9-built-with-sun.rpm.

1. Create a scratch directory (called $SCRATCH_DIR in this example) on the system on which you are installing the ClusterTools 8.1 software.

2. Type the following commands to unpack the Linux packages, substituting the name of your scratch directory and the name of the Linux package you want to install.


# cd SunHPCClusterTools_8.1/
# cp sun-hpc-ct-8.1-Linux-x86_64.tar.gz $SCRATCH_DIR
# cd $SCRATCH_DIR
# gunzip sun-hpc-ct-8.1-Linux-x86_64.tar.gz
# tar xvf sun-hpc-ct-8.1-Linux-x86_64.tar


procedure icon  To Install the Linux Packages

You need to install the RPM packages individually on each Linux node in your cluster. To facilitate the process, you might want to use a parallel SSH tool such as cconsole. For more information on cconsole, see Cluster Console Tools.

Other parallel SSH tools include the following:

The following example shows the commands you would type to install the ClusterTools 8.1 package (built with the Sun Studio compiler) for SuSe Linux version 9.



Note - You only need to use the rpm --erase command if you already have a previous version of Sun HPC ClusterTools software installed on the system.



# cd sun-hpc-ct-8.1-Linux-x86_64/Product/Install_Utilities/bin
# rpm --erase ClusterTools
# rpm --install ClusterTools-8.1-23.x86_64-sles9-built-with-sun.rpm


procedure icon  To Verify the Installation

The Linux packages for the Sun HPC ClusterTools 8.1.0 software are located in /opt/clustertools/8.1 (by default). To verify that the software is installed properly, you can try launching a simple non-MPI parallel job using mpirun. The following example shows a sample job:


% /opt/SUNWhpc/HPC8.1/bin/mpirun hostname

where hostname is the name of the system on which you installed the Linux package.