Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 

[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


 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Office of Programs University Corporation for Atmospheric Research (UCAR)   Unidata is a member of the UCAR Office of Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690