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

[netCDF #GRR-883430]: Reading multiple datasets



I see. I frankly do not know the answer for sure. I suspect
that it can work if and only if the HDF5 library supports it.
I think you need to ask the hdf group about it. I would be
curious to hear what they say.

> To be clear what I am trying to do is, I am accessing an hdf5 file via
> netcdf C library. The hdf5 file follows nc4 classic data model.
> 
> After opening the nc file, I am trying to read multiple variables in
> parallel using for loop with openmp for loop pragma in place.
> 
> Regards
> Ghansham
> 
> address@hidden> wrote:
> 
> > The short answer is no.
> > When you say parallel, I assume you mean multi-threading
> > (as opposed to using mpi, which we can do internally).
> > Some groups have claimed that by putting locks around
> > calls to nc_open and nc_close, that they have done it
> > successfully for netcdf-3 files. Also, HDF5 claims to support
> > a multiple reader, single writer model for data, but we have
> > not yet investigated this.
> >
> >
> > > I want to read different datasets from the same netcdf file opened using
> > a
> > > single ncid into different data buffers in parallel. Is it possible?
> > > Regards
> > > Ghansham
> > >
> > >
> >
> > =Dennis Heimbigner
> >   Unidata
> >
> >
> > Ticket Details
> > ===================
> > Ticket ID: GRR-883430
> > Department: Support netCDF
> > Priority: Normal
> > Status: Open
> > ===================
> > NOTE: All email exchanges with Unidata User Support are recorded in the
> > Unidata inquiry tracking system and then made publicly available through
> > the web.  If you do not want to have your interactions made available in
> > this way, you must let us know in each email you send to us.
> >
> >
> >
> 
> 

=Dennis Heimbigner
  Unidata


Ticket Details
===================
Ticket ID: GRR-883430
Department: Support netCDF
Priority: Normal
Status: Open
===================
NOTE: All email exchanges with Unidata User Support are recorded in the Unidata 
inquiry tracking system and then made publicly available through the web.  If 
you do not want to have your interactions made available in this way, you must 
let us know in each email you send to us.