Building LAM/MPI

This file documents the use of the x86 Open64 Compiler Suite.
© 2009 Advanced Micro Devices, Inc.

LAM/MPI Info

LAM/MPI is a high-quality open-source implementation of the Message Passing Interface specification, including all of MPI-1.2 and much of MPI-2. Intended for production as well as research use, LAM/MPI includes a rich set of features for system administrators, parallel programmers, application users, and parallel computing researchers. Steps to building LAM, you will need to download the source, apply the patch provided, and then build and test it. These steps, and any known limitations, are described in the sections below.

Download: LAM/MPI (version 7.1.4).

Patching LAM/MPI 7.1.4

The LAM/MPI 7.1.4 configure script makes an assumption about compiler outputs that is not true for open64 compilers. Because of this, it generates an invalid configuration to create the LAM C++ shared library for use with the open64 Compiler Suite.

Here is a basic patch to the LAM/MPI 7.1.4 configure script that should solve the build issue when using the ' --enable-shared --with-modules' flags. This patch has been used with LAM/MPI 7.1.4 to configure LAM/MPI to work with the x86 Open64 compilers.

Download the patch file configure.patch.

To install the patch, use this command :

     >patch configure configure.patch

Building LAM/MPI

Set up your environment to work with the x86 Open64 compilers. In brief, the following steps are sufficient to build LAM/MPI and its dependent applications from the command line:

     >export FC=openf95
     >export F77=openf95
     >export CC=opencc
     >export CXX=openCC
     >export LAMRSH=ssh

Now configure and build LAM/MPI.

     >./configure --prefix=$LAM_HOME --enable-shared --with-modules
     >make
     >make install

Known Limitations

There are no known limitations.