Commit 5adf8b3d authored by David Goodell's avatar David Goodell
Browse files

[svn-r10642] MPI_Datatype handler should be committed before it is used

Contributed by IBM.  Based on patch 0018 from code discussions.
parent 9e474152
......@@ -108,6 +108,7 @@ offset = (r * n + k * n * s) * sizeof(int);
# collective I/O and independent file I/O without seek
<setcontigview>
filetype = MPI::INT.Create_vector( b, n, n*s );
filetype.Commit();
offset = r * n * sizeof(int);
fh.Set_view( offset, MPI::INT, filetype, "native", MPI::INFO_NULL );
filetype.Free();
......
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