NC_EMULTIDEFINE?

Wei-keng Liao wkliao at ece.northwestern.edu
Wed Sep 8 17:37:20 CDT 2010


Hi, John,

If you call nfmpi_strerror(NC_EMULTIDEFINE), it will produce an error message:
"File header is inconsistent among processes"

PnetCDF's define APIs require all processes use the same values for the
API's arguments. NC_EMULTIDEFINE indicates the violation of this requirement.
The most common case is defining a time stamp as a global attribute and different
processes may read timer at a slightly different value.

Wei-keng

On Sep 8, 2010, at 5:17 PM, John Michalakes wrote:

> What could cause the error -31 (NC_EMULTIDEFINE) from a call to NFMPI_ENDDEF?
> 
> John
> 
> 
> -- 
> John Michalakes
> National Renewable Energy Laboratory
> 1617 Cole Blvd.
> Golden, Colorado 80401
> Phone: 303-275-4297
> Fax: 303-275-4091
> John.Michalakes at nrel.gov
> 
> 



More information about the parallel-netcdf mailing list