You need to either initialize the info object that you are passing
down (with MPI_Info_create, and later free it with MPI_Info_free) to
MPI_File_open or pass in MPI_INFO_NULL.
On Jul 16, 2009, at 6:25 AM, Prasadcse Perera wrote:
> Hi all,
> I have been trying some simple code to write a file using Parallel I/
> O on Open MPI. Here I specify the MPI_Info value as 0 and the
> execution terminates with this messge for any number of processes:
>
> *** An error occurred in MPI_File_open
> *** on communicator MPI_COMM_WORLD
> *** MPI_ERR_INFO: invalid info object
> *** MPI_ERRORS_ARE_FATAL (your MPI job will now abort)
>
> The src file is attached here .And im using openmpi-1.3.3a1r21566
> build.
> --
> http://www.codeproject.com/script/Articles/MemberArticles.aspx?amid=3489381
> <file_test.cc>_______________________________________________
> devel mailing list
> devel_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/devel
--
Jeff Squyres
jsquyres_at_[hidden]
|