I use MPI_Comm_spawn to create children processes and I want to
broadcast form the parents to the children. The MPI2 standard seems to
indicate that the root process in parents group should call MPI_Bcast
with the special root value of MPI_ROOT and all other parent processes
should use MPI_PROC_NULL. The processes in the children group are to
specify the root value in the parent group that is broadcasting the
message. However, MPI_ROOT is not defined in LAM and using normal root
value does not seem to work. How do you broadcast over an
intercommunicator?
Martyn Klassen
|