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: 2004-08-06 07:01:39


Just as the error message says, it means that you're calling
MPI_COMM_SIZE with an invalid communicator. ;-)

This can happen if you MPI_COMM_FREE a communicator and then call
MPI_COMM_SIZE with that communicator, or you pass in NULL to
MPI_COMM_SIZE, or something similar to that.

On Aug 6, 2004, at 4:23 AM, Gkikas Magiorkinis wrote:

> Hi again,
>
> I have finally installed LAM and compiled a program which outputs:
>
> MPI_Comm_size: invalid communicator: Invalid argument (rank 0,
> MPI_COMM_WORLD)
> MPI_Comm_size: invalid communicator: Invalid argument (rank 1,
> MPI_COMM_WORLD)
> Rank (1, MPI_COMM_WORLD): Call stack within LAM:
> Rank (1, MPI_COMM_WORLD): - MPI_Comm_size()
> Rank (1, MPI_COMM_WORLD): - main ()
> MPI_Comm_size: invalid communicator: Invalid argument (rank 0,
> MPI_COMM_WORLD)
>
> Does anyone have any idea why this could be hapenning?

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