|
LAM/MPI for OS X 10.3 and Pooch (14.1 MB download)
a modified version of LAM/MPI 7.0.6 that operates with Pooch
LAM is an open-source implementation of the MPI standard, and its original distribution is available from
Indiana Unversity at
http://www.lam-mpi.org/.
Its boot ssi API made it possible for LAM to coordinate with Pooch
and manage its run-time environment (RTE) for correct execution of the MPI application.
In order to operate with Pooch, it was necessary to add a Pooch boot ssi module to the LAM source tree and
add some link commands to the appropriate make files.
The modifications allow Pooch to begin LAM's boot processes and respond
to requests to activate LAM's daemons on all nodes. After the
execution of the parallel job, Pooch takes down the LAM RTE.
Configuration and Installation
This version of LAM should configure and compile much like the original LAM documentation
describes.
We're assuming you've already installed Apple's Developer Tools for your
copy of OS X.
In summary, cd to the lamPooch directory that was created after
decompressing and un-tar-ing the lamPooch archive.
We recommend extracting the archive to a place where you have full read-write-execute access,
such as your home directory (e.g., /Users/yourusername/).
Then use the following command to specify the Pooch boot module
and sense various features of your system:
./configure --prefix=/usr/local/lamPooch --with-boot=pooch
| Note: If you don't have a Fortran compiler installed, you will need to add --without-fc.
For dual-use LAM: Leave off the "--with-boot=pooch" if you want to use this
LAM/MPI in its default configuration as well as with Pooch.
"--with-boot=pooch" has lamboot select the Pooch boot module as default,
which can be overridden, but dual-purpose behavior will probably be easier to create
if this option is left off
at configure time.
|
Then make LAM using:
make
This step may take many minutes as it compiles all of LAM.
A very large amount of output will be created. Finally, install LAM using:
make install
and LAM/MPI will be installed, placing the LAM binaries in /usr/local/lamPooch,
where Pooch can find them.
Configuring host files or other static data is not necessary when using this LAM/MPI with Pooch.
Because LAM's run time environment (RTE) executables are needed for LAM to run, you will need to
repeat the above LAM installation process for every node on your cluster.
Compiling with LAM
To compile your C code, you may use the mpicc command residing in
the bin directory of the lamPooch directory:
/usr/local/lamPooch/bin/mpicc -o test.out test.c
Likewise, for Fortran code, you may use the mpif77 command:
/usr/local/lamPooch/bin/mpif77 -o test.out test.f
assuming you have a Fortran compiler installed.
Pooch should recognize the resulting executable.
Note: Be sure to select "LAM/MPI" from the Job Type submenu of the Options
pop-up on the Job Window.
Pooch should then be able to launch your LAM executable.
Naturally, Dauger Research, Inc., officially rereleases the modified code freely for
all to use. Updated versions should be available from this web site.
License and copyright rules of this distribution should then be consistent with that of the original
distribution of LAM.
Back to
Pooch.
|