LAM MPI: Difference between revisions
From charlesreid1
| Line 16: | Line 16: | ||
--with-fc=/usr/local/bin/gfortran \ | --with-fc=/usr/local/bin/gfortran \ | ||
--enable-shared=yes \ | --enable-shared=yes \ | ||
CC="/usr/bin/gcc | CC="/usr/bin/gcc" \ | ||
CXX="/usr/bin/g++ | CXX="/usr/bin/g++" \ | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Revision as of 21:17, 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
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/