C H A P T E R  4

Installing the Linux Packages

This chapter includes the following sections:


Supported Linux Versions

Sun HPC ClusterTools 8.2 software supports Red Hat Linux (RHEL) 5 and SuSe Linux (SLES) versions 10. The Linux packages are delivered in RPM and tarball format. Ten ClusterTools 8.2 RPMs are available and built with each of the following compilers:

For each compiler-specific RPM, and i386 (32-bit) and x86_64 (64-bit) RPM is available. The file names of the RPMs are as follows, where x is the build number of the most recent build of the software:


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.2_compiler-name-x.x86_64.rpm.

  1. Create a scratch directory (called $SCRATCH_DIR in this example) on the system on which you are installing the ClusterTools 8.2 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.2/
    # cp sun-hpc-ct-8.2-Linux-x86_64.tar.gz $SCRATCH_DIR
    # cd $SCRATCH_DIR
    # gunzip sun-hpc-ct-8.2-Linux-x86_64.tar.gz
    # tar xvf sun-hpc-ct-8.2-Linux-x86_64.tar
    


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.2 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.2-Linux-x86_64/Product/Install_Utilities/bin
# rpm --erase ClusterTools
# rpm --install ClusterTools-8.2-23.x86_64-sles9-built-with-sun.rpm


To Verify the Linux Installation

The Linux packages for the Sun HPC ClusterTools 8.2 software are located in /opt/clustertools/8.2 (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.2/bin/mpirun hostname

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