[mvapich-discuss] MVAPICH2 Invalid communicator errors
Christian Guggenberger
christian.guggenberger at rzg.mpg.de
Fri Sep 14 04:43:09 EDT 2007
Hi,
>
> You are clearly using the wrong mpi.h. The proof is here :
>> MPI_Comm_rank(105): MPI_Comm_rank(comm=0x5b, rank=0x7fbfffc898) failed
> We see here that comm=0x5b is 91, the value of MPI_COMM_WORLD in
> MPICH-1-like includes. In MPICH-2-like includes, MPI_COMM_WORLD is
> 0x44000000.
>
> So, for a reason I don't know (something hidden in the Makefile, ..) you
> are compiling with the wrong mpi.h.
>
> A quick way to confirm it thought would be to remove (or move) you
> /usr/include/mpi.h which is interfering.
>
Nathan already denied the existance of mpi*.h in /usr/include.
We faced similar problems a while ago, and it then turned out, that
users had hardwired mpi*.h in their source code or even copied/linked
a wrong mpi*.h into their source tree.
Hope that helps.
cheers.
- Christian
More information about the mvapich-discuss
mailing list