Newsgroups: comp.parallel.mpi
From: ma@Informatik.TU-Muenchen.DE (Lei Ma)
Subject: Q: Invalid communicator ??
Organization: Technische Universitaet Muenchen, Germany
Date: 22 Jul 1996 14:38:23 GMT
Message-ID: <4t03ov$e4o@sunsystem5.informatik.tu-muenchen.de>


hello,
 I have tried to run a program with mpich, but it would always abort and 
showed the following message:
-----------------------------------------------------
2 - Error in MPI_COMM_RANK : Invalid communicator
[2] Aborting program!
0 - Error in MPI_COMM_RANK : Invalid communicator
[0] Aborting program!
p2_5211:  p4_error: (null): 5
p0_4318:  p4_error: (null): 5
rm_l_-268440004_5240:  p4_error: interrupt SIGINT: 2
rm_l_-268440004_5226:  p4_error: interrupt SIGINT: 2
rm_l_0_5198:  p4_error: interrupt SIGINT: 2
3 - Error in MPI_COMM_RANK : Invalid communicator
bm_list_4319:  p4_error: interrupt SIGINT: 2
rm_l_-268440004_5212:  p4_error: interrupt SIGINT: 2
p4_5239:  p4_error: interrupt SIGINT: 2
p1_5197:  p4_error: interrupt SIGINT: 2
p3_5225:  p4_error: interrupt SIGINT: 2
-------------------------------------------------------

My program looks something like:


C---------------------------
C Executable Statements
C---------------------------
C
C------ Get own process id
C
      CALL MPI_INIT(IERR)
      CALL MPI_COMM_RANK(MPI_COMM_WORLD, MYTID, IERR)
C

Can somebody give me a tip where should be the problem?

thanks a lot

lei

-- 
_________________________________________________________________________|
|                                                                        | 
|               \      /                                                 |
|     \     \    \    / ____/_  _/  email: ma@informatik.tu-muenchen.de  |
|    / \   /    ' \  / /      /     Tel  : +49-89-5231124                |
|   /     /    __   / ____/  /      Snail: steinickeweg 4 App. 409       |
|__/   __/    /  ______/    /              807998 Munich                 |
|          __/     _____/____/             Germany                       |
|                   __\                                                  |
|                     www: http://wwwbode.informatik.tu-muenchen.de/     |
|________________________________________________________________________|                                                                             



    
   

