[mvapich-discuss] MVAPICH2 Invalid communicator errors

Shaun Rowland rowland at cse.ohio-state.edu
Thu Sep 13 16:35:48 EDT 2007


Nathan Dauchy wrote:
> We have also run into a very similar sounding problem, with
> mvapich2-0.9.8-2007.08.30 and intel-9.1.
> 
> mpiexec -np 54 /rt1/rtruc/13km_wjet/exec/hybcst_sp
> Fatal error in MPI_Comm_rank: Invalid communicator, error stack:
> MPI_Comm_rank(105): MPI_Comm_rank(comm=0x5b, rank=0x7fbfffc898) failed
> MPI_Comm_rank(64).: Invalid communicatorFatal error in MPI_Comm_rank:
> Invalid communicator, error stack:
> 
> Unfortunately, I haven't found an /usr/include/mpi.h file or other quick
> fix yet.
> 
> Is there supposed to be "-I/usr/include" in the output of "mpicc -show"?
>   Perhaps something went wrong in the build process?  Here is the output
> on the system with the Invalid communicator errors:
> 
> $ mpicc -show
> icc -D_EM64T_ -D_SMP_ -DUSE_HEADER_CACHING -DONE_SIDED
> -DMPID_USE_SEQUENCE_NUMBERS -D_SHMEM_COLL_ -I/usr/include -O2
> -I/opt/mvapich/2-0.9.8-2007.08.30/include
> -L/opt/mvapich/2-0.9.8-2007.08.30/lib -lmpich -L/usr/lib64 -libverbs
> -libumad -lpthread
> 
> Whereas another system using mvapich-0.9.9 works fine and does not have
> "-I/usr/include":

Hmm... if you take the /usr/include out of the MVAPICH2 mpicc script, 
does it then work?  It might not strictly be mpi.h.
-- 
Shaun Rowland	rowland at cse.ohio-state.edu
http://www.cse.ohio-state.edu/~rowland/


More information about the mvapich-discuss mailing list