mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Pstream: Corrected MPI datatype for binary block transfers
This commit is contained in:
@ -261,7 +261,7 @@ Foam::label Foam::UIPstream::read
|
|||||||
(
|
(
|
||||||
buf,
|
buf,
|
||||||
bufSize,
|
bufSize,
|
||||||
MPI_PACKED,
|
MPI_BYTE,
|
||||||
fromProcNo,
|
fromProcNo,
|
||||||
tag,
|
tag,
|
||||||
PstreamGlobals::MPICommunicators_[communicator],
|
PstreamGlobals::MPICommunicators_[communicator],
|
||||||
@ -317,7 +317,7 @@ Foam::label Foam::UIPstream::read
|
|||||||
(
|
(
|
||||||
buf,
|
buf,
|
||||||
bufSize,
|
bufSize,
|
||||||
MPI_PACKED,
|
MPI_BYTE,
|
||||||
fromProcNo,
|
fromProcNo,
|
||||||
tag,
|
tag,
|
||||||
PstreamGlobals::MPICommunicators_[communicator],
|
PstreamGlobals::MPICommunicators_[communicator],
|
||||||
|
|||||||
@ -74,7 +74,7 @@ bool Foam::UOPstream::write
|
|||||||
(
|
(
|
||||||
const_cast<char*>(buf),
|
const_cast<char*>(buf),
|
||||||
bufSize,
|
bufSize,
|
||||||
MPI_PACKED,
|
MPI_BYTE,
|
||||||
toProcNo, //procID(toProcNo),
|
toProcNo, //procID(toProcNo),
|
||||||
tag,
|
tag,
|
||||||
PstreamGlobals::MPICommunicators_[communicator] //MPI_COMM_WORLD
|
PstreamGlobals::MPICommunicators_[communicator] //MPI_COMM_WORLD
|
||||||
@ -94,7 +94,7 @@ bool Foam::UOPstream::write
|
|||||||
(
|
(
|
||||||
const_cast<char*>(buf),
|
const_cast<char*>(buf),
|
||||||
bufSize,
|
bufSize,
|
||||||
MPI_PACKED,
|
MPI_BYTE,
|
||||||
toProcNo, //procID(toProcNo),
|
toProcNo, //procID(toProcNo),
|
||||||
tag,
|
tag,
|
||||||
PstreamGlobals::MPICommunicators_[communicator] //MPI_COMM_WORLD
|
PstreamGlobals::MPICommunicators_[communicator] //MPI_COMM_WORLD
|
||||||
@ -116,7 +116,7 @@ bool Foam::UOPstream::write
|
|||||||
(
|
(
|
||||||
const_cast<char*>(buf),
|
const_cast<char*>(buf),
|
||||||
bufSize,
|
bufSize,
|
||||||
MPI_PACKED,
|
MPI_BYTE,
|
||||||
toProcNo, //procID(toProcNo),
|
toProcNo, //procID(toProcNo),
|
||||||
tag,
|
tag,
|
||||||
PstreamGlobals::MPICommunicators_[communicator],//MPI_COMM_WORLD,
|
PstreamGlobals::MPICommunicators_[communicator],//MPI_COMM_WORLD,
|
||||||
|
|||||||
Reference in New Issue
Block a user