[MITgcm-devel] Monitor and mnc/netcdf

Alistair Adcroft adcroft at MIT.EDU
Tue Jul 13 13:01:09 EDT 2004


> Been there, done that!  ;-)

Great. How is it turned on - I haven't seen a file that would correspond to
it.

> Is that acceptable?

More than a pleasant surprise and saves me messing it up.

A.
--
Dr Alistair Adcroft            http://www.mit.edu/~adcroft
MIT Climate Modeling Initiative        tel: (617) 253-5938
EAPS 54-1624,  77 Massachusetts Ave,  Cambridge,  MA,  USA

-----Original Message-----
From: mitgcm-devel-bounces at mitgcm.org
[mailto:mitgcm-devel-bounces at mitgcm.org] On Behalf Of Ed Hill
Sent: Tuesday, July 13, 2004 11:52 AM
To: MITgcm-devel
Subject: Re: [MITgcm-devel] Monitor and mnc/netcdf


On Tue, 2004-07-13 at 11:04, Alistair Adcroft wrote:
> I was about to try MNCing the monitor output but ...
> 
>  MNC output is tiled.
>  Monitor output is single scalar and so most naturally should be in
> one output file.  We could have the same data written into multiple 
> files aka MNC  or we could just let process number 0 write the monitor 
> output aka _MASTER_THID().
> 
> Thoughts anyone?


Hi Alistair,

Been there, done that!  ;-)

Seriously, at JMC's prompting I added the ability for monitor to output
through mnc a while ago.  The few lines of code are in:

  mon_out.F  monitor.F  mon_init.F

and they're currently only producing files for the (mpiMyId .EQ. 0) case so
it effectively isn't tiled output (or, it only produces the zeroth tile).

Is that acceptable?

Also, I've noticed that using mnc for the monitor output can slow things
down a bit.  Its not surprising that file IO through mnc/NetCDF is more
expensive than the plain-old STDIO output stream--its not really a fair
comparison.  But if necessary I can probably make mnc quicker for cases such
as the monitor output where we're frequently writing a handful of scalar
values to a single file.

Ed

-- 
Edward H. Hill III, PhD
office:  MIT Dept. of EAPS;  Rm 54-1424;  77 Massachusetts Ave.
             Cambridge, MA 02139-4307
emails:  eh3 at mit.edu                ed at eh3.com
URLs:    http://web.mit.edu/eh3/    http://eh3.com/
phone:   617-253-0098
fax:     617-253-4464

_______________________________________________
MITgcm-devel mailing list
MITgcm-devel at mitgcm.org http://dev.mitgcm.org/mailman/listinfo/mitgcm-devel





More information about the MITgcm-devel mailing list