[mvapich-discuss] MVAPICH2 Invalid communicator errors

Nathan Dauchy Nathan.Dauchy at noaa.gov
Fri Sep 14 11:18:32 EDT 2007


Christian Guggenberger wrote:
> 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.
> 

Thanks for all the help, this really narrows it down!  We will scour the
system and the application build scripts to try to find where and how
the incompatible mpi*.h file is getting used in the compile.

Regards,
Nathan


More information about the mvapich-discuss mailing list