You can use a Prism session to debug only one Sun MPI job at a time. Therefore, if an MPI job spawns or connects to another job (using MPI_Comm_accept and MPI_Comm_connect to implement client/server communication, for example), the current Prism session nonetheless has control only of the parent or server MPI job. It cannot debug the children or clients of that job. To debug a child or client program it is necessary to launch an additional Prism session.
To use Prism to debug a Sun MPI program, the program must be written in the SPMD (single process, multiple data) style--that is, all processes that make up a Sun MPI program must be running the same executable.
MPI_Comm_spawn_multiple can create multiple executables with only one job id; therefore, you cannot use Prism to debug jobs with different executables that have been spawned with this command.