MPI info object

Rob Ross rross at mcs.anl.gov
Mon Jul 16 16:55:48 CDT 2007


absolutely. this requires a configure test that mpi_info_dup is present 
in the implementation...

rob

Wei-keng Liao wrote:
> 
> The MPI info object passed into ncmpi_open() and ncmpi_create() should be
> duplicated using
>      MPI_Info_dup(info, &nciop->mpiinfo);
> instead of
>      nciop->mpiinfo = info;
> in ncmpiio_create() and ncmpiio_open() in file mpincio.c.
> 
> The same info object will be used in MPI_file_setview() later in the 
> data mode APIs. The above fix can prevent from freeing the info object by
> applications before the data mode APIs are called.
> 
> Wei-keng
> 




More information about the parallel-netcdf mailing list