COMPILING ERROR WRFCHEM

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.

ikhsanmurad

New member
Hi.
I have problem on compiling wrf chem.
There are issue that I''ve found

/usr/bin/ld: libwrflib.a(module_check_a_mundo.o): in function `__module_check_a_mundo_MOD_check_nml_consistency':
module_check_a_mundo.f90:(.text+0x53e6): undefined reference to `__module_bep_bem_helper_MOD_nurbm'
/usr/bin/ld: module_check_a_mundo.f90:(.text+0x153db): undefined reference to `__module_bep_bem_helper_MOD_nurbm'
/usr/bin/ld: module_check_a_mundo.f90:(.text+0x1efb6): undefined reference to `bep_bem_ndm_'
/usr/bin/ld: module_check_a_mundo.f90:(.text+0x1efc1): undefined reference to `bep_bem_nz_um_'
/usr/bin/ld: module_check_a_mundo.f90:(.text+0x1efcc): undefined reference to `bep_bem_ng_u_'
/usr/bin/ld: module_check_a_mundo.f90:(.text+0x1efd7): undefined reference to `bep_bem_nwr_u_'
/usr/bin/ld: module_check_a_mundo.f90:(.text+0x1efe2): undefined reference to `bep_bem_nf_u_'
/usr/bin/ld: module_check_a_mundo.f90:(.text+0x1efed): undefined reference to `bep_bem_ngb_u_'
/usr/bin/ld: module_check_a_mundo.f90:(.text+0x1eff8): undefined reference to `bep_bem_nbui_max_'
/usr/bin/ld: module_check_a_mundo.f90:(.text+0x1f003): undefined reference to `bep_bem_ngr_u_'
/usr/bin/ld: module_check_a_mundo.f90:(.text+0x22925): undefined reference to `bep_bem_ndm_'
/usr/bin/ld: module_check_a_mundo.f90:(.text+0x22930): undefined reference to `bep_bem_nz_um_'
/usr/bin/ld: module_check_a_mundo.f90:(.text+0x2293b): undefined reference to `bep_bem_ng_u_'
/usr/bin/ld: module_check_a_mundo.f90:(.text+0x22946): undefined reference to `bep_bem_nwr_u_'
/usr/bin/ld: module_check_a_mundo.f90:(.text+0x22951): undefined reference to `bep_bem_nf_u_'
/usr/bin/ld: module_check_a_mundo.f90:(.text+0x2295c): undefined reference to `bep_bem_ngb_u_'
/usr/bin/ld: module_check_a_mundo.f90:(.text+0x22967): undefined reference to `bep_bem_nbui_max_'
/usr/bin/ld: module_check_a_mundo.f90:(.text+0x22972): undefined reference to `bep_bem_ngr_u_'
/usr/bin/ld: module_check_a_mundo.f90:(.text+0x22982): undefined reference to `bep_ndm_'
/usr/bin/ld: module_check_a_mundo.f90:(.text+0x2298d): undefined reference to `bep_nz_um_'
/usr/bin/ld: module_check_a_mundo.f90:(.text+0x22998): undefined reference to `bep_ng_u_'
/usr/bin/ld: module_check_a_mundo.f90:(.text+0x229a3): undefined reference to `bep_nwr_u_'
/usr/bin/ld: module_check_a_mundo.f90:(.text+0x229bc): undefined reference to `bep_bem_ndm_'
/usr/bin/ld: module_check_a_mundo.f90:(.text+0x229c7): undefined reference to `bep_bem_nz_um_'
/usr/bin/ld: module_check_a_mundo.f90:(.text+0x229d2): undefined reference to `bep_bem_ng_u_'
/usr/bin/ld: module_check_a_mundo.f90:(.text+0x229dd): undefined reference to `bep_bem_nwr_u_'
/usr/bin/ld: module_check_a_mundo.f90:(.text+0x229e8): undefined reference to `bep_bem_nf_u_'
/usr/bin/ld: module_check_a_mundo.f90:(.text+0x229f3): undefined reference to `bep_bem_ngb_u_'
/usr/bin/ld: module_check_a_mundo.f90:(.text+0x229fe): undefined reference to `bep_bem_nbui_max_'
/usr/bin/ld: module_check_a_mundo.f90:(.text+0x22a09): undefined reference to `bep_bem_ngr_u_'
/usr/bin/ld: module_check_a_mundo.f90:(.text+0x22c1b): undefined reference to `bep_ndm_'
/usr/bin/ld: module_check_a_mundo.f90:(.text+0x22c26): undefined reference to `bep_nz_um_'
/usr/bin/ld: module_check_a_mundo.f90:(.text+0x22c31): undefined reference to `bep_ng_u_'
/usr/bin/ld: module_check_a_mundo.f90:(.text+0x22c3c): undefined reference to `bep_nwr_u_'
/usr/bin/ld: module_check_a_mundo.f90:(.text+0x22c54): undefined reference to `bep_bem_ndm_'
/usr/bin/ld: module_check_a_mundo.f90:(.text+0x22c5f): undefined reference to `bep_bem_nz_um_'
/usr/bin/ld: module_check_a_mundo.f90:(.text+0x22c6a): undefined reference to `bep_bem_ng_u_'
/usr/bin/ld: module_check_a_mundo.f90:(.text+0x22c75): undefined reference to `bep_bem_nwr_u_'
/usr/bin/ld: module_check_a_mundo.f90:(.text+0x22c80): undefined reference to `bep_bem_nf_u_'
/usr/bin/ld: module_check_a_mundo.f90:(.text+0x22c8b): undefined reference to `bep_bem_ngb_u_'
/usr/bin/ld: module_check_a_mundo.f90:(.text+0x22c96): undefined reference to `bep_bem_nbui_max_'
/usr/bin/ld: module_check_a_mundo.f90:(.text+0x22ca1): undefined reference to `bep_bem_ngr_u_'
/usr/bin/ld: module_check_a_mundo.f90:(.text+0x22cb1): undefined reference to `bep_ndm_'
/usr/bin/ld: module_check_a_mundo.f90:(.text+0x22cbc): undefined reference to `bep_nz_um_'
/usr/bin/ld: module_check_a_mundo.f90:(.text+0x22cc7): undefined reference to `bep_ng_u_'
/usr/bin/ld: module_check_a_mundo.f90:(.text+0x22cd2): undefined reference to `bep_nwr_u_'
/usr/bin/ld: module_check_a_mundo.f90:(.text+0x22ce6): undefined reference to `bep_bem_ndm_'
/usr/bin/ld: module_check_a_mundo.f90:(.text+0x22cf1): undefined reference to `bep_bem_nz_um_'
/usr/bin/ld: module_check_a_mundo.f90:(.text+0x22cfc): undefined reference to `bep_bem_ng_u_'
/usr/bin/ld: module_check_a_mundo.f90:(.text+0x22d07): undefined reference to `bep_bem_nwr_u_'
/usr/bin/ld: module_check_a_mundo.f90:(.text+0x22d12): undefined reference to `bep_bem_nf_u_'
/usr/bin/ld: module_check_a_mundo.f90:(.text+0x22d1d): undefined reference to `bep_bem_ngb_u_'
/usr/bin/ld: module_check_a_mundo.f90:(.text+0x22d28): undefined reference to `bep_bem_nbui_max_'
/usr/bin/ld: module_check_a_mundo.f90:(.text+0x22d33): undefined reference to `bep_bem_ngr_u_'
/usr/bin/ld: module_check_a_mundo.f90:(.text+0x22d43): undefined reference to `bep_ndm_'
/usr/bin/ld: module_check_a_mundo.f90:(.text+0x22d4e): undefined reference to `bep_nz_um_'
/usr/bin/ld: module_check_a_mundo.f90:(.text+0x22d59): undefined reference to `bep_ng_u_'
/usr/bin/ld: module_check_a_mundo.f90:(.text+0x22d64): undefined reference to `bep_nwr_u_'
/usr/bin/ld: module_check_a_mundo.f90:(.text+0x25151): undefined reference to `bep_bem_ndm_'
/usr/bin/ld: module_check_a_mundo.f90:(.text+0x2515c): undefined reference to `bep_bem_nz_um_'
/usr/bin/ld: module_check_a_mundo.f90:(.text+0x25167): undefined reference to `bep_bem_ng_u_'
/usr/bin/ld: module_check_a_mundo.f90:(.text+0x25172): undefined reference to `bep_bem_nwr_u_'
/usr/bin/ld: module_check_a_mundo.f90:(.text+0x2517d): undefined reference to `bep_bem_nf_u_'
/usr/bin/ld: module_check_a_mundo.f90:(.text+0x25188): undefined reference to `bep_bem_ngb_u_'
/usr/bin/ld: module_check_a_mundo.f90:(.text+0x25193): undefined reference to `bep_bem_nbui_max_'
/usr/bin/ld: module_check_a_mundo.f90:(.text+0x2519e): undefined reference to `bep_bem_ngr_u_'
/usr/bin/ld: module_check_a_mundo.f90:(.text+0x2529b): undefined reference to `bep_ndm_'
/usr/bin/ld: module_check_a_mundo.f90:(.text+0x252a6): undefined reference to `bep_nz_um_'
/usr/bin/ld: module_check_a_mundo.f90:(.text+0x252b1): undefined reference to `bep_ng_u_'
/usr/bin/ld: module_check_a_mundo.f90:(.text+0x252bc): undefined reference to `bep_nwr_u_'
/usr/bin/ld: module_check_a_mundo.f90:(.text+0x25d29): undefined reference to `bep_ndm_'
/usr/bin/ld: module_check_a_mundo.f90:(.text+0x25d34): undefined reference to `bep_nz_um_'
/usr/bin/ld: module_check_a_mundo.f90:(.text+0x25d3f): undefined reference to `bep_ng_u_'
/usr/bin/ld: module_check_a_mundo.f90:(.text+0x25d4a): undefined reference to `bep_nwr_u_'
/usr/bin/ld: module_check_a_mundo.f90:(.text+0x25d5e): undefined reference to `bep_bem_ndm_'
/usr/bin/ld: module_check_a_mundo.f90:(.text+0x25d69): undefined reference to `bep_bem_nz_um_'
/usr/bin/ld: module_check_a_mundo.f90:(.text+0x25d74): undefined reference to `bep_bem_ng_u_'
/usr/bin/ld: module_check_a_mundo.f90:(.text+0x25d7f): undefined reference to `bep_bem_nwr_u_'
/usr/bin/ld: module_check_a_mundo.f90:(.text+0x25d8a): undefined reference to `bep_bem_nf_u_'
/usr/bin/ld: module_check_a_mundo.f90:(.text+0x25d95): undefined reference to `bep_bem_ngb_u_'
/usr/bin/ld: module_check_a_mundo.f90:(.text+0x25da0): undefined reference to `bep_bem_nbui_max_'
/usr/bin/ld: module_check_a_mundo.f90:(.text+0x25dab): undefined reference to `bep_bem_ngr_u_'
/usr/bin/ld: module_check_a_mundo.f90:(.text+0x2701d): undefined reference to `bep_ndm_'
/usr/bin/ld: module_check_a_mundo.f90:(.text+0x27028): undefined reference to `bep_nz_um_'
/usr/bin/ld: module_check_a_mundo.f90:(.text+0x27033): undefined reference to `bep_ng_u_'
/usr/bin/ld: module_check_a_mundo.f90:(.text+0x2703e): undefined reference to `bep_nwr_u_'
/usr/bin/ld: libwrflib.a(chem_driver.o): in function `chem_driver_._omp_fn.0':
chem_driver.f90:(.text+0x8bef): undefined reference to `__module_cam_support_MOD_cam_mam_aerosols'
/usr/bin/ld: chem_driver.f90:(.text+0x9827): undefined reference to `__module_cu_camzm_driver_MOD_zm_conv_tend_2'
/usr/bin/ld: chem_driver.f90:(.text+0x11a5f): undefined reference to `__module_cam_support_MOD_numgas_mam'
/usr/bin/ld: chem_driver.f90:(.text+0x13377): undefined reference to `__module_cam_support_MOD_numgas_mam'
/usr/bin/ld: chem_driver.f90:(.text+0x1677f): undefined reference to `__module_cam_support_MOD_cam_mam_aerosols'
/usr/bin/ld: chem_driver.f90:(.text+0x194dd): undefined reference to `__module_cam_support_MOD_cam_mam_aerosols'
/usr/bin/ld: chem_driver.f90:(.text+0x19683): undefined reference to `__module_cam_support_MOD_cam_mam_aerosols'
/usr/bin/ld: libwrflib.a(chem_driver.o): in function `chem_driver_':
chem_driver.f90:(.text+0x1bade): undefined reference to `__module_cam_support_MOD_numgas_mam'
/usr/bin/ld: chem_driver.f90:(.text+0x1db8c): undefined reference to `__module_cam_support_MOD_numgas_mam'
/usr/bin/ld: chem_driver.f90:(.text+0x1dbb0): undefined reference to `__module_cam_support_MOD_cam_mam_aerosols'
/usr/bin/ld: chem_driver.f90:(.text+0x21a1e): undefined reference to `__module_cam_support_MOD_cam_mam_aerosols'
/usr/bin/ld: chem_driver.f90:(.text+0x21ada): undefined reference to `__module_cam_support_MOD_numgas_mam'
/usr/bin/ld: libwrflib.a(emissions_driver.o): in function `__module_emissions_driver_MOD_emissions_driver':
emissions_driver.f90:(.text+0x4e84): undefined reference to `__shr_megan_mod_MOD_shr_megan_mechcomps_n'
/usr/bin/ld: emissions_driver.f90:(.text+0x4f26): undefined reference to `__shr_megan_mod_MOD_shr_megan_mechcomps'
/usr/bin/ld: emissions_driver.f90:(.text+0x4f2d): undefined reference to `__shr_megan_mod_MOD_shr_megan_mechcomps'
/usr/bin/ld: emissions_driver.f90:(.text+0x4fbe): undefined reference to `__shr_megan_mod_MOD_shr_megan_mechcomps'
/usr/bin/ld: emissions_driver.f90:(.text+0x4ff7): undefined reference to `__shr_megan_mod_MOD_shr_megan_mechcomps'
/usr/bin/ld: libwrflib.a(dry_dep_driver.o): in function `__module_dry_dep_driver_MOD_dry_dep_driver':
dry_dep_driver.f90:(.text+0xc24): undefined reference to `__module_cam_support_MOD_pcnst_runtime'
/usr/bin/ld: dry_dep_driver.f90:(.text+0xf6f): undefined reference to `__module_data_cam_mam_asect_MOD_lptr_chem_to_q'
/usr/bin/ld: dry_dep_driver.f90:(.text+0xf7b): undefined reference to `__module_data_cam_mam_asect_MOD_lptr_chem_to_q'
/usr/bin/ld: dry_dep_driver.f90:(.text+0x1258): undefined reference to `__modal_aero_data_MOD_lmassptr_amode'
/usr/bin/ld: dry_dep_driver.f90:(.text+0x125f): undefined reference to `__modal_aero_data_MOD_numptr_amode'
/usr/bin/ld: dry_dep_driver.f90:(.text+0x126b): undefined reference to `__modal_aero_data_MOD_nspec_amode'
/usr/bin/ld: libwrflib.a(solve_em.o): in function `solve_em_._omp_fn.44':
solve_em.f90:(.text+0x1ac39): undefined reference to `__module_microphysics_zero_out_MOD_microphysics_zero_outa'
/usr/bin/ld: solve_em.f90:(.text+0x1acaf): undefined reference to `__module_microphysics_zero_out_MOD_microphysics_zero_outa'
/usr/bin/ld: solve_em.f90:(.text+0x1ad25): undefined reference to `__module_microphysics_zero_out_MOD_microphysics_zero_outa'
/usr/bin/ld: solve_em.f90:(.text+0x1ad9b): undefined reference to `__module_microphysics_zero_out_MOD_microphysics_zero_outa'
/usr/bin/ld: solve_em.f90:(.text+0x1b1e9): undefined reference to `__module_microphysics_zero_out_MOD_microphysics_zero_outb'
/usr/bin/ld: solve_em.f90:(.text+0x1b25f): undefined reference to `__module_microphysics_zero_out_MOD_microp

You can refer attachment compiling.
tq :)
 

Attachments

Hi,

Apologies if you have already done this, but it looks as though this is not the first time the model has been compiled (based on KPP). Can you perform a "./clean -a" and then recompile to see if you get the same error? Thanks.

Jordan
 
Hi Jordan.
I''ve already done ./clean -a.
I'm using the platform Debian.
so, i've uninstall flex and install old flow {sudo apt-get install old-flex}.
so, when im compiling. its OK.

thank you :)

Ikhsan
 
Back
Top