LAM/MPI logo

3rd Party MPI Packages that Work with LAM:

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just 3rd party software
The Sparse Object-Oriented Linear Equations Solver (SPOOLES) package is is a library for solving sparse real and complex linear systems of equations, written in the C language using object oriented design. It is available from:

At the time of this writing, the version of SPOOLES available is 2.2.

The "" file (available from that web site) describes how to build SPOOLES, so we won't repeat much of it here (especially since it might change in future versions). These instructions only pertain to making LAM work correctly with SPOOLES.

Essentially, you need to manually edit the file in the top-level SPOOLES directory, and set the following values:

# You can also use "hcc" here, but LAM 6.2
# users will need to specify "-lmpi" in the 
# "MPI_LIBS" macro, below.  You may need to 
# specify the full path to mpicc if it isn't 
# already in your path.

CC              = mpicc 

# These can all be blank; mpicc/hcc takes 
# care of all of this for you.  LAM 6.2b 
# users, however, will need to put "-lmpi" 
# in "MPI_LIBS" if you use "hcc" instead 
# of "mpicc".

MPI_LIBS        =

The remainder of the values are fairly obvious and irrelevant to LAM; you can set whatever optimization level you want, etc.

If you follow the rest of the instructions for building, SPOOLES will build correctly and use LAM as its MPI communication layer.