LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2003-06-24 15:37:27


On Mon, 23 Jun 2003, William Boatin wrote:

> [snipped]
> In both versions, my problem is the same. I cant seem to find the
> libraries that need to be included. I downloaded lam-6.5.9.tar.gz,
> uncompressed it, ran configure, ran make, and then looked for the .o
> files which i think are what the above code is trying to link too. I
> found mpi++.o, trillium.o but none of the others. Can anyone help?

I'm not sure what you mean -- I think you mean that you need to know the
LAM libraries to link to, but you might also mean which .h files need to
be translated/included (you used "libraries" and "included" in the same
sentence, and it's difficult to parse that properly...).

If you mean which libraries to link to, simply run "mpicc -showme" and it
should show you the libraries and the correct order to use.

Note that this will get more complicated in LAM/MPI 7.0 because the list
of libraries will be variable (depending on how LAM/MPI was configured,
etc.).

-- 
{+} Jeff Squyres
{+} jsquyres_at_[hidden]
{+} http://www.lam-mpi.org/