kashyapamlesh@gmail_com
New Member
Hi all, I had made some changes to the long waves module radlw.F90 for CAM4 (CESM 1.2.2).(I am trying to offload to Xeon Phi). The code runs fine with resolutions f19_g16, and even with f05_g16. But when I run it with f02_g16, it generated a compile time error in the cesm buildlog file. Here's the error - /tmp/ifortZA49IsMIC.a(radlw.o): In function `__offload_entry_radlw_F90_519radlw_mp_radclwmx_ifort010380287657un9u8u':/storage/home/amlesh/optimize/cesm1_2_2/cases/highestres/SourceMods/src.cam/radlw.F90:(.text+0x1ca): relocation truncated to fit: R_X86_64_32S against symbol `wv_saturation_mp_plenest_' defined in COMMON section in /tmp/ifortZA49IsMIC.a(wv_saturation.o)/storage/home/amlesh/optimize/cesm1_2_2/cases/highestres/SourceMods/src.cam/radlw.F90:(.text+0x1d3): relocation truncated to fit: R_X86_64_32S against symbol `wv_saturation_mp_omeps_' defined in COMMON section in /tmp/ifortZA49IsMIC.a(wv_saturation.o)/storage/home/amlesh/optimize/cesm1_2_2/cases/highestres/SourceMods/src.cam/radlw.F90:(.text+0x1dc): relocation truncated to fit: R_X86_64_32S against symbol `wv_sat_methods_mp_ttrice_' defined in COMMON section in /tmp/ifortZA49IsMIC.a(wv_sat_methods.o)/storage/home/amlesh/optimize/cesm1_2_2/cases/highestres/SourceMods/src.cam/radlw.F90:(.text+0x1e5): relocation truncated to fit: R_X86_64_32S against symbol `wv_sat_methods_mp_omeps_' defined in COMMON section in /tmp/ifortZA49IsMIC.a(wv_sat_methods.o)/storage/home/amlesh/optimize/cesm1_2_2/cases/highestres/SourceMods/src.cam/radlw.F90:(.text+0x1ee): relocation truncated to fit: R_X86_64_32S against symbol `wv_sat_methods_mp_epsilo_' defined in COMMON section in /tmp/ifortZA49IsMIC.a(wv_sat_methods.o)/storage/home/amlesh/optimize/cesm1_2_2/cases/highestres/SourceMods/src.cam/radlw.F90:(.text+0x1f7): relocation truncated to fit: R_X86_64_32S against symbol `wv_sat_methods_mp_tboil_' defined in COMMON section in /tmp/ifortZA49IsMIC.a(wv_sat_methods.o)/storage/home/amlesh/optimize/cesm1_2_2/cases/highestres/SourceMods/src.cam/radlw.F90:(.text+0x200): relocation truncated to fit: R_X86_64_32S against symbol `wv_sat_methods_mp_h2otrip_' defined in COMMON section in /tmp/ifortZA49IsMIC.a(wv_sat_methods.o)/storage/home/amlesh/optimize/cesm1_2_2/cases/highestres/SourceMods/src.cam/radlw.F90:(.text+0x209): relocation truncated to fit: R_X86_64_32S against symbol `wv_sat_methods_mp_tmelt_' defined in COMMON section in /tmp/ifortZA49IsMIC.a(wv_sat_methods.o)/storage/home/amlesh/optimize/cesm1_2_2/cases/highestres/SourceMods/src.cam/radlw.F90:(.text+0x3a6): relocation truncated to fit: R_X86_64_32S against symbol `spmd_utils_mp_iam_' defined in COMMON section in /tmp/ifortZA49IsMIC.a(spmd_utils.o)/tmp/ifortZA49IsMIC.a(wv_sat_methods.o): In function `wv_sat_methods_mp_wv_sat_svp_to_qsat_':/storage/home/amlesh/optimize/cesm1_2_2/cases/highestres/SourceMods/src.cam/wv_sat_methods.F90:(.text+0x7c): relocation truncated to fit: R_X86_64_PC32 against symbol `wv_sat_methods_mp_epsilo_' defined in COMMON section in /tmp/ifortZA49IsMIC.a(wv_sat_methods.o)/storage/home/amlesh/optimize/cesm1_2_2/cases/highestres/SourceMods/src.cam/wv_sat_methods.F90:(.text+0xa0): additional relocation overflows omitted from the outputgmake: *** [/home/amlesh/optimize/cesm1_2_2/cases/highestres/exe/cesm.exe] Error 1 I had imported some global variables from other modules to radlw.F90, and had renamed them before using. Please suggest what can be done. Thanks.