View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001128 | OpenFOAM | Bug | public | 2014-01-08 12:40 | 2014-01-08 15:37 |
Reporter | Assigned To | henry | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | All | OS | All | OS Version | All |
Summary | 0001128: Incorrect usage of MPI datatype MPI_PACKED | ||||
Description | In UIPread.C and UOPWrite.C, the MPI datatype MPI_PACKED is used for sending and receiving messages. However, the datatype MPI_PACKED is reserved for MPI messages which have been prepared using MPI_Pack() (which is NOT the case here). When sending a buffer that has been filled with MPI_Pack(), the MPI_Pack() output argument 'position' must be used as 'count' argument for MPI_Send(). It is NOT guaranteed by the MPI standard that the buffer size for MPI_PACKED is measured in bytes. Therefore MPI_BYTE should be used instead. Reference: "Using MPI" - Gropp, Lusk, and Skjellum | ||||
Tags | No tags attached. | ||||