[MITgcm-support] Errors on NAMELIST!

Patrick Heimbach heimbach at MIT.EDU
Thu May 29 14:06:47 EDT 2008


Hi there,

useCAL

is not part of the name list (it has been retired from there for a  
while).
Comment it in data.pkg, try again, and let us know
(namelists can be a pain).

-p.

On May 29, 2008, at 12:45 PM, Van Thinh Nguyen wrote:

> Hi Patrick,
>
> It 's really painful to figure out my error. I guess something with  
> my seting up "exf". Would you mind to take a look in my files  
> "data.*" attached, you would have any idea about this.
>
> Vielen Dank!
>
> Vth
>
> My MITgcmUV version:  checkpoint58j_postB
> Please read my comments at bottom of each file
>
> =======================
> data.pkg
> =======================
> # Packages
>  &PACKAGES
>   useEXF=.TRUE.,
>   useKPP=.TRUE.,
>   useCAL=.TRUE.,
> #  useBulkforce=.TRUE.,
> #  useThSIce=.TRUE.,
> #  usePTRACERS=.TRUE.,
> #  useGCHEM=.TRUE.,
>   useOBCS=.TRUE.,
>   useDiagnostics=.TRUE.,
>  &
> ====================
> data.exf ====================
> # *********************
> # External Forcing Data
> # *********************
>  &EXF_NML
> #
> # uwindstartdate1   = 19920601,
> # uwindstartdate2   = 00000,
> # uwindperiod       = 3600.0,
> #
> # vwindstartdate1   = 19920601,
> # vwindstartdate2   = 00000,
> # vwindperiod       = 3600.0,
> #
>  ustressstartdate1 = 19920601,
>  ustressstartdate2 = 000000,
>  ustressperiod     = 3600.0,
> #
>  vstressstartdate1 = 19920601,
>  vstressstartdate2 = 000000,
>  vstressperiod     = 3600.0,
> #
> # uwindfile     = 'wind_xm9a.bin',
> # vwindfile     = 'wind_ym9a.bin',
>  ustressfile  = 'tau_xm9a.bin',
>  vstressfile  = 'tau_ym9a.bin',
>
> #
>  exf_iprec         = 64,
>  exf_yftype        = 'RL',
>  &
> #============================================
> #I also tried with separated EXF_NML_01 and EXF_NML_02
> ========================================
> data,cal
> =================
> # *******************
> # Calendar Parameters
> # *******************
>  &CAL_NML
>  TheCalendar='gregorian',
> # TheCalendar='model',
>  startDate_1=19920601,
>  startDate_2=000000,
>  &
> =====================
> The data.kpp, data.obcs, data.diagnostics are working well with  
> another runs.
>
> Here is my options in EXP_OPTIONS.h
>
> ==========
> #define  ALLOW_EXF
> #define INCLUDE_EXTERNAL_FORCING_PACKAGE
> ============
>
>
> End of my msg
> ----------------
>
> On Mon, 26 May 2008, Patrick Heimbach wrote:
>
>>
>> Hi there,
>>
>> you have a variable in one of your data.* files
>> that isn't part of the namelist.
>> That could happen either,
>> * because you mistyped a variable,
>> * added a variable that really isn't part of the namelist,
>> * have a data.* file that's out of date w.r.t. your code.
>>
>> One guess given your output below is that you are using
>> a new/recent data.pkg file in conjunction with old code.
>> In older versions the flag useEXF didn't yet exist, but
>> it's declared in your file.
>> Comment it out or remove it, and try again.
>>
>> If it still doesn't work, you'll painfully have to figure
>> out which is variable is the culprit
>> (e.g. via debugger).
>>
>> -p.
>>
>>
>> On May 26, 2008, at 12:53 PM, Van Thinh Nguyen wrote:
>>
>>> Hi all,
>>> I got the following error, I check in STD*.OUT but I don't where  
>>> it come from? Could someone help me to fix it?
>>> -------
>>> forrtl: severe (19): invalid reference to variable in NAMELIST  
>>> input, unit 11, file fortIDozJi, line 2, position 8
>>> Image              PC                Routine             
>>> Line        Source
>>> mitgcmuv           40000000004AB990  Unknown                
>>> Unknown Unknown
>>> mitgcmuv           40000000004A6B60  Unknown                
>>> Unknown Unknown
>>> mitgcmuv           400000000044C3E0  Unknown                
>>> Unknown Unknown
>>> mitgcmuv           40000000003AC980  Unknown                
>>> Unknown Unknown
>>> mitgcmuv           40000000003ABD80  Unknown                
>>> Unknown Unknown
>>> mitgcmuv           40000000003F0C10  Unknown                
>>> Unknown Unknown
>>> mitgcmuv           4000000000371220  Unknown                
>>> Unknown Unknown
>>> mitgcmuv           400000000035FB80  Unknown                
>>> Unknown Unknown
>>> mitgcmuv           400000000038D650  Unknown                
>>> Unknown Unknown
>>> mitgcmuv           400000000028F680  Unknown                
>>> Unknown Unknown
>>> mitgcmuv           4000000000003E80  Unknown                
>>> Unknown Unknown
>>> libc.so.6.1        2000000005B17C20  Unknown                
>>> Unknown Unknown
>>> mitgcmuv           4000000000003C00  Unknown                
>>> Unknown Unknown
>>> -------
>>> And in the STD*.OUT
>>> -------
>>> (PID.TID 0000.0001) S/R INI_PARMS ; starts to read PARM01
>>> (PID.TID 0000.0001) S/R INI_PARMS ; read PARM01 : OK
>>> (PID.TID 0000.0001) S/R INI_PARMS ; starts to read PARM02
>>> (PID.TID 0000.0001) S/R INI_PARMS ; read PARM02 : OK
>>> (PID.TID 0000.0001) S/R INI_PARMS ; starts to read PARM03
>>> (PID.TID 0000.0001) S/R INI_PARMS ; read PARM03 : OK
>>> (PID.TID 0000.0001) S/R INI_PARMS ; starts to read PARM04
>>> (PID.TID 0000.0001) S/R INI_PARMS ; read PARM04 : OK
>>> (PID.TID 0000.0001) S/R INI_PARMS ; starts to read PARM05
>>> (PID.TID 0000.0001) S/R INI_PARMS ; read PARM05 : OK
>>> (PID.TID 0000.0001)  PACKAGES_BOOT: opening data.pkg
>>> (PID.TID 0000.0001)  OPEN_COPY_DATA_FILE: opening file data.pkg
>>> (PID.TID 0000.0001) //  
>>> =======================================================
>>> (PID.TID 0000.0001) // Parameter file "data.pkg"
>>> (PID.TID 0000.0001) //  
>>> =======================================================
>>> (PID.TID 0000.0001) ># Packages
>>> (PID.TID 0000.0001) > &PACKAGES
>>> (PID.TID 0000.0001) >  useEXF=.TRUE.,
>>> (PID.TID 0000.0001) >#  useGMRedi=.TRUE.,
>>> (PID.TID 0000.0001) >  useKPP=.TRUE.,
>>> (PID.TID 0000.0001) >#  useCAL=.TRUE.,
>>> (PID.TID 0000.0001) >#  useBulkforce=.TRUE.,
>>> (PID.TID 0000.0001) >#  useThSIce=.TRUE.,
>>> (PID.TID 0000.0001) >#  usePTRACERS=.TRUE.,
>>> (PID.TID 0000.0001) >#  useGCHEM=.TRUE.,
>>> (PID.TID 0000.0001) >  useOBCS=.TRUE.,
>>> (PID.TID 0000.0001) >  useDiagnostics=.TRUE.,
>>> (PID.TID 0000.0001) > &
>>> (PID.TID 0000.0001) --------------
>>> Thanks a lot,
>>> Van Thinh
>>> _______________________________________________
>>> MITgcm-support mailing list
>>> MITgcm-support at mitgcm.org
>>> http://mitgcm.org/mailman/listinfo/mitgcm-support
>>
>> ---
>> 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-support mailing list
>> MITgcm-support at mitgcm.org
>> http://mitgcm.org/mailman/listinfo/mitgcm-support
> _______________________________________________
> MITgcm-support mailing list
> MITgcm-support at mitgcm.org
> http://mitgcm.org/mailman/listinfo/mitgcm-support

---
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





More information about the MITgcm-support mailing list