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-Chem-KPP compile with undefined reference to `saprc99_jacobiansp_mp_lu_diag_' and so on

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.

samuel

New member
Hi,

The four .exe files (real.exe, wrf.exe, ndown.exe and tc.exe) were successfully generated when I compiled WRF-Chem-KPP (version 3.9), but there are a bunch of error messages regarding KPP in compile log file. They are similar. One of them is illustrated here:

###########ERROR MESSAGE start:
ifort -c -O3 -ip -fp-model precise -w -ftz -align all -fno-alias -FR -convert big_endian -real-size `expr 8 \* 4` -i4 module_kpp_cb05_sorg_aq_JacobianSP.f90
ifort -o write_decomp.exe module_kpp_cb05_sorg_aq_Precision.o module_kpp_cb05_sorg_aq_Parameters.o module_kpp_cb05_sorg_aq_JacobianSP.o write_decomp.o
ld: write_decomp.o: in function `MAIN__':
write_decomp.f90:(.text+0x7b1): undefined reference to `saprc99_jacobiansp_mp_lu_diag_'
ld: write_decomp.f90:(.text+0x84a): undefined reference to `saprc99_jacobiansp_mp_lu_diag_'
ld: write_decomp.f90:(.text+0xb0e): undefined reference to `saprc99_jacobiansp_mp_lu_crow_'
ld: write_decomp.f90:(.text+0xb18): undefined reference to `saprc99_jacobiansp_mp_lu_crow_'
ld: write_decomp.f90:(.text+0xb57): undefined reference to `saprc99_jacobiansp_mp_lu_icol_'
ld: write_decomp.f90:(.text+0xbf7): undefined reference to `saprc99_jacobiansp_mp_lu_icol_'
ld: write_decomp.f90:(.text+0xe49): undefined reference to `saprc99_jacobiansp_mp_lu_crow_'
ld: write_decomp.f90:(.text+0xe61): undefined reference to `saprc99_jacobiansp_mp_lu_diag_'
ld: write_decomp.f90:(.text+0xeac): undefined reference to `saprc99_jacobiansp_mp_lu_icol_'
ld: write_decomp.f90:(.text+0x1049): undefined reference to `saprc99_jacobiansp_mp_lu_diag_'
ld: write_decomp.f90:(.text+0x1130): undefined reference to `saprc99_jacobiansp_mp_lu_diag_'
ld: write_decomp.f90:(.text+0x1138): undefined reference to `saprc99_jacobiansp_mp_lu_crow_'
ld: write_decomp.f90:(.text+0x118d): undefined reference to `saprc99_jacobiansp_mp_lu_icol_'
ld: write_decomp.f90:(.text+0x122d): undefined reference to `saprc99_jacobiansp_mp_lu_icol_'
ld: write_decomp.f90:(.text+0x151c): undefined reference to `saprc99_jacobiansp_mp_lu_crow_'
ld: write_decomp.f90:(.text+0x1534): undefined reference to `saprc99_jacobiansp_mp_lu_crow_'
ld: write_decomp.f90:(.text+0x1584): undefined reference to `saprc99_jacobiansp_mp_lu_icol_'
ld: write_decomp.f90:(.text+0x1624): undefined reference to `saprc99_jacobiansp_mp_lu_icol_'
make[1]: [comp] Error 1 (ignored)
echo cb05_sorg_aq > mech.tmp
make[1]: Leaving directory `/u/home/y/ylin/WRFV3_flgrrtmgmorrKPP_D8th/chem/KPP/util/write_decomp'
./write_decomp.exe
make: ./write_decomp.exe: Command not found
make: *** [all] Error 127
=========================================================
###########ERROR MESSAGE end.

But I also found in the log file messages saying like "KPP has succesfully created the model "cb05_sorg_vbs_aq"" before compiling WRF only code. So I am confused that whether KPP is compiled successfully or not? Any idea would be appreciated.

FYI, the compile log file is attached here.

View attachment compile4.log

Thank you,
Sam
 
Top