
18
3.4 Distribution Specific Build Details
The following are known issues with building on common distributions. Please refer to the
Ammasso support website (
www.ammasso.com/support
) for an up to date list of issues.
The list of packages provided below will ensure that the system will be able to take
advantage of all the Ammasso 1100 features – such as being able to support 32-bit MPI
applications on 64-bit platforms.
3.4.1 RedHat
The following section lists RedHat distribution specific details. While the exact keystrokes
may vary slightly from release to release, the following are offered as guidelines for these
distributions.
3.4.1.1
RedHat Package Selection
On 32-bit platforms, ensure that both
Development Tools
and
Kernel
Development
packages are selected from
redhat-config-packages
menu. These
allow you to build the Ammasso driver software.
On 64-bit platforms, select the following packages in the
System
group under
redhat-
config-packages
menu:
Development Tools
,
Kernel Development
,
Legacy Software Development
, and
Compatibility Arch Support
. In
addition, under the
Development Group
menu select the following:
Compatibility
Arch Development Support
and
Legacy Software Development
. Installing
these packages will allow both 32-bit and 64-bit MPI applications to run on the 64-bit
installed system.
3.4.1.2
RedHat Kernel Source Tree Preparation
First ensure the system has a clean source tree by doing a
make mrproper
:
# cd /usr/src/linux
# make mrproper
Next, edit the
Makefile
so that the version value matches the running kernel. By default,
the variable
EXTRAVERSION
includes the string
custom
. Change this variable to match
the running kernel. The running kernel version can be found using
uname –r
. For
example, modify
-15.ELcustom
to
-15.ELsmp
.
After that, initialize the
.config
file for your system. This can be accomplished by
copying the
config
file from
/boot
and doing a
make oldconfig
.
# cd /usr/src/linux
# cp /boot/config-`uname –-kernel-release` /usr/src/linux/.config
# make oldconfig
Finally, execute the kernel dependent target to update configuration files and rebuild the
source dependencies.