[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[netCDF #XVY-916374]: problem with sequential NF_OPEN in netcdf-4



> 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