[MITgcm-devel] NAMELIST changes (how to and how not to)

Martin Losch Martin.Losch at awi.de
Mon Oct 22 03:38:21 EDT 2007


mea culpa, Asche auf mein Haupt!
At that point (April/May) I was not aware that this undocumented flag  
already made it into your ECCO runs. Sorry. Will not do it again.

Martin

On 18 Oct 2007, at 04:40, Jean-Michel Campin wrote:

> Hi Patrick,
>
> I agree.
> But it's Chris who first introduced this "retired parameter"
> thing, I just did a "cut and paste".
> Jean-Michel
>
> On Wed, Oct 17, 2007 at 06:27:25PM -0400, Patrick Heimbach wrote:
>>
>> Hi there,
>>
>> after being puzzled for a day or two
>> why the ECCO code updated to a new model version
>> doesn't work anymore I discovered that the
>> namelist in SEAICE has been reduced in a
>> very non-smart way - by just dropping a variable (SEAICEuseEVP).
>>
>> That is certainly NOT the way to go,
>> unless you want to make sure that the model
>> is hopelessly incompatible w.r.t. old data files,
>> or hopelessly difficult to catch such problems.
>>
>> The way to do it better is as J.M. has demonstrated
>> for pkg/diagnostics/ :
>> Create a routine like diagnostics_list_check.F
>> which checks for retired NAMELIST variables
>> and stops the model with appropriate warning.
>> That's better than a crash with cryptic NAMELIST error msg (Altix)
>> or no crash at all with skipping of remainder (IBM SP).
>>
>> Cheers
>> -p.
>>
>> ---
>> Patrick Heimbach | heimbach at mit.edu | http://www.mit.edu/~heimbach
>> MIT | EAPS 54-1518 | 77 Massachusetts Ave | Cambridge MA 02139 USA
>> FON +1-617-253-5259 | FAX +1-617-253-4464 | SKYPE patrick.heimbach
>>
>>
>> _______________________________________________
>> MITgcm-devel mailing list
>> MITgcm-devel at mitgcm.org
>> http://mitgcm.org/mailman/listinfo/mitgcm-devel
> _______________________________________________
> MITgcm-devel mailing list
> MITgcm-devel at mitgcm.org
> http://mitgcm.org/mailman/listinfo/mitgcm-devel




More information about the MITgcm-devel mailing list