[mpich-discuss] Multiple MPI_Comm_spawn to a single multicore host

Rajeev Thakur thakur at mcs.anl.gov
Thu Jul 17 16:28:30 CDT 2008


It is supposed to work even with multiple processes per node. Are you
creating the multiple processes with a single MPI_Comm_spawn (and maxprocs
set appropriately) or with multiple calls to MPI_Comm_spawn. It should work
either way.

Rajeev 

> -----Original Message-----
> From: owner-mpich-discuss at mcs.anl.gov 
> [mailto:owner-mpich-discuss at mcs.anl.gov] On Behalf Of Roberto Fichera
> Sent: Tuesday, July 15, 2008 10:29 AM
> To: mpich-discuss at mcs.anl.gov
> Subject: [mpich-discuss] Multiple MPI_Comm_spawn to a single 
> multicore host
> 
> Hi All on the list,
> 
> I'm using the MPI_Comm_spawn() to dynamically distribute the 
> jobs in our 
> nodes. Everything
> works fine until I use one job per node even if the target node is a 
> multicore/smp machine.
> Whenever I start to spawn multiple jobs, as the number of cpus on the 
> target machine, than I
> start to see crashes on the MPI application, maybe due to the mpd 
> shutdown caused by the first
> MPI_Finalize() issued by the slave. So, does anyone know how 
> to handle 
> correctly such distribution.
> I'm currently using MPICH2 v1.0.7 within a Fedora 8 x86_64 OS.
> 
> Thanks in advance.
> Roberto Fichera.
> 
> 




More information about the mpich-discuss mailing list