LAM MPI: Difference between revisions
From charlesreid1
(Created page with "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 = =...") |
|||
| Line 13: | Line 13: | ||
./configure \ | ./configure \ | ||
--prefix= | --prefix=/path/to/lam \ | ||
--with-fc=/usr/local/bin/gfortran \ | --with-fc=/usr/local/bin/gfortran \ | ||
--enable-shared=yes \ | --enable-shared=yes \ | ||
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 -g" \
CXX="/usr/bin/g++ -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/