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]

netcdf4 parallel IO





Hi NETCDF folks

I work on an unstructured finite volume coastal ocean model, FVCOM, which is parallel (using MPICH2). The Read Write is a major slow down for our large cases. On our cluster, we have one large storage device, an emc raid array. The network is infini-band - the network is much faster than the raid array.

For our model we need to read large initial condition data sets, and single frames of forcing data while running. We also need to write single frames of data for output (frequently), and large restart files (less frequently).

I am considering two options for recoding the IO from the model. One is based around the future F90 netcdf 4 parallel interface which would allow a symmetric code- every processor does the same thing. The other option is to use netcdf 3, let the master processor read/write the data and distribute it to each node, -an asymmetric coding.

What I need to know-  are netcdf 4 parallel IO operations blocking?

The problem - the order of cells and nodes in our data set does not allow for a simple start, count read format. A data array might have dimensions (time,layers,cells). As an example, in  a 2 processor case with 8 cells, proc1 has cells(1 2 5 7) while proc2 has cells (3 4 6 8) - write operations would have to be in a do loop to write each cell individually from the processor that owns it.

For a model with 300,000 cells on 30 processors, this would be 10,000 calls to NF90_PUT_VAR on each processor. Even if the calls are non-blocking this seems dangerous.

Any thoughts?

David





 
 
  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