Problem compiling WRFV3.7.1

All things involving the setup (compiling, NetCDF, etc.) of the WRF Model itself.

Problem compiling WRFV3.7.1

Postby L1ks » Thu Oct 08, 2015 3:20 am

Hi,
I'm trying to install WRF on debian, but compilation fails building executables.
Errors are like this
Code: Select all
   ../../frame/pack_utils.o ../../frame/module_internal_header_util.o ../../frame/module_driver_constants.o ../../frame/module_machine.o ../../frame/module_wrf_error.o ../../frame/wrf_debug.o  libwrfio_int.a ; \
Registry error: unbalanced quotes in line:
rm -f module_wrf_error.o
/lib/cpp -P -I/home/imaginary/Documents/wrf/WRFV3/inc -DEM_CORE=1 -DNMM_CORE=0 -DNMM_MAX_DIM=2600 -DCOAMPS_CORE=0 -DDA_CORE=0 -DEXP_CORE=0 -DIWORDSIZE=4 -DDWORDSIZE=8 -DRWORDSIZE=4 -DLWORDSIZE=4 -DNONSTANDARD_SYSTEM_SUBR -DWRF_USE_CLM -DNO_IEEE_MODULE  -DDM_PARALLEL -DSTUBMPI -DNETCDF -DUSE_ALLOCATABLES -DGRIB1 -DINTIO -DLIMIT_ARGS -DCONFIG_BUF_LEN=65536 -DMAX_DOMAINS_F=21 -DMAX_HISTORY=25 -DNMM_NEST=0  -I. -traditional   module_wrf_error.F  > module_wrf_error.bb
cpp: error: module_state_description.F: No such file or directory
cpp: fatal error: no input files
/home/imaginary/Documents/wrf/WRFV3/tools/standard.exe module_wrf_error.bb | /lib/cpp -P -traditional > module_wrf_error.f90
rm -f module_wrf_error.b module_wrf_error.bb
time gfortran -o module_wrf_error.o -c -O2 -ftree-vectorize -funroll-loops -w -ffree-form -ffree-line-length-none -fconvert=big-endian -frecord-marker=4   -I../dyn_em -I../dyn_nmm   -I/home/imaginary/Documents/wrf/WRFV3/external/esmf_time_f90  -I/home/imaginary/Documents/wrf/WRFV3/main -I/home/imaginary/Documents/wrf/WRFV3/external/io_netcdf -I/home/imaginary/Documents/wrf/WRFV3/external/io_int -I/home/imaginary/Documents/wrf/WRFV3/frame -I/home/imaginary/Documents/wrf/WRFV3/share -I/home/imaginary/Documents/wrf/WRFV3/phys -I/home/imaginary/Documents/wrf/WRFV3/chem -I/home/imaginary/Documents/wrf/WRFV3/inc -I/usr/include    module_wrf_error.f90
module_streams.F:7:0: fatal error: switches_and_alarms.inc: No such file or directory
module_driver_constants.F:21:0: fatal error: model_data_order.inc: No such file or directory
module_domain_type.F:117:0: fatal error: state_subtypes.inc: No such file or directory
module_configure.F:8:0: fatal error: scalar_tables.inc: No such file or directory
module_alloc_space.h:149:0: fatal error: allocs.inc: No such file or directory
module_alloc_space.h:149:0: fatal error: allocs.inc: No such file or directory
module_alloc_space.h:149:0: fatal error: allocs.inc: No such file or directory
module_alloc_space.h:149:0: fatal error: allocs.inc: No such file or directory
module_alloc_space.h:149:0: fatal error: allocs.inc: No such file or directory
module_alloc_space.h:149:0: fatal error: allocs.inc: No such file or directory
module_alloc_space.h:149:0: fatal error: allocs.inc: No such file or directory
module_alloc_space.h:149:0: fatal error: allocs.inc: No such file or directory
module_alloc_space.h:149:0: fatal error: allocs.inc: No such file or directory
module_alloc_space.h:149:0: fatal error: allocs.inc: No such file or directory
nl_access_routines.F:1:25: fatal error: nl_config.inc: No such file or directory
nl_access_routines.F:1:25: fatal error: nl_config.inc: No such file or directory
nl_access_routines.F:1:25: fatal error: nl_config.inc: No such file or directory
nl_access_routines.F:1:25: fatal error: nl_config.inc: No such file or directory
nl_access_routines.F:1:25: fatal error: nl_config.inc: No such file or directory
nl_access_routines.F:1:25: fatal error: nl_config.inc: No such file or directory
nl_access_routines.F:1:25: fatal error: nl_config.inc: No such file or directory
nl_access_routines.F:1:25: fatal error: nl_config.inc: No such file or directory
nl_access_routines.F:1:25: fatal error: nl_config.inc: No such file or directory
nl_access_routines.F:1:25: fatal error: nl_config.inc: No such file or directory
nl_access_routines.F:1:25: fatal error: nl_config.inc: No such file or directory
nl_access_routines.F:1:25: fatal error: nl_config.inc: No such file or directory
nl_access_routines.F:1:25: fatal error: nl_config.inc: No such file or directory
nl_access_routines.F:1:25: fatal error: nl_config.inc: No such file or directory
nl_access_routines.F:1:25: fatal error: nl_config.inc: No such file or directory
nl_access_routines.F:1:25: fatal error: nl_config.inc: No such file or directory
module_domain.F:1713:0: fatal error: deallocs.inc: No such file or directory
module_comm_nesting_dm.F:30:0: fatal error: REGISTRY_COMM_NESTING_DM_subs.inc: No such file or directory
module_comm_dm_0.F:30:0: fatal error: REGISTRY_COMM_DM_0_subs.inc: No such file or directory
module_comm_dm_1.F:30:0: fatal error: REGISTRY_COMM_DM_1_subs.inc: No such file or directory
module_comm_dm_2.F:30:0: fatal error: REGISTRY_COMM_DM_2_subs.inc: No such file or directory
module_comm_dm_3.F:30:0: fatal error: REGISTRY_COMM_DM_3_subs.inc: No such file or directory
module_comm_dm_4.F:30:0: fatal error: REGISTRY_COMM_DM_PERIOD_subs.inc: No such file or directory
module_comm_dm.F:35:0: fatal error: REGISTRY_COMM_DM_subs.inc: No such file or directory
module_dm.b:3558:0: fatal error: dummy_new_args.inc: No such file or directory
module_io.F:59:0: fatal error: io_form_for_dataset.inc: No such file or directory
ar ru ../main/libwrflib.a module_driver_constants.o module_domain_type.o module_streams.o module_domain.o module_integrate.o module_timing.o module_configure.o module_tiles.o module_machine.o module_nesting.o module_wrf_error.o module_state_description.o module_sm.o module_io.o module_comm_dm.o module_comm_dm_0.o module_comm_dm_1.o module_comm_dm_2.o module_comm_dm_3.o module_comm_dm_4.o module_comm_nesting_dm.o module_dm.o module_quilt_outbuf_ops.o module_io_quilt.o module_intermediate_nmm.o module_cpl.o module_cpl_oasis3.o module_clear_halos.o wrf_num_bytes_between.o wrf_shutdown.o wrf_debug.o libmassv.o collect_on_comm.o hires_timer.o clog.o nl_get_0_routines.o nl_get_1_routines.o nl_get_2_routines.o nl_get_3_routines.o nl_get_4_routines.o nl_get_5_routines.o nl_get_6_routines.o nl_get_7_routines.o nl_set_0_routines.o nl_set_1_routines.o nl_set_2_routines.o nl_set_3_routines.o nl_set_4_routines.o nl_set_5_routines.o nl_set_6_routines.o nl_set_7_routines.o  module_alloc_space_0.o module_alloc_space_1.o module_alloc_space_2.o module_alloc_space_3.o module_alloc_space_4.o module_alloc_space_5.o module_alloc_space_6.o module_alloc_space_7.o module_alloc_space_8.o module_alloc_space_9.o
   ../../frame/pack_utils.o ../../frame/module_internal_header_util.o ../../frame/module_driver_constants.o ../../frame/module_machine.o ../../frame/module_wrf_error.o ../../frame/wrf_debug.o -L/home/imaginary/Documents/wrf/WRFV3/external/esmf_time_f90 -lesmf_time libwrfio_int.a ; \
gfortran: error: ../../frame/module_driver_constants.o: No such file or directory
gfortran: error: ../../frame/module_machine.o: No such file or directory
../frame/module_dm.F:3525:0: fatal error: dummy_new_args.inc: No such file or directory
../frame/module_configure.F:8:0: fatal error: scalar_tables.inc: No such file or directory
../frame/module_domain.F:1713:0: fatal error: deallocs.inc: No such file or directory
../frame/module_driver_constants.F:21:0: fatal error: model_data_order.inc: No such file or directory
mediation_interp_domain.F:33:0: fatal error: dummy_new_args.inc: No such file or directory
mediation_force_domain.F:40:0: fatal error: dummy_new_args.inc: No such file or directory
mediation_feedback_domain.F:52:0: fatal error: dummy_new_args.inc: No such file or directory
../frame/module_streams.F:7:0: fatal error: switches_and_alarms.inc: No such file or directory
../frame/module_io.F:59:0: fatal error: io_form_for_dataset.inc: No such file or directory
set_timekeeping.F:49:0: fatal error: set_timekeeping_defs.inc: No such file or directory
../frame/module_comm_dm.F:35:0: fatal error: REGISTRY_COMM_DM_subs.inc: No such file or directory
./solve_em.int:3:0: fatal error: dummy_new_args.inc: No such file or directory
module_io_domain.F:104:0: fatal error: module_io_domain_defs.inc: No such file or directory
wrf_bdyout.F:53:0: fatal error: wrf_bdyout.inc: No such file or directory
wrf_bdyin.F:54:0: fatal error: wrf_bdyin.inc: No such file or directory
dfi.F:3255:0: fatal error: actual_new_args.inc: No such file or directory
mediation_integrate.b:1231:0: fatal error: med_last_solve_io.inc: No such file or directory
mediation_wrfmain.F:73:0: fatal error: fine_stream_input.inc: No such file or directory
start_domain_em.int:3:0: fatal error: dummy_new_args.inc: No such file or directory
                  ar ru ../main/libwrflib.a module_cam_shr_kind_mod.o module_cam_support.o module_cam_shr_const_mod.o module_cam_physconst.o module_cam_cldwat.o module_cam_wv_saturation.o module_cam_esinti.o module_cam_gffgch.o module_cam_error_function.o module_cam_constituents.o module_cam_trb_mtn_stress.o module_cam_molec_diff.o module_cam_upper_bc.o module_cam_bl_diffusion_solver.o module_cam_bl_eddy_diff.o module_cam_mp_microp_aero.o module_cam_mp_cldwat2m_micro.o module_cam_mp_ndrop.o module_cam_mp_modal_aero_initialize_data_phys.o module_cam_mp_radconstants.o module_cam_mp_conv_water.o module_cam_mp_qneg3.o module_data_cam_mam_aero.o module_data_cam_mam_asect.o module_cam_infnan.o module_bl_ysu.o module_bl_shinhong.o module_bl_mrf.o module_bl_gfs.o module_bl_gfs2011.o module_bl_myjpbl.o module_bl_qnsepbl.o module_bl_acm.o module_bl_mynn.o module_bl_fogdes.o module_bl_gwdo.o module_bl_myjurb.o module_bl_boulac.o module_bl_camuwpbl_driver.o module_bl_mfshconvpbl.o module_shcu_camuwshcu_driver.o module_shcu_camuwshcu.o module_shcu_grims.o module_cu_camzm_driver.o module_cu_camzm.o module_bl_temf.o module_bl_gbmpbl.o module_cu_g3.o module_cu_kf.o module_cu_bmj.o module_cu_kfeta.o module_cu_mskf.o module_cu_tiedtke.o module_cu_ntiedtke.o module_cu_gd.o module_cu_gf.o module_cu_nsas.o module_cu_sas.o module_cu_mesosas.o module_cu_osas.o module_cu_kfcup.o module_mp_radar.o module_mp_kessler.o module_mp_lin.o module_mp_sbu_ylin.o module_mp_wsm3.o module_mp_wsm5.o module_mp_wsm6.o module_mp_etanew.o module_mp_HWRF.o module_mp_thompson.o module_mp_full_sbm.o module_mp_fast_sbm.o module_ltng_lpi.o module_mp_gsfcgce.o module_mp_morr_two_moment.o module_mp_milbrandt2mom.o module_mp_nssl_2mom.o module_mp_wdm5.o module_mp_wdm6.o module_mp_cammgmp_driver.o module_ra_sw.o module_ra_clWRF_support.o module_ra_gsfcsw.o module_ra_goddard.o module_ra_rrtm.o module_ra_rrtmg_lw.o module_ra_rrtmg_sw.o module_ra_rrtmg_lwf.o module_ra_rrtmg_swf.o module_ra_cam_support.o module_ra_cam.o module_ra_gfdleta.o module_ra_flg.o module_ra_HWRF.o module_ra_hs.o module_ra_aerosol.o module_sf_sfclay.o module_sf_sfclayrev.o module_sf_gfs.o module_sf_gfdl.o module_sf_slab.o module_sf_noahdrv.o module_sf_noahlsm.o module_sf_clm.o module_sf_ssib.o module_sf_noah_seaice.o module_sf_noah_seaice_drv.o module_sf_noahlsm_glacial_only.o module_sf_noahmp_groundwater.o module_sf_noahmpdrv.o module_sf_noahmplsm.o module_sf_noahmp_glacier.o module_sf_urban.o module_sf_bep.o module_sf_bep_bem.o module_sf_bem.o module_sf_pxlsm.o module_sf_pxlsm_data.o module_sf_ruclsm.o module_sf_sfcdiags.o module_sf_sfcdiags_ruclsm.o module_sf_sstskin.o module_sf_tmnupdate.o module_sf_ocean_driver.o module_sf_oml.o module_sf_3dpwp.o module_sf_myjsfc.o module_sf_qnsesfc.o module_sf_mynn.o module_sf_fogdes.o module_sf_pxsfclay.o module_sf_temfsfclay.o module_sf_idealscmsfclay.o module_sf_scmflux.o module_sf_scmskintemp.o module_physics_addtendc.o module_physics_init.o module_gfs_machine.o module_gfs_funcphys.o module_gfs_physcons.o module_progtm.o module_pbl_driver.o module_data_gocart_dust.o module_cumulus_driver.o module_shallowcu_driver.o module_microphysics_driver.o module_microphysics_zero_out.o module_mixactivate.o module_radiation_driver.o module_surface_driver.o module_lightning_driver.o module_ltng_cpmpr92z.o module_ltng_crmpr92.o module_ltng_iccg.o module_fdda_psufddagd.o module_fdda_spnudging.o module_fddagd_driver.o module_fddaobs_rtfdda.o module_fddaobs_driver.o module_wind_fitch.o module_sf_lake.o module_diagnostics_driver.o  \
                  ar ru ../main/libwrflib.a module_cam_shr_kind_mod.o module_cam_support.o module_cam_shr_const_mod.o module_cam_physconst.o module_cam_cldwat.o module_cam_wv_saturation.o module_cam_esinti.o module_cam_gffgch.o module_cam_error_function.o module_cam_constituents.o module_cam_trb_mtn_stress.o module_cam_molec_diff.o module_cam_upper_bc.o module_cam_bl_diffusion_solver.o module_cam_bl_eddy_diff.o module_cam_mp_microp_aero.o module_cam_mp_cldwat2m_micro.o module_cam_mp_ndrop.o module_cam_mp_modal_aero_initialize_data_phys.o module_cam_mp_radconstants.o module_cam_mp_conv_water.o module_cam_mp_qneg3.o module_data_cam_mam_aero.o module_data_cam_mam_asect.o module_cam_infnan.o module_bl_ysu.o module_bl_shinhong.o module_bl_mrf.o module_bl_gfs.o module_bl_gfs2011.o module_bl_myjpbl.o module_bl_qnsepbl.o module_bl_acm.o module_bl_mynn.o module_bl_fogdes.o module_bl_gwdo.o module_bl_myjurb.o module_bl_boulac.o module_bl_camuwpbl_driver.o module_bl_mfshconvpbl.o module_shcu_camuwshcu_driver.o module_shcu_camuwshcu.o module_shcu_grims.o module_cu_camzm_driver.o module_cu_camzm.o module_bl_temf.o module_bl_gbmpbl.o module_cu_g3.o module_cu_kf.o module_cu_bmj.o module_cu_kfeta.o module_cu_mskf.o module_cu_tiedtke.o module_cu_ntiedtke.o module_cu_gd.o module_cu_gf.o module_cu_nsas.o module_cu_sas.o module_cu_mesosas.o module_cu_osas.o module_cu_kfcup.o module_mp_radar.o module_mp_kessler.o module_mp_lin.o module_mp_sbu_ylin.o module_mp_wsm3.o module_mp_wsm5.o module_mp_wsm6.o module_mp_etanew.o module_mp_HWRF.o module_mp_thompson.o module_mp_full_sbm.o module_mp_fast_sbm.o module_ltng_lpi.o module_mp_gsfcgce.o module_mp_morr_two_moment.o module_mp_milbrandt2mom.o module_mp_nssl_2mom.o module_mp_wdm5.o module_mp_wdm6.o module_mp_cammgmp_driver.o module_ra_sw.o module_ra_clWRF_support.o module_ra_gsfcsw.o module_ra_goddard.o module_ra_rrtm.o module_ra_rrtmg_lw.o module_ra_rrtmg_sw.o module_ra_rrtmg_lwf.o module_ra_rrtmg_swf.o module_ra_cam_support.o module_ra_cam.o module_ra_gfdleta.o module_ra_flg.o module_ra_HWRF.o module_ra_hs.o module_ra_aerosol.o module_sf_sfclay.o module_sf_sfclayrev.o module_sf_gfs.o module_sf_gfdl.o module_sf_slab.o module_sf_noahdrv.o module_sf_noahlsm.o module_sf_clm.o module_sf_ssib.o module_sf_noah_seaice.o module_sf_noah_seaice_drv.o module_sf_noahlsm_glacial_only.o module_sf_noahmp_groundwater.o module_sf_noahmpdrv.o module_sf_noahmplsm.o module_sf_noahmp_glacier.o module_sf_urban.o module_sf_bep.o module_sf_bep_bem.o module_sf_bem.o module_sf_pxlsm.o module_sf_pxlsm_data.o module_sf_ruclsm.o module_sf_sfcdiags.o module_sf_sfcdiags_ruclsm.o module_sf_sstskin.o module_sf_tmnupdate.o module_sf_ocean_driver.o module_sf_oml.o module_sf_3dpwp.o module_sf_myjsfc.o module_sf_qnsesfc.o module_sf_mynn.o module_sf_fogdes.o module_sf_pxsfclay.o module_sf_temfsfclay.o module_sf_idealscmsfclay.o module_sf_scmflux.o module_sf_scmskintemp.o module_physics_addtendc.o module_physics_init.o module_gfs_machine.o module_gfs_funcphys.o module_gfs_physcons.o module_progtm.o module_pbl_driver.o module_data_gocart_dust.o module_cumulus_driver.o module_shallowcu_driver.o module_microphysics_driver.o module_microphysics_zero_out.o module_mixactivate.o module_radiation_driver.o module_surface_driver.o module_lightning_driver.o module_ltng_cpmpr92z.o module_ltng_crmpr92.o module_ltng_iccg.o module_fdda_psufddagd.o module_fdda_spnudging.o module_fddagd_driver.o module_fddaobs_rtfdda.o module_fddaobs_driver.o module_wind_fitch.o module_sf_lake.o module_diagnostics_driver.o  \
rm -f module_cam_error_function.o
/lib/cpp -P -I/home/imaginary/Documents/wrf/WRFV3/inc -DEM_CORE=1 -DNMM_CORE=0 -DNMM_MAX_DIM=2600 -DCOAMPS_CORE=0 -DDA_CORE=0 -DEXP_CORE=0 -DIWORDSIZE=4 -DDWORDSIZE=8 -DRWORDSIZE=4 -DLWORDSIZE=4 -DNONSTANDARD_SYSTEM_SUBR -DWRF_USE_CLM -DNO_IEEE_MODULE  -DDM_PARALLEL -DSTUBMPI -DNETCDF -DUSE_ALLOCATABLES -DGRIB1 -DINTIO -DLIMIT_ARGS -DCONFIG_BUF_LEN=65536 -DMAX_DOMAINS_F=21 -DMAX_HISTORY=25 -DNMM_NEST=0  -I. -traditional   module_cam_error_function.F  > module_cam_error_function.bb
/home/imaginary/Documents/wrf/WRFV3/tools/standard.exe module_cam_error_function.bb | /lib/cpp -P -traditional > module_cam_error_function.f90
rm -f module_cam_error_function.b module_cam_error_function.bb
time gfortran -o module_cam_error_function.o -c -O2 -ftree-vectorize -funroll-loops -w -ffree-form -ffree-line-length-none -fconvert=big-endian -frecord-marker=4   -I../dyn_em -I../dyn_nmm   -I/home/imaginary/Documents/wrf/WRFV3/external/esmf_time_f90  -I/home/imaginary/Documents/wrf/WRFV3/main -I/home/imaginary/Documents/wrf/WRFV3/external/io_netcdf -I/home/imaginary/Documents/wrf/WRFV3/external/io_int -I/home/imaginary/Documents/wrf/WRFV3/frame -I/home/imaginary/Documents/wrf/WRFV3/share -I/home/imaginary/Documents/wrf/WRFV3/phys -I/home/imaginary/Documents/wrf/WRFV3/chem -I/home/imaginary/Documents/wrf/WRFV3/inc -I/usr/include    module_cam_error_function.f90
../frame/module_dm.F:3525:0: fatal error: dummy_new_args.inc: No such file or directory
../frame/module_driver_constants.F:21:0: fatal error: model_data_order.inc: No such file or directory
../frame/module_comm_dm.F:35:0: fatal error: REGISTRY_COMM_DM_subs.inc: No such file or directory
../frame/module_domain.F:1713:0: fatal error: deallocs.inc: No such file or directory
../frame/module_configure.F:8:0: fatal error: scalar_tables.inc: No such file or directory
../frame/module_streams.F:7:0: fatal error: switches_and_alarms.inc: No such file or directory
module_radiation_driver.F:2414:0: fatal error: HALO_TOPOSHAD.inc: No such file or directory
module_fr_fire_driver.F:140:0: fatal error: HALO_FIRE_LFN.inc: No such file or directory
module_cumulus_driver.F:772:0: fatal error: HALO_CUP_G3_IN.inc: No such file or directory
../frame/module_domain.F:1713:0: fatal error: deallocs.inc: No such file or directory
../frame/module_configure.F:8:0: fatal error: scalar_tables.inc: No such file or directory
../phys/module_radiation_driver.F:2414:0: fatal error: HALO_TOPOSHAD.inc: No such file or directory
../phys/module_cumulus_driver.F:772:0: fatal error: HALO_CUP_G3_IN.inc: No such file or directory
../frame/module_comm_dm.F:35:0: fatal error: REGISTRY_COMM_DM_subs.inc: No such file or directory
../frame/module_dm.F:3525:0: fatal error: dummy_new_args.inc: No such file or directory
../frame/module_driver_constants.F:21:0: fatal error: model_data_order.inc: No such file or directory
../share/module_io_domain.F:104:0: fatal error: module_io_domain_defs.inc: No such file or directory
shift_domain_em.F:3:0: fatal error: dummy_new_args.inc: No such file or directory
couple_or_uncouple_em.F:5:0: fatal error: dummy_new_args.inc: No such file or directory
nest_init_utils.F:550:0: fatal error: dummy_new_args.inc: No such file or directory
module_sfs_driver.F:193:0: fatal error: HALO_EM_NBA_RIJ.inc: No such file or directory
module_after_all_rk_steps.F:140:0: fatal error: HALO_EM_PHYS_W.inc: No such file or directory
start_em.b:5:0: fatal error: dummy_new_args.inc: No such file or directory
module_first_rk_step_part2.F:300:0: fatal error: HALO_EM_TKE_C.inc: No such file or directory
module_first_rk_step_part1.F:182:0: fatal error: HALO_EM_PHYS_A.inc: No such file or directory
solve_em.F:5:0: fatal error: dummy_new_args.inc: No such file or directory
gfortran: error: wrf.o: No such file or directory
gfortran: error: ../main/module_wrf_top.o: No such file or directory
gfortran: error: libwrflib.a: No such file or directory
../dyn_em/module_initialize_real.F:58:0: fatal error: actual_new_args.inc: No such file or directory
../frame/module_domain.F:1713:0: fatal error: deallocs.inc: No such file or directory
../frame/module_driver_constants.F:21:0: fatal error: model_data_order.inc: No such file or directory
../frame/module_configure.F:8:0: fatal error: scalar_tables.inc: No such file or directory
../frame/module_dm.F:3525:0: fatal error: dummy_new_args.inc: No such file or directory
../share/module_io_domain.F:104:0: fatal error: module_io_domain_defs.inc: No such file or directory
gfortran: error: ndown_em.o: No such file or directory
gfortran: error: ../dyn_em/module_initialize_real.o: No such file or directory
gfortran: error: libwrflib.a: No such file or directory
gfortran: error: tc_em.o: No such file or directory
gfortran: error: ../dyn_em/module_initialize_real.o: No such file or directory
gfortran: error: libwrflib.a: No such file or directory
gfortran: error: real_em.o: No such file or directory
gfortran: error: ../dyn_em/module_initialize_real.o: No such file or directory
gfortran: error: libwrflib.a: No such file or directory
---> Problems building executables, look for errors in the build log  <---


Tests from this page run successfully.

What should i look into?
L1ks
 
Posts: 6
Joined: Wed Oct 07, 2015 2:42 am

Re: Problem compiling WRFV3.7.1

Postby Darius » Thu Oct 08, 2015 3:41 pm

Hi,

You got easy way. It is viewtopic.php?f=5&t=9172#p25188

I am using different compilation but I have tested it on ubuntu and centos and it is working like charm.

Try it.

D.L.
Darius
 
Posts: 9
Joined: Mon Sep 28, 2015 3:12 pm

Re: Problem compiling WRFV3.7.1

Postby L1ks » Tue Oct 13, 2015 5:12 pm

Darius wrote:Hi,

You got easy way. It is viewtopic.php?f=5&t=9172#p25188

I am using different compilation but I have tested it on ubuntu and centos and it is working like charm.

Try it.

D.L.


Well, I tried it on Ubuntu, and sadly the issue is the same.

I thought it had something to do with my gfortran version missing some features (configuration script printed a warning about IEEE Module), so I upgraded to version 5, where this had been added, but it didn't help.

compile_em_real.log https://paste.ee/p/OFgV1

PS: can't attach a file, btw
Code: Select all
Could not upload attachment to ./files/20878_be164e5cc76c85bac40c1b5091038acd.
L1ks
 
Posts: 6
Joined: Wed Oct 07, 2015 2:42 am

Re: Problem compiling WRFV3.7.1

Postby kwthomas » Wed Oct 14, 2015 6:31 pm

Hi...

This is caused by a typo in WRF 3.7.1.

Edit Registry/Registry.EM_COMMON. You want line 165. The last part of it says:

"PTROP, nearest neighbor interp "PA"

That should be:

"PTROP, nearest neighbor interp" "PA"

That should fix your missing quote.

The "wrfhelp" people added the problem and solution to the "Known Problems and Fixes" web page today.
Kevin W. Thomas
Center for Analysis and Prediction of Storms
University of Oklahoma
kwthomas
 
Posts: 246
Joined: Thu Aug 07, 2008 6:53 pm

Re: Problem compiling WRFV3.7.1

Postby L1ks » Thu Oct 15, 2015 6:39 pm

Well, yes, this fixed it. But there are still problems. The first one I see, is around lines 1270-1280 in compile log
Code: Select all
time gfortran -o libmassv.o -c -O2 -ftree-vectorize -funroll-loops -w -ffree-form -ffree-line-length-none -fconvert=big-endian -frecord-marker=4   -I../dyn_em -I../dyn_nmm   -I/home/imaginary/Documents/WRF/WRFV3/external/esmf_time_f90  -I/home/imaginary/Documents/WRF/WRFV3/main -I/home/imaginary/Documents/WRF/WRFV3/external/io_netcdf -I/home/imaginary/Documents/WRF/WRFV3/external/io_int -I/home/imaginary/Documents/WRF/WRFV3/frame -I/home/imaginary/Documents/WRF/WRFV3/share -I/home/imaginary/Documents/WRF/WRFV3/phys -I/home/imaginary/Documents/WRF/WRFV3/chem -I/home/imaginary/Documents/WRF/WRFV3/inc -I/usr/include    libmassv.f90
Killed
make[2]: [module_state_description.F] Error 137 (ignored)
rm -f collect_on_comm.o
gcc-5 -DFSEEKO64_OK  -o collect_on_comm.o -c -w -O3 -c  -DDM_PARALLEL -DSTUBMPI -DMAX_HISTORY=25 -DNMM_CORE=0 collect_on_comm.c
gcc-5 -DFSEEKO64_OK  -c -w -O3 -c  -DDM_PARALLEL -DSTUBMPI -DMAX_HISTORY=25 -DNMM_CORE=0 -DIWORDSIZE=4 pack_utils.c
0.90user 0.21system 0:07.40elapsed 15%CPU (0avgtext+0avgdata 27704maxresident)k
180192inputs+312outputs (942major+6253minor)pagefaults 0swaps
rm -f module_state_description.o
/usr/bin/cpp -P -I/home/imaginary/Documents/WRF/WRFV3/inc -DEM_CORE=1 -DNMM_CORE=0 -DNMM_MAX_DIM=2600 -DCOAMPS_CORE=0 -DDA_CORE=0 -DEXP_CORE=0 -DIWORDSIZE=4 -DDWORDSIZE=8 -DRWORDSIZE=4 -DLWORDSIZE=4 -DNONSTANDARD_SYSTEM_SUBR -DWRF_USE_CLM  -DDM_PARALLEL -DSTUBMPI -DNETCDF -DUSE_ALLOCATABLES -DGRIB1 -DINTIO -DLIMIT_ARGS -DCONFIG_BUF_LEN=65536 -DMAX_DOMAINS_F=21 -DMAX_HISTORY=25 -DNMM_NEST=0  -I. -traditional   module_state_description.F  > module_state_description.bb
cpp: error: module_state_description.F: No such file or directory
cpp: warning: ‘-x c’ after last input file has no effect
cpp: fatal error: no input files


Full log: http://paste.ee/p/zbUtt
L1ks
 
Posts: 6
Joined: Wed Oct 07, 2015 2:42 am

Re: Problem compiling WRFV3.7.1

Postby kwthomas » Thu Oct 15, 2015 6:52 pm

Hi...

The keyword is "killed". Two reasons come to mind.

Your compiler may have core dumped doing optimizations. This sometimes happens even with the best compilers.

Your computer ran out of memory, and runs the OOM (Out Of Memory) daemon. OOM zaps the top memory users. Without this, your computer could lockup or crash. Running "dmesg" (assuming Linux) should show this happening.

You might try later when you can confirm the usage is down. Use "top", if you have it.

If the problem persists, lower the optimization level for the compile, or at least for the offending files. You'll have to look around "configure.wrf" to find where/how to do this.
Kevin W. Thomas
Center for Analysis and Prediction of Storms
University of Oklahoma
kwthomas
 
Posts: 246
Joined: Thu Aug 07, 2008 6:53 pm

Re: Problem compiling WRFV3.7.1

Postby L1ks » Fri Oct 16, 2015 12:34 am

Yeah, exactly, it was OOM. It builds now. Thank you for help!
L1ks
 
Posts: 6
Joined: Wed Oct 07, 2015 2:42 am

Re: Problem compiling WRFV3.7.1

Postby ahwrf » Sat Nov 03, 2018 9:51 am

Would you please inform us about what you did exactly to handle this issue?
ahwrf
 
Posts: 13
Joined: Thu Dec 15, 2011 3:36 am
Location: Persia

Re: Problem compiling WRFV3.7.1

Postby kwthomas » Mon Nov 05, 2018 4:06 pm

The last problem was a compile failing with the WRF log file just saying "Killed".

The cause was the computer running out of memory during the compile.

When all the computer memory is used plus swap space, if configured, the computer operating system
has to take drastic actions. It will send SIGKILL (kill -9) to the top memory users until the memory usage is
more sane. This is logged as OOM, as in "Out Of Memory". "dmesg" (or "dmesg -T" on newer OS's) will
show if this action is taken. -T gives timestamps, though it isn't available on older systems.

Although this seems drastic, it is better than the alternative of everything hanging or the computer crashing
and rebooting.

You can use "top" to monitor memory usage.

You can try compiling again when the computer isn't memory busy. If the problem persists, you'll need
to reduce the compile optimization (-O# lines in configure.wrf).
Kevin W. Thomas
Center for Analysis and Prediction of Storms
University of Oklahoma
kwthomas
 
Posts: 246
Joined: Thu Aug 07, 2008 6:53 pm

Re: Problem compiling WRFV3.7.1

Postby ahwrf » Thu Nov 08, 2018 10:31 am

Thanks for the prompt reply. Unfortunately reducing the optimization level (changing all -O# to -O0) did not work for my case.
Due to some issues, I am using 32-bit Linux (Fedora 28). I never had such problem in 64-bit systems and even older 32-bit systems with earlier WRF versions (e.g. Fedora 19 with WRFV3.5).
ahwrf
 
Posts: 13
Joined: Thu Dec 15, 2011 3:36 am
Location: Persia

Next

Return to Installation

Who is online

Users browsing this forum: No registered users and 6 guests

cron