Due to the current gap in continued funding from the U.S. National Science Foundation (NSF), the NSF Unidata Program Center has temporarily paused most operations. See NSF Unidata Pause in Most Operations for details.

[netcdfgroup] Parallel I/O and End-Of-File

Hi all,

I was just wondering if there is any easy to detect the EOF of a netcdf-4 data 
file? I’m trying to read in records (with an unlimited leading dimension) in 
parallel until there are no more records left. Is there any easy way to 
implement this without explicitly calculating the number of records (with an 
inquiry function) and dividing by the #MPI processes (and figuring out what 
happens when there isn’t a simple division)?

Thanks in advance,

Tim.
  • 2014 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: