Compiling the ParaStation5 packages from source

Please note that the individual version numbers of the distinct packages building the ParaStation5 system do not necessarily have to match.

Compiling the ParaStation5 packages from source

To build proper RPM packages suitable for a particular setup, the source code for the ParaStation packages can be downloaded from www.parastation.com/download 3 .

Typically, it is not necessary to recompile the ParaStation packages, as the provided precompiled packages will install on all major distributions.

Only the kernel modules should be compiled to provide modules suitable for the current Linux kernel, see below.

To build the psmgmt package, use

# rpmbuild --rebuild psmgmt.5.0.0-0.src.rpm

After installing the psmgmt package, the pscom package can be built using

#rpm -Uv psmgmt.5.0.0-0.i586.rpm

#rpmbuild --rebuild pscom.5.0.0-0.src.rpm

This will build the packages pscom-5.0.0-0.i586.rpm and pscom-modules-5.0.0-0.i586.rpm. The architecture will of course vary depending on the system the packages are built on.

While compiling the package, support for Infiniband will be included, if one of the following files where found:

File

Version

 

 

/usr/mellanox/include/vapi/evapi.h

Mellanox

 

 

/usr/include/infiniband/verbs.h

OpenFabrics

 

 

/usr/local/ofed/include/verbs.h

OpenFabrics (Voltaire)

 

 

Table 3.1. Supported Infiniband implementations

 

To enable Myrinet GM, the environment variable GM_HOME must be set.

To generate the pscom-modulespackage, holding the ParaStation5 protocol-specific kernel modules and patched device drivers only, use the command

# rpmbuild --rebuild --with modules pscom.5.0.0-0.src.rpm

After installing the pscom package, the MPIch2 package can be built using

#rpm -Uv pscom.5.0.0-0.i586.rpm

#rpmbuild --rebuild psmpi2-5.0.0.src.rpm

This will create an installable MPIch RPM package, based on gcc. Support for other compilers can be enabled using the --with compiler options. Compiler could be intel for Intel icc, pgi for Portland Group pgi or psc for Pathscale pathcc. The option g77_ will use gcc, rendering symbol names with a single underscore prefixed.

Installing the RPMs

The installation on the cluster nodes has to be performed with administrator privileges. The packages are installed using the rpm -Ucommand:

3Source code for the documentation is currently not available.

8

ParaStation5 Administrator's Guide

Page 12
Image 12
PAR Technologies V5 manual Compiling the ParaStation5 packages from source, Installing the RPMs, File Version