From: William Gropp Date: January 2, 2008 2:11:05 PM CST To: mpi-21@XXXXXXXXXXXXX Subject: [mpi-21] Date: Wed, 2 Jan 2008 14:11:01 -0600 Reply-To: mpi-21@XXXXXXXXXXXXX In the MPI-1 document, on page 16 (first page of chapter 3), the example uses strlen(message) for the number of characters in the string message to send, and then uses printf to print that message when received. This fails to send the trailing null, so in the MPI_Send call, the length should be strlen(message) + 1 on line 33. Bill William Gropp Paul and Cynthia Saylor Professor of Computer Science University of Illinois Urbana-Champaign