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

KPP and "ASTEM" error using chem-opt 202


Dear all,

I have a question about KPP.

Before compiling WRF-Chem I set the below variables to compile WRF-Chem with KPP:

ulimit -s unlimited
export EM_CORE=1
export NMM_CORE=0
export WRF_CHEM=1
export WRF_KPP=1
export YACC='/usr/bin/yacc -d'
export FLEX=/usr/bin/flex
export FLEX_LIB_DIR=/usr/lib64
After compiling KPP, I got several warnings :

warning: implicit declaration of function 'yylex' [-Wimplicit-function-declaration]

[compile log has been attached]

Now my question is after compiling the KPP and the model, should I do something else to run the model with KPP.

I need to run the model with chem-opt =202. But each time I use this option I receive an "ASTEM" error. Is it possible I got the error because of received several warnings once compiling the KPP?
If yes, how can I compile the KPP correctly?

I also attached my name list. I set

emiss_opt = 3,
emiss_inpt_opt = 102,

for chem-opt 202. Is this correct for this option?

Please have a look at it and let me know your idea.



  • namelist.input.txt
    9.4 KB · Views: 0
  • compile_kpp.log
    343.9 KB · Views: 3