Commit c8a20185 authored by Dave Partyka's avatar Dave Partyka
Browse files

ENH: MPI_Recv wants an MPI_Status instance passed to it rather than NULL.

parent fc6af9df
......@@ -108,6 +108,7 @@ public:
XdmfInt32 DoWrite( XdmfHeavyData* ds, XdmfArray* array )
{
MPI_Status stat;
// this is a really bad implementation that assumes rank 0 has the same data
// size as everyone else, but we're really just going for a simple
// example here. The real coalescing implementation will require a few more
......@@ -149,7 +150,7 @@ public:
MPI_ANY_SOURCE,
0,
MPI_COMM_WORLD,
0 );
stat );
processes_received++;
// pull the information from the buffer
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment