This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
> Hi, > > I'm currently testing the newest netcdf4 snapshot (2008031713) and think > that I found a minor bug: > > The problem arises when using a sequential NF_OPEN in a parallel > application (code is attached below). If only one process calls NF_OPEN > then the program simply waits and it seems that it hits a mpi barrier. > If all process call NF_OPEN (which is not desired here) then the program > continues without complaining. However, if the file does not exist it > complains with "Error initializing for parallel access". In contrast, > NF_CREATE just works fine. Can it be that NF_OPEN and NF_OPEN_PAR got > slightly mixed up? > > Cheers, Ingo > > Howdy Ingo! I have just fixed this in the netCDF code base. Can you build the daily snapshot and see if it works for you: http://www.unidata.ucar.edu/software/netcdf/builds/snapshot/netcdf-4/ Thanks! Ed Ticket Details =================== Ticket ID: XVY-916374 Department: Support netCDF Priority: Normal Status: Closed