NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

ncendef: ncid 8: Resource temporarily unavailable

Sometimes, after my program has been running for a while
(~8 hrs) writing netcdf files, it crashes while writing
with the error message:

  ncendef: ncid 8: Resource temporarily unavailable 

It is not a disk-space problem and I can immediately
restart the program and get it to work.  I am using
netcdf library version 3.5.0 of Aug 31 2001 14:52:03 
on Red Hat Linux 7.1.

(a) what does the error message mean?
(b) am I missing something? Can I trap this error
and retry the operation?
(c) is there a workaround?

thanks for the help!
Lak