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: 2008-02-08 07:45:26


On Feb 7, 2008, at 11:25 PM, Todd Krause wrote:

> okay, now that i got it to work, i can feel like i'm leaving no
> loose ends
> as i try to get OpenMPI to work. but that means i have to get fftw2
> to
> work by myself, since Fink configures it with LAM-MPI, not OpenMPI.
> but
> that gives me a whole litany of errors... and i'm using the exact same
> installation procedure i used when i installed it (correctly)
> before...
> but those were the days of OS 10.4. guess that's the price i pay for
> innovation.

You need to recompile ffw2 with Open MPI. LAM/MPI and Open MPI are
source compatible, but not binary compatible.

> oh, one other question: i created a .lamhosts file in my home
> directory,
> which contains the one line
>
> Macintosh.local cpu=2
>
> is this file a) correctly written,

Yes.

> b) in the right place, given that i'm
> running lam in a totally different directory,

In an rsh/ssh environment, the hostfile that you give to lamboot can
be anywhere; it's almost irrelevant what the name is. $HOME/.lamhosts
has no special meaning (i.e., it's not a default location that LAM
looks for the hostfile).

> and c) irrelevant if i'm
> trying to run on only one computer (even though i'm hoping to use both
> cpus)?

If you're only running on one host, it's irrelevant. If you do not
specify a hostfile and LAM has nowhere else to get a hostlist from
(e.g., a resource manager), then LAM will assume that you only want to
run on the localhost. You can then just "mpirun -np 2 ...".

-- 
Jeff Squyres
Cisco Systems