Author: goodell Date: 2012-11-20 16:21:00 -0600 (Tue, 20 Nov 2012) New Revision: 10642 Modified: mpich2/trunk/test/mpi/cxx/io/ioharness.defn Log: MPI_Datatype handler should be committed before it is used Contributed by IBM. Based on patch 0018 from code discussions. Modified: mpich2/trunk/test/mpi/cxx/io/ioharness.defn =================================================================== --- mpich2/trunk/test/mpi/cxx/io/ioharness.defn 2012-11-20 22:20:59 UTC (rev 10641) +++ mpich2/trunk/test/mpi/cxx/io/ioharness.defn 2012-11-20 22:21:00 UTC (rev 10642) @@ -108,6 +108,7 @@ # 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();