Chris
2008-01-23 13:20:57 UTC
Hi folks,
As a starter I've got a little MPI problem, which I'm sure is easy to
solve for you.
Imagine a parallel program which runs for 4 processes maximum for a
given problem. It uses broadcast to communicate some data. If I now
start the program with, say 32, processes, the broadcast primitive
include all 28 not necessary processes as well. Is there any chance to
exclude those 28 procs from MPI_COMM_WORLD, or do I need to create a
new communication handle for the 4 processes?
I tried to let the 28 procs call MPI_Finalize(), but this only stucked
because apparently MPI_Bcast still wants to include them and waits for
them calling MPI_Bcast as well.
Thanks for your help in advance
/Chris
As a starter I've got a little MPI problem, which I'm sure is easy to
solve for you.
Imagine a parallel program which runs for 4 processes maximum for a
given problem. It uses broadcast to communicate some data. If I now
start the program with, say 32, processes, the broadcast primitive
include all 28 not necessary processes as well. Is there any chance to
exclude those 28 procs from MPI_COMM_WORLD, or do I need to create a
new communication handle for the 4 processes?
I tried to let the 28 procs call MPI_Finalize(), but this only stucked
because apparently MPI_Bcast still wants to include them and waits for
them calling MPI_Bcast as well.
Thanks for your help in advance
/Chris