You can verify MPI communications by running a simple MPI program. To do so, you must have one of the supported compilers installed on your system. See for more information about supported compilers.
Two simple Sun MPI programs are available in /opt/SUNWhpc/examples/mpi:
connectivity.c - A C program that checks the connectivity among all processes and prints a message when it finishes
monte.f - A Fortran program in which each process participates in calculating an estimate of p using a Monte-Carlo method
See the Readme file in the same directory; it provides instructions for using the examples. The directory also contains the make file, Makefile. The full text of both code examples is also included in Chapter 3 of the Sun MPI 4.0 User's Guide.