[MITgcm-support] netcdf4 and useSingleCpuIO = .TRUE.,

Jody Klymak jklymak at uvic.ca
Fri Feb 3 12:20:39 EST 2017


Hi All,

I was wondering if anyone had investigated implementing useSingleCpuIO (or its equivalent) for mnc via netcdf4?  It seems vaguely possible that it is relatively simple as changing `NF_CREATE` to `NF90_CREATE` (https://unidata.ucar.edu/software/netcdf/workshops/2010/pnetcdf/UsingF90Parallel.html) and changing the tile-write structure to all write to the same file.  

However, I’m sure its not *that* easy, and I didn’t want to look into it further if its a) impractical, or b) someone has already started.

This comes from machine-memory issues I have working on my super computer making mds files impractical (even using Ryan’s excellent `xmitgcm`), and a dislike of having to glue 1024 nc files together into a single file.  I guess I’m willing to be told that I’m being dumb and the gluemnc step is not a big deal.  

I would also like, if possible, for the *.nc files to be written one per time dump, simply because I often only deal with the last few time steps, and having Tb-sized files seems clunky.  But maybe that is just silly.

Thanks a lot,   Jody



--
Jody Klymak    
http://web.uvic.ca/~jklymak/








More information about the MITgcm-support mailing list