On Feb 16, 2006, at 10:33 AM, rtichy_at_[hidden] wrote:
> rtichy_at_darwin:~/mpi/hello_world$ /usr/lib/lam/bin/mpirun.lam -np
> 2 ./foo
> MPI::COMM_WORLD.Get_size(): 1
> MPI::COMM_WORLD.Get_rank(): 0
> lamrank: 0
>
> 0 - MPI_SEND : Invalid rank 1
> [0] Aborting program !
> [0] Aborting program!
> p0_9967: p4_error: : 8262
This is an MPICH error message.
You are somehow mixing your LAM and MPICH implementations -- I
suspect that it's the opposite of what I guessed before: you're
compiling against MPICH and using LAM to launch. I don't know where /
etc/alternatives/mpiCC is coming from, but it seems to be compiling/
linking you against MPICH, not LAM.
--
{+} Jeff Squyres
{+} The Open MPI Project
{+} http://www.open-mpi.org/
|