[mpich-discuss] Hanging code in MPI_Comm_Spawn

Reuti reuti at staff.uni-marburg.de
Thu Nov 29 15:24:39 CST 2012


Am 29.11.2012 um 20:18 schrieb Tim Gallagher:

> I have a Fortran application that uses MPI_Comm_Spawn. When I run with it compiled using gfortran/gcc (and mpich compiled with gfortran/gcc), it just hangs forever. When I run with it compiled using ifort/icc (and mpich compiled with ifort/icc), it runs correctly. 
> 
> When I run it in GDB with the GNU compiler suite and interrupt it once it's stuck, it tells me:
> 
> Program received signal SIGINT, Interrupt.
> 0x00007ffff7800fc9 in pmpi_comm_spawn__ () from /opt/mpi/mpich/gnu/system/lib64/libmpich.so.8
> 
> and this is with both mpich 1.4 and 1.5.

Did you compile MPICH2 on your own and set the LD_LIBRARY_PATH correctly? In 1.4.1p1 I have only libmpich.so.3.3 and so I assume the libmpich.so.8 is a one from your installation? IIRC by default MPICH2 generates static libs.

-- Reuti


> Does anybody have any suggestions for what could be going on? It really just sits there, doing absolutely nothing, forever. No timeouts, no errors or warnings. I'm not ruling out a bug in my codes, but I don't even know where to begin. 
> 
> Thanks,
> 
> Tim
> _______________________________________________
> discuss mailing list     discuss at mpich.org
> To manage subscription options or unsubscribe:
> https://lists.mpich.org/mailman/listinfo/discuss




More information about the discuss mailing list