[mpich-discuss] Fatal error in PMPI_Comm_rank

Hong-Jun Kim hongjun at mcs.anl.gov
Thu Feb 24 19:29:50 CST 2011


Hello,

I compiled my program with "mpich2-1.3.2p1" without any problems as at the end of this e-mail.
But, if I execute it, I have some errors I can not understand as follows.
Could any body give me any advice about this problem?
Thanks.

-------------------------------------------
[hongjun at login01 algs]$ ./test_parallelmesh 
Fatal error in PMPI_Comm_rank: Invalid communicator, error stack:
PMPI_Comm_rank(109): MPI_Comm_rank(comm=0x0, rank=0x7fffde36da34) failed
PMPI_Comm_rank(66).: Invalid communicator
[hongjun at login01 algs]$ mpiexec -l -n 2 ./test_parallelmesh
0: Fatal error in PMPI_Comm_rank: Invalid communicator, error stack:
0: PMPI_Comm_rank(109): MPI_Comm_rank(comm=0x0, rank=0x7fffee4e1464) failed
0: PMPI_Comm_rank(66).: Invalid communicator
1: Fatal error in PMPI_Comm_rank: Invalid communicator, error stack:
1: PMPI_Comm_rank(109): MPI_Comm_rank(comm=0x0, rank=0x7fff6055a9c4) failed
1: PMPI_Comm_rank(66).: Invalid communicator
rank 1 in job 98  login01.cosmea.mcs.anl.gov_58699   caused collective abort of 
all ranks
  exit status of rank 1: return code 1
-------------------------------------------
-----------------------------
/home/hongjun/lib/mpich2-1.3.2p1/bin/mpicxx -pipe -Wall -g -o test_parallelmesh 
test_parallelmesh-test_parallelmesh.o  -L/home/hongjun/lib/CGM/lib -L/home/hongj
un/lib/OpenCASCADE6.3.0/lib -L/home/hongjun/lib/mpich2-1.3.2p1/lib -L/usr/lib/gc
c/x86_64-redhat-linux/4.1.2 -L/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../..
/lib64 -L/lib/../lib64 -L/usr/lib/../lib64 ../../src/.libs/libMeshKit.a -L/home/
hongjun/lib/Lasso/lib -L/home/hongjun/lib/MOAB/lib -L/home/hongjun/lib/camal.5.1
.0-Linux64/lib/Linux64 ../../camal/.libs/libMKcamal.a -lCMLEdgeMesher -lCMLTet -
lCMLSweep -lCMLDelTri -lCMLTri -lCMLSurfMapper -lCMLPave -lCMLSizer -lc -lgcc_s 
-lmpichcxx -lmpich -lrt -lstdc++ /home/hongjun/lib/mpich2-1.3.2p1/lib/libopa.so 
-lpthread /home/hongjun/lib/mpich2-1.3.2p1/lib/libmpl.so -ldl /home/hongjun/lib/
Lasso/lib/libiRel.a /home/hongjun/lib/CGM/lib/libiGeom.a /home/hongjun/lib/MOAB/
lib/libiMesh.a /home/hongjun/lib/MOAB/lib/libMOAB.a /home/hongjun/lib/CGM/lib/li
bcgm.a /home/hongjun/lib/OpenCASCADE6.3.0/lib/libTKSTL.so /home/hongjun/lib/Open
CASCADE6.3.0/lib/libTKSTEP.so  -lm   -Wl,--rpath -Wl,/home/hongjun/lib/mpich2-1.3.2p1/lib -Wl,--rpath -Wl,/home/h
ongjun/lib/OpenCASCADE6.3.0/lib -Wl,--rpath -Wl,/home/hongjun/lib/mpich2-1.3.2p1
/lib -Wl,--rpath -Wl,/home/hongjun/lib/OpenCASCADE6.3.0/lib
-----------------------------



-----------------------------
Hong-Jun Kim
Post-doc researcher
MCS, Argonne National Laboratory
9700 S. Cass Ave. B240/R2147
Argonne, IL 60439
630-252-4791
hongjun at mcs.anl.gov
-----------------------------



More information about the mpich-discuss mailing list