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

Re: [netcdfgroup] [netcdf-hdf] netcdf4 and OpenMP


Neither netcdf-3 nor netcdf-4 are known to be threadsafe. But the
reason you are not seeing this is that you are probably only doing
reads (and writes?) of data, and not any metadata operations.

Yes. we thread the data and (some) metadata reads. All the writes are
done single-threaded or in "critical regions", i.e., restricted to
one thread at a time. This avoids all the gotchas we know of.
It's the unknown unknowns that we're less sure about :)
Will think more about Ed's record variable example.
Makes my head hurt.

Charlie
--
Charlie Zender, Department of Earth System Science, UC Irvine
Sab. at CNRS/LGGE-Grenoble until 20080815 :) 011+33+476+824236
Laboratoire de Glaciologie et Géophysique de l'Environnement
54 rue Molière BP 96, 38402 Saint Martin d'Hères Cedex, France


 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Community Programs   Unidata is a member of the UCAR Community 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