Jack Bryan wrote:
How big was the buffer that the program specified in the receive call? How big was the message that was sent? MPI_ERR_TRUNCATE means that you posted a receive with an application buffer that turned out to be too small to hold the message that was received. It's a user application error that has nothing to do with MPI's internal buffers. MPI's internal buffers don't need to be big enough to hold that message. MPI could require the sender and receiver to coordinate so that only part of the message is moved at a time. It's at least the message header (communicator, tag, etc.) so that the receiver can figure out if this is the expected message or not. In practice, there is probably also some data in there as well. The amount of that portion depends on the MPI implementation and, in practice, the interconnect the message traveled over, MPI-implementation-dependent environment variables set by the user, etc. E.g., with OMPI over shared memory by default it's about 4Kbytes (if I remember correctly). Right. MPI actually allows you to force such synchronization with MPI_Ssend, but typically MPI implementations use it automatically for "plain" long sends as well even if the user didn't not use MPI_Ssend. Right. |
- [OMPI users] OpenMPI how large its buffer size ? Jack Bryan
- Re: [OMPI users] OpenMPI how large its buffer size... jody
- Re: [OMPI users] OpenMPI how large its buffer ... David Zhang
- Re: [OMPI users] OpenMPI how large its buf... Jack Bryan
- Re: [OMPI users] OpenMPI how large its... David Zhang
- Re: [OMPI users] OpenMPI how large its... Eugene Loh
- Re: [OMPI users] OpenMPI how larg... Jack Bryan
- Re: [OMPI users] OpenMPI how ... Eugene Loh
- Re: [OMPI users] OpenMPI ... Jack Bryan
- Re: [OMPI users] OpenMPI ... jody
- Re: [OMPI users] OpenMPI ... Jeff Squyres
- [OMPI users] do all processors have to execute... Anton Shterenlikht
- Re: [OMPI users] do all processors have to... Eugene Loh
- Re: [OMPI users] do all processors hav... Prentice Bisbal
- Re: [OMPI users] do all processor... Anton Shterenlikht
- Re: [OMPI users] do all proce... Jeff Squyres
- Re: [OMPI users] do all p... Anton Shterenlikht
- Re: [OMPI users] do all proce... David Zhang