[MITgcm-support] mismatch in namelist

Martin Losch Martin.Losch at awi.de
Tue Oct 20 11:17:11 EDT 2015


Kaveh,

The error message means that the namelist parameter “usesediment” is not recognised. My impression is that you didn't define “usesediment” properly: you need to define it in PARAMS.h (like e.g. useGMredi) and put it into the NAMLIST in packages_boot.F

Martin

> On 20 Oct 2015, at 17:01, kaveh Purkiani <kavehpurkiani at googlemail.com> wrote:
> 
> Hi everybody,
> 
> Here we have an adapted package in MITgcm. The code is debuged hopefully well. At run process I have this error massage.
> 
> At line 1876 of file packages_boot.f (unit = 11, file = '/tmp/gfortrantmpFez6ru')
> Fortran runtime error: Cannot match namelist object name usesediment
> 
> 
> this line refers to  READ(UNIT=iUnit,NML=PACKAGES)
> 
> 
> The namelist of this package is defined at package_readparams.F which is then called through above command in this routine like below:
> 
>       CALL OPEN_COPY_DATA_FILE(
>      I     'data.sediment', 'SEDIMENT_READPARMS',
>      O     iUnit,
>      I     myThid )
>       READ(UNIT=iUnit,NML=SEDIMENT_PARM01)
>       CLOSE(iUnit)
> 
> At input file the data.sediment is added which provides the variables of the package namelist like any other data.()
> 
>  &SEDIMENT_PARM01
> .......
> .......
> 
> Even if I do not provide data.sediment at input files I would face this error.
> 
> Your help would be very much appreciated.
> 
> regards
> 
> Kaveh.
> 
> 
> 
> 
> 
> 
> _______________________________________________
> MITgcm-support mailing list
> MITgcm-support at mitgcm.org
> http://mitgcm.org/mailman/listinfo/mitgcm-support




More information about the MITgcm-support mailing list