problem with put_att (maximum number of attributes)

Robert Latham robl at mcs.anl.gov
Thu Feb 19 10:28:47 CST 2009


On Thu, Feb 19, 2009 at 10:09:37AM +0000, Alex Hoffmann wrote:
> Hello,
> I am getting the same error message as had already been inquired on in
> this list, i.e.:
> 
> NC definations on multiprocesses conflict.
> NOTE: Definitions across all process
> 
> and this seems to be related somehow randomly to the total number of
> attributes (global or for each variable) that I intend to write during
> the the definition phase (and, though I am not sure about this, to the
> number of processes used to run my F90 parallel code).
> 
> More precisely, if I uncomment one put_att to replace another, the
> program still runs, if I do not comment out another one, the program
> crashes with the above error message.
> 
> Is there any way of identifying where this problem comes from or is
> there a maximum amount of attributes (though I don't write an excessive
> amount of them)?  There is no problem running it on one process(or).

Maybe you can show us with a small test program how you are
encountering this error?  The maximum number of attributes is 4k (the
constant NC_MAX_ATTRS).  

==rob

-- 
Rob Latham
Mathematics and Computer Science Division    A215 0178 EA2D B059 8CDF
Argonne National Lab, IL USA                 B29D F333 664A 4280 315B


More information about the parallel-netcdf mailing list