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

WRF compilation KPP error

Vichawans

New member
I have the following error when compiling WRF4.4 with chemistry and KPP enabled.

Any suggestions are much appreciated.

Best regards,
Vichawan S.

To Reproduce
Steps to reproduce the behavior:
1. Use machine, compiler and the following environment variables
Machine

Operating System: Rocky Linux 8.5 (Green Obsidian) CPE OS Name: cpe:/o:rocky:rocky:8.5:GA Kernel: Linux 4.18.0-348.el8.0.2.x86_64 Architecture: x86-64

$ ifort --version ifort (IFORT) 19.0.5.281 20190815 $ icc --version icc (ICC) 19.0.5.281 20190815

export CC='icc' export CXX='icpc' export CFLAGS='-O3 -ip -m64' export CXXFLAGS='-O3 -ip -fPIC' export F77='ifort' export FC='ifort' export FCFLAGS='-O3 -ip -fPIC -m64' export F90='ifort' export FFLAGS='-O3 -ip -fPIC -m64' export CPP='icc -E' export CXXCPP='icpc -E' export __INTEL_POST_CFLAGS="-lpthread -lm -ldl" export WRF_CHEM=1 export EM_CORE=1 export WRF_KPP=1 # optional export WRFIO_NCD_LARGE_FILE_SUPPORT=1 export YACC="/usr/bin/yacc -d" export FLEX_LIB_DIR="/usr/lib64" export FLEX="/usr/bin/flex"



3. Output is

configure_kpp, settings: location of flex library: /usr/lib64/libfl.a # DM_CC = mpiicc OMPCC = # -qopenmp -fpp -auto CCOMP = icc CC = $(DM_CC) -DFSEEKO64_OK DESCRIPTION = INTEL ($SFC/$SCC) SCC = icc DM_CC = mpicc -cc=$(SCC) CC_TOOLS = $(SCC) CC="$(SCC)" CFLAGS="$(CFLAGS)" \ writing chem/KPP/configure.kpp /home/vichawan/ARUN/arun/opt/WRF4.4_spica_KPP/WRF ----------------------------------------- compile kpp make[1]: Entering directory '/lustre/ARUN/arun/opt/WRF4.4_spica_KPP/WRF/chem/KPP/kpp/kpp-2.1/src' icc -O0 y.tab.o lex.yy.o scanner.o scanutil.o kpp.o gen.o code.o code_c.o code_f77.o code_f90.o code_matlab.o debug.o -lm -L/usr/lib64 -lfl -o kpp make[1]: Leaving directory '/lustre/ARUN/arun/opt/WRF4.4_spica_KPP/WRF/chem/KPP/kpp/kpp-2.1/src' ----------------------------------------- compile the coupler icc -I../../../../inc -c -g gen_kpp.c gen_kpp.c(75): warning #266: function "write_list_to_screen" declared implicitly if ( DEBUGR == 2 ) write_list_to_screen( WRFC_packs ) ; ^ gen_kpp.c(84): warning #266: function "write_list_to_screen" declared implicitly if ( DEBUGR == 2 ) write_list_to_screen( WRFC_radicals ) ; ^ gen_kpp.c(91): warning #266: function "write_list_to_screen" declared implicitly if ( DEBUGR == 2 ) write_list_to_screen( WRFC_jvals ) ; ^ gen_kpp.c(97): warning #266: function "write_list_to_screen" declared implicitly if ( DEBUGR == 2 ) {write_list_to_screen( KPP_packs ) ;} ^ gen_kpp.c(115): warning #266: function "screen_out" declared implicitly screen_out( ); ^ gen_kpp.c(120): warning #266: function "check_all" declared implicitly check_all ( kpp_dirname ); ^ icc -o registry_kpp -g registry_kpp.o my_strtok.o data.o type.o misc.o reg_parse.o gen_kpp.o get_wrf_chem_specs.o gen_kpp_mech_dr.o gen_kpp_interface.o get_kpp_chem_specs.o compare_kpp_to_species.o get_wrf_radicals.o get_wrf_jvals.o gen_kpp_utils.o change_chem_Makefile.o gen_kpp_interf_utils.o gen_kpp_args_to_Update_Rconst.o kpp_data.o sym.o symtab_gen.o compile the tuv_kpp make: 'tuv_kpp' is up to date.
 
Top