On 10/01/2014 12:52 AM, Samrat Rao wrote:
Hi,
I plan to use netCDF-4 format for the output of my CFD code written in
Fortran 90. The code is written for parallel computation.
I know how to read and write netCDF files from a single processor.
I would like to output the data from my CFD code into a single netCDF
file as opposed to outputing data from each processor individually. I
know that many GCMs use this method.
I am also aware (not used) parallel-netCDF, but am not inclined in doing
so unless there is no other option.
Can someone tell be the basic steps for outputing multi-processor data
onto a single netCDF file? Or maybe point me to some links so that i can
adopt the program for my use?
Well, even though you are down on parallel-netCDF, you have not hurt my
feelings. I would suggest you take a look at pnetcdf's quick tutorial
-- not for the API calls, but for the discussion of data decomposition.
http://trac.mcs.anl.gov/projects/parallel-netcdf/wiki/QuickTutorial
in particular the "real parallel I/O on shared files".
==rob
Thanks,
Samrat.
--
Samrat Rao
Research Associate
Engineering Mechanics Unit
Jawaharlal Centre for Advanced Scientific Research
Bangalore - 560064, India
_______________________________________________
netcdfgroup mailing list
netcdfgroup@xxxxxxxxxxxxxxxx
For list information or to unsubscribe, visit:
http://www.unidata.ucar.edu/mailing_lists/
--
Rob Latham
Mathematics and Computer Science Division
Argonne National Lab, IL USA