[MITgcm-devel] NML_TERMINATOR

Martin Losch mlosch at awi-bremerhaven.de
Thu Nov 17 14:05:10 EST 2005


Samar,

the NML_TERMINATOR option works only, if all namelists are terminated 
by ' &' exactly. Only if there is something like ' &end', then the 
subroutine eesupp/src/nml_set_terminator.F fails and I get the error 
messages below. (I haven't tried it on a mac, I have to admit.)

Ed,
thanks for taking care of this.

Martin

On Nov 17, 2005, at 7:53 PM, Samar Khatiwala wrote:

> Hi Martin
>
> In my experience, the -DNML_TERMINATOR option does not work with xlf, 
> and there
> is no xlf compiler flag that lets you change the terminator. Rather 
> than take any risks,
> I simply use "/" in all my data files.
>
> Samar
>
> On Nov 17, 2005, at 1:41 PM, Martin Losch wrote:
>
>> Hi,
>>
>> I have encountered a (possibly unimportant) error message, when using 
>> the MITgcm with the IBM xlf (on an AIX SP4). I use the flag 
>> -DNML_TERMINATOR to take into account that xlf wants ' /' instead of 
>> ' &' to end a namelist (see tools/build_options/sp4+mpi_edvir1). With 
>> this flag, testreport works, but I still have this error message:
>>> 1525-090 The NAMELIST READ statement cannot be completed because an 
>>> incorrect character was encountered in a NAMELIST group name or item 
>>> name.  The program will recover by discontinuing further processing 
>>> of the READ statement.
>> This error message appears because there are a few instances (e.g., 
>> verification/global_ocean.90x40x23/input/data.gmredi) where the 
>> namelist is terminated by something like ' &end' instead if ' &'. So 
>> far so good, but I can only hope that this doesn't affect the 
>> solutions.
>>
>> What do you think?
>>
>> Martin
>>
>> _______________________________________________
>> 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