[MITgcm-devel] More than one diagnostic?

Alistair Adcroft adcroft at MIT.EDU
Fri Jul 23 12:59:07 EDT 2004


I did check that and presumed that numdiags=25 would be enough to contain 2
x 10 levels of diagnostic but evidently not because changing it to 50 works.

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 Andrea Molod
Sent: Friday, July 23, 2004 11:53 AM
To: MITgcm Developers
Subject: Re: [MITgcm-devel] More than one diagnostic?


hi alistair,
you probably have to increase the size of the diagnostics array, in
diagnostics_SIZE.h  -- in the output.txt there is a sequence that tells you
what it is doing - you should see something like 'allocating...' some amount
of space ... 'for diagnostic'.... and then something like 'not enough space
to allocate' the other one. is this what is going on?

Andrea

On Fri, 23 Jul 2004, Alistair Adcroft wrote:

> Andrea,
> 
> I made more modifications to diagnose viscAh_D and duplicated the
> data.diagnostics from hs94:
> 
> # Diagnostic Package Choices
>  &diagnostics_list
>   frequency(1) = 2,
>    levels(1,1) = 1,2,3,4,5,6,7,8,9,10,
>    fields(1,1) = 'VISCAH  ','VISCA4  ',
>    filename(1) = 'visc',
>  &end
> 
> But in the stdout I only get the first variable being diagnosed:
> 
> (PID.TID 0000.0001) //
> =======================================================
>  Computing Diagnostic # 299  VISCAH       Counter:   2      Parms: SM
> MR
> 
>  cg2d: Sum(rhs),rhsMax =  -2.84219457424932E+01  2.14203215939657E-01
> (PID.TID 0000.0001)                    cg2d_init_res =
> 2.22102471077786E+00
> 
> If I switch the order in the list I get just VISCA4 being diagnosed.
> What have I missed?
> 
> 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
> 
> _______________________________________________
> MITgcm-devel mailing list
> MITgcm-devel at mitgcm.org
> http://dev.mitgcm.org/mailman/listinfo/mitgcm-devel
> 

-- 
----------------------------------------------------------------
Andrea M. Molod, PhD.
Department of Earth, Atmospheric & Planetary Sciences 
MIT
Tel: (617) 253-5458, Email: amolod at mit.edu 
WWW:http://paoc.mit.edu/paoc/people/person.asp?position=Postdoc&who=molod
----------------------------------------------------------------


_______________________________________________
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