chuanping_lien@gmail_com
New Member
I got four kinds of errors when validating the porting. How can I fix the following errors? The attachment (20180820.zip) inlcudes my .bashrc , config_batch.xml , config_compilers.xml , config_machines.xml1: BUILD FAIL: buildexe failed2: buildlib.csm_share FAILED3: Client protocol gftp not enabled, Model datm missing fileThe details are shown in the file, "create_test_74.log". I think that the error of "Command qsub" is caused by the wrong setting in config_batch.xmlregularNow I am trying this setting batch 1. For "buildexe failed" Adding "-Wl,--no-relax" in LDFLAGS or "-mcmodel=medium" or "-shared_intel" did not fix the error.The detail can be found in the "config_compilers.xml". I found that this kind of error only appears in some cases.The following are the log files of executing../scripts_regression_tests.py --machine lasc 1> srt_74.txt 2>&1./cs.status.20180819_122005_pj4xle > cs.status.20180819_122005_pj4xle_create_test_74.log./create_test SMS.f19_g16.X.lasc_intel # create_test_pbs_SMS.f19_g16.X.lasc_intel.log # pbs sets as none./create_test SMS.f19_g16.X.lasc_intel > create_test_SMS.f19_g16.X.lasc_intel.log --------- the part of create_test_SMS.f19_g16.X.lasc_intel.log ---------------Phase 'RUN' for test 'SMS.f19_g16.X.lasc_intel' required more processors, 8, than this machine can provide, 6--------------------------------------------- # go to the machine with more processorsssh lasc7 cd /pub5/chuanping/opt_CESM_2.0/SMS.f19_g16.X.lasc_intel.20180819_162733_ro74w9./case.submit 1> create.submit_lasc7.log 2>&1 # It seems no error # However, I meet the error of "buildexe failed" in the case of building "B1850"# pbs is none./create_newcase --case case01 --res f19_g17 --compset B1850 1> create_newcase_case01.log 2>&1cd case01./case.setup 1> create.setup_case01.log 2>&1./case.build 1> create.build_case01.log 2>&1--------- the part of create.build_case01.log ---------------ERROR: BUILD FAIL: buildexe failed, cat /pub5/chuanping/opt_CESM_2.0/case01/bld/cesm.bldlog.180819-163926------------------------------------------------------------ vi /pub5/chuanping/opt_CESM_2.0/case01/bld/cesm.bldlog.180819-163926--------- the part of cesm.bldlog.180819-163926 ---------------mpif90 -o /pub5/chuanping/opt_CESM_2.0/case01/bld/cesm.exe cime_comp_mod.o cime_driver.o component_mod.o component_type_mod.o cplcomp_exchange_mod.o map_glc2lnd_mod.o map_lnd2glc_mod.o map_lnd2rof_irrig_mod.o mrg_mod.o prep_aoflux_mod.o prep_atm_mod.o prep_glc_mod.o prep_ice_mod.o prep_lnd_mod.o prep_ocn_mod.o prep_rof_mod.o prep_wav_mod.o seq_diag_mct.o seq_domain_mct.o seq_flux_mct.o seq_frac_mct.o seq_hist_mod.o seq_io_mod.o seq_map_mod.o seq_map_type_mod.o seq_rest_mod.o t_driver_timers_mod.o -L/pub5/chuanping/opt_CESM_2.0/case01/bld/lib/ -latm -L/pub5/chuanping/opt_CESM_2.0/case01/bld/lib/ -lice -L../../intel/mpich/nodebug/nothreads/mct/noesmf/lib/ -lclm -L/pub5/chuanping/opt_CESM_2.0/case01/bld/lib/ -locn -L/pub5/chuanping/opt_CESM_2.0/case01/bld/lib/ -lrof -L/pub5/chuanping/opt_CESM_2.0/case01/bld/lib/ -lglc -L/pub5/chuanping/opt_CESM_2.0/case01/bld/lib/ -lwav -L/pub5/chuanping/opt_CESM_2.0/case01/bld/lib/ -lesp -L../../glc/lib/ -lglimmercismfortran -L../../intel/mpich/nodebug/nothreads/mct/noesmf/c1a1l1i1o1r1g1w1e1/lib -lcsm_share -L../../intel/mpich/nodebug/nothreads/lib -lpio -lgptl -lmct -lmpeu -L/nishome/chuanping/modules_for_CESM2.0_v7/lib -lnetcdf -lnetcdff -mkl=cluster -mkl=cluster -L/nishome/chuanping/modules_for_CESM2.0_v7/mpich/lib -lmpi -mcmodel=medium -shared_intel /pub5/chuanping/opt_CESM_2.0/case01/bld/lib//libatm.a(rrtmg_lw_k_g.o): In function `lw_kgb03_':rrtmg_lw_k_g.f90:(.text+0x3c45f): relocation truncated to fit: R_X86_64_32 against symbol `rrlw_kg03_mp_kao_' defined in LARGE_COMMON section in /pub5/chuanping/opt_CESM_2.0/case01/bld/lib//libatm.a(rrlw_kg03.o)rrtmg_lw_k_g.f90:(.text+0x3c4c2): relocation truncated to fit: R_X86_64_32 against symbol `rrlw_kg03_mp_kao_' defined in LARGE_COMMON section in /pub5/chuanping/opt_CESM_2.0/case01/bld/lib//libatm.a(rrlw_kg03.o)rrtmg_lw_k_g.f90:(.text+0x3c538): relocation truncated to fit: R_X86_64_32 against symbol `rrlw_kg03_mp_kao_' defined in LARGE_COMMON section in /pub5/chuanping/opt_CESM_2.0/case01/bld/lib//libatm.a(rrlw_kg03.o)rrtmg_lw_k_g.f90:(.text+0x3c5ae): relocation truncated to fit: R_X86_64_32 against symbol `rrlw_kg03_mp_kao_' defined in LARGE_COMMON section in /pub5/chuanping/opt_CESM_2.0/case01/bld/lib//libatm.a(rrlw_kg03.o)rrtmg_lw_k_g.f90:(.text+0x3c624): relocation truncated to fit: R_X86_64_32 against symbol `rrlw_kg03_mp_kao_' defined in LARGE_COMMON section in /pub5/chuanping/opt_CESM_2.0/case01/bld/lib//libatm.a(rrlw_kg03.o)rrtmg_lw_k_g.f90:(.text+0x3c69a): relocation truncated to fit: R_X86_64_32 against symbol `rrlw_kg03_mp_kao_' defined in LARGE_COMMON section in /pub5/chuanping/opt_CESM_2.0/case01/bld/lib//libatm.a(rrlw_kg03.o)rrtmg_lw_k_g.f90:(.text+0x3c710): relocation truncated to fit: R_X86_64_32 against symbol `rrlw_kg03_mp_kao_' defined in LARGE_COMMON section in /pub5/chuanping/opt_CESM_2.0/case01/bld/lib//libatm.a(rrlw_kg03.o)rrtmg_lw_k_g.f90:(.text+0x3c78a): relocation truncated to fit: R_X86_64_32 against symbol `rrlw_kg03_mp_kao_' defined in LARGE_COMMON section in /pub5/chuanping/opt_CESM_2.0/case01/bld/lib//libatm.a(rrlw_kg03.o)rrtmg_lw_k_g.f90:(.text+0x3c806): relocation truncated to fit: R_X86_64_32 against symbol `rrlw_kg03_mp_kao_' defined in LARGE_COMMON section in /pub5/chuanping/opt_CESM_2.0/case01/bld/lib//libatm.a(rrlw_kg03.o)rrtmg_lw_k_g.f90:(.text+0x3c882): relocation truncated to fit: R_X86_64_32 against symbol `rrlw_kg03_mp_kao_' defined in LARGE_COMMON section in /pub5/chuanping/opt_CESM_2.0/case01/bld/lib//libatm.a(rrlw_kg03.o)rrtmg_lw_k_g.f90:(.text+0x3c8fe): additional relocation overflows omitted from the outputgmake: *** [/pub5/chuanping/opt_CESM_2.0/case01/bld/cesm.exe] Error 1------------------------------------------------------------ 2. For buildlib.csm_share FAILEDShould I intall esmf? Because I read the following message:vi /pub5/chuanping/opt_CESM_2.0/SMS_Ld1.f19_f19_mg16.FXSD.lasc_intel.cam-outfrq1d.20180819_122005_pj4xle/bld/csm_share.bldlog.180819-140301--------- the part of csm_share.bldlog.180819-140301 ---------------/nishome/chuanping/work/CESM2/my_cesm_sandbox/cime/src/share/util/shr_cal_mod.F90(40): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [ESMF] use esmf------^/nishome/chuanping/work/CESM2/my_cesm_sandbox/cime/src/share/util/shr_cal_mod.F90(237): error #6457: This derived type name has not been declared. [ESMF_TIME] type(ESMF_Time),intent(out) :: etime---------^/nishome/chuanping/work/CESM2/my_cesm_sandbox/cime/src/share/util/shr_cal_mod.F90(244): error #6457: This derived type name has not been declared. [ESMF_CALKIND_FLAG] type(ESMF_CALKIND_FLAG) :: calkind---------^/nishome/chuanping/work/CESM2/my_cesm_sandbox/cime/src/share/util/shr_cal_mod.F90(273): error #6457: This derived type name has not been declared. [ESMF_TIME] type(ESMF_Time),intent(out) :: etime---------^/nishome/chuanping/work/CESM2/my_cesm_sandbox/cime/src/share/util/shr_cal_mod.F90(281): error #6457: This derived type name has not been declared. [ESMF_CALKIND_FLAG] type(ESMF_CALKIND_FLAG) :: calkind---------^------------------------------------------------------------ 3. Client protocol gftp not enabled, Model datm missing fileI run create_test because of this reference: https://bb.cgd.ucar.edu/errors-validating-cesm-port./create_test SMS.f19_g16.X.lasc_intel # create_test_pbs_SMS.f19_g16.X.lasc_intel.log # pbs sets as none./create_test SMS.f19_g16.X.lasc_intel > create_test_SMS.f19_g16.X.lasc_intel.log --------- the part of create_test_SMS.f19_g16.X.lasc_intel.log ---------------Phase 'RUN' for test 'SMS.f19_g16.X.lasc_intel' required more processors, 8, than this machine can provide, 6--------------------------------------------- # go to the machine with more processorsssh lasc7 cd /pub5/chuanping/opt_CESM_2.0/SMS.f19_g16.X.lasc_intel.20180819_162733_ro74w9./case.submit 1> create.submit_lasc7.log 2>&1 # It seems no errors # And then I run this command:./check_input_data --download--------- the print on my screen ---------------Setting resource.RLIMIT_STACK to -1 from (10485760, -1)Loading input file list: 'Buildconf/cpl.input_data_list'---------------------------------------------Thanks very much.Chuanping