From charlesreid1

Line 2: Line 2:


= Installation =
= Installation =
== Dependencies ==
LAM requires a fortran compiler.  If you are on Linux, you can use your package manager to install a fortran compiler.  If you are on a Mac, you can install a Fortran compiler in a number of different ways - either by using [[Fink]], or by downloading a version of gfortran from http://hpc.sourceforge.net/ .


== Configuration ==
== Configuration ==
Line 32: Line 36:


Before running the <code>lamboot</code> command, the directory <code>/path/to/lamboot/bin</code> must be added to your <code>$PATH</code> variable.
Before running the <code>lamboot</code> command, the directory <code>/path/to/lamboot/bin</code> must be added to your <code>$PATH</code> variable.


= Resources =
= Resources =

Revision as of 21:51, 6 October 2010

LAM MPI is an MPI package that can be easily installed. There is not, however, active development taking place, as developers are moving toward OpenMPI.

Installation

Dependencies

LAM requires a fortran compiler. If you are on Linux, you can use your package manager to install a fortran compiler. If you are on a Mac, you can install a Fortran compiler in a number of different ways - either by using Fink, or by downloading a version of gfortran from http://hpc.sourceforge.net/ .

Configuration

#!/bin/sh
#
# run configure
# make
# make install

./configure \
 --prefix=/path/to/lam \
 --with-fc=/usr/local/bin/gfortran \
 --enable-shared=yes \
 CC="/usr/bin/gcc" \
 CXX="/usr/bin/g++" \

Test

You can test your installation of LAM MPI as follows:

$ cd /path/to/lam/src/examples/hello
$ make
$ lamboot
$ ./hello/cxxhello

Before running the lamboot command, the directory /path/to/lamboot/bin must be added to your $PATH variable.

Resources

LAM MPI home page - http://www.lam-mpi.org/