Scheduled Downtime
On Friday 21 April 2023 @ 5pm MT, this website will be down for maintenance and expected to return online the morning of 24 April 2023 at the latest

ERROR while reading namelist physics (iccg_method)

This post was from a previous version of the WRF&MPAS-A Support Forum. New replies have been disabled and if you have follow up questions related to this post, then please start a new thread from the forum home page.

zxdawn

Member
Hi,

I'm trying to simulated lightning using WRFV4.1.2.
I can run real.exe well with "lightning_option = 11".
But, if I specify the "iccg_method" to any number,
I would get this error:
Code:
taskid: 0 hostname: admin
 module_io_quilt_old.F        2931 T
  ------ ERROR while reading namelist physics ------
Maybe here?:      lightning_option                    = 11,
Maybe here?:      iccg_method                         = 1,
-------------- FATAL CALLED ---------------
FATAL CALLED FROM FILE:  <stdin>  LINE:   11783
ERRORS while reading one or more namelists from namelist.input.
-------------------------------------------
If I switch to wrfV3.5.1, I get the similar error when adding "iccg_method":
Code:
taskid: 0 hostname: admin
 Namelist logging not found in namelist.input. Using registry defaults for varia
 bles in logging.
 Namelist dfi_control not found in namelist.input. Using registry defaults for v
 ariables in dfi_control
 Namelist tc not found in namelist.input. Using registry defaults for variables
 in tc
 Namelist noah_mp not found in namelist.input. Using registry defaults for varia
 bles in noah_mp
 Namelist scm not found in namelist.input. Using registry defaults for variables
  in scm
   ------ ERROR while reading namelist dynamics ------
 Namelist fire not found in namelist.input. Using registry defaults for variable
 s in fire
 Namelist diags not found in namelist.input. Using registry defaults for variabl
 es in diags
 -------------- FATAL CALLED ---------------
 FATAL CALLED FROM FILE:  <stdin>  LINE:   10243
 ERRORS while reading one or more namelists from namelist.input.
 -------------------------------------------

I thought there was something wrong with the namelist, but I couldn't figure the exact problem.
Could you help me with this?
View attachment namelist.input

Thanks in advance!
Xin
 
Hi Xin,
I was able to run v4.1.2 with your namelist (with iccg_method = 1) and real.exe ran without any problems.
1) Have you modified your code in any way?
2) Did you compile with optimization turned off? If so, what compiler?
 
I'm using the original WRF 4.1.2 codes.
Here's the information about compiler:
Code:
DESCRIPTION     =       INTEL ($SFC/$SCC)
DMPARALLEL      =        1
OMPCPP          =       # -D_OPENMP
OMP             =       # -qopenmp -fpp -auto
OMPCC           =       # -qopenmp -fpp -auto
SFC             =       ifort
SCC             =       icc
CCOMP           =       icc
DM_FC           =       mpif90 -f90=$(SFC)
DM_CC           =       mpicc -cc=$(SCC)
FC              =       time $(DM_FC)
CC              =       $(DM_CC) -DFSEEKO64_OK
LD              =       $(FC)
RWORDSIZE       =       $(NATIVE_RWORDSIZE)
PROMOTION       =       -real-size `expr 8 \* $(RWORDSIZE)` -i4
ARCH_LOCAL      =       -DNONSTANDARD_SYSTEM_FUNC  -DWRF_USE_CLM
CFLAGS_LOCAL    =       -w -O3 -ip #-xHost -fp-model fast=2 -no-prec-div -no-prec-sqrt -ftz -no-multibyte-chars
LDFLAGS_LOCAL   =       -ip #-xHost -fp-model fast=2 -no-prec-div -no-prec-sqrt -ftz -align all -fno-alias -fno-common
CPLUSPLUSLIB    =
ESMF_LDFLAG     =       $(CPLUSPLUSLIB)
FCOPTIM         =       -O3
FCREDUCEDOPT    =       $(FCOPTIM)
FCNOOPT     =       -O0 -fno-inline -no-ip

BTW, if I set WRF_CHEM=WRF_KPP=0, it works well.
Did you try without chem?

Then, I tested WRF 3.9.1.1 and WRF4.0 with WRF_CHEM=WRF_KPP=1.
The iccg_method works well.
Is there anything changed in WRF 4.1.2?
 
Hi,
I have moved your topic to the WRF-chem section of the forum. Since this works okay without chemistry turned on, then it seems to be related to the chemistry code. Hopefully someone who is experienced with WRF-Chem will be able to help you.
 
Hi, this issue is posted on GitHub now: https://github.com/wrf-model/WRF/issues/1021

Hope it could be fixed soon.
 
Top