relocation truncated to fit: R_X86_64_PC32

/home_soft/soft/x86_64/compiler/intel/11.0/081/lib/intel64/libifcore.a(for_diags_intel.o): In function `for__message_catalog_close':
for_diags_intel.c:(.text+0x17): relocation truncated to fit: R_X86_64_PC32 against symbol `message_catalog' defined in COMMON section in /home_soft/soft/x86_64/compiler/intel/11.0/081/lib/intel64/libifcore.a(for_diags_intel.o)
/home_soft/soft/x86_64/compiler/intel/11.0/081/lib/intel64/libifcore.a(for_diags_intel.o): In function `for__io_return':
for_diags_intel.c:(.text+0x82a): relocation truncated to fit: R_X86_64_PC32 against symbol `for__user_iomsg_len' defined in .bss section in /home_soft/soft/x86_64/compiler/intel/11.0/081/lib/intel64/libifcore.a(for_diags_intel.o)
for_diags_intel.c:(.text+0x831): relocation truncated to fit: R_X86_64_PC32 against symbol `for__user_iomsg_buf' defined in .bss section in /home_soft/soft/x86_64/compiler/intel/11.0/081/lib/intel64/libifcore.a(for_diags_intel.o)
for_diags_intel.c:(.text+0x9ae): relocation truncated to fit: R_X86_64_PC32 against symbol `for__user_iomsg_len' defined in .bss section in /home_soft/soft/x86_64/compiler/intel/11.0/081/lib/intel64/libifcore.a(for_diags_intel.o)
for_diags_intel.c:(.text+0x9b5): relocation truncated to fit: R_X86_64_PC32 against symbol `for__user_iomsg_buf' defined in .bss section in /home_soft/soft/x86_64/compiler/intel/11.0/081/lib/intel64/libifcore.a(for_diags_intel.o)
for_diags_intel.c:(.text+0xb10): relocation truncated to fit: R_X86_64_PC32 against symbol `message_catalog' defined in COMMON section in /home_soft/soft/x86_64/compiler/intel/11.0/081/lib/intel64/libifcore.a(for_diags_intel.o)
for_diags_intel.c:(.text+0xb53): relocation truncated to fit: R_X86_64_PC32 against `tmp_ptr.0'
for_diags_intel.c:(.text+0xbd8): relocation truncated to fit: R_X86_64_PC32 against symbol `message_catalog' defined in COMMON section in /home_soft/soft/x86_64/compiler/intel/11.0/081/lib/intel64/libifcore.a(for_diags_intel.o)
for_diags_intel.c:(.text+0xc0a): relocation truncated to fit: R_X86_64_PC32 against `tmp_sev.0'
for_diags_intel.c:(.text+0xc1d): relocation truncated to fit: R_X86_64_PC32 against `tmp_ptr.0'
for_diags_intel.c:(.text+0xc29): additional relocation overflows omitted from the output

위의 오류는 옵션-mcmodel=medium을 추가하여 해결할 수 있습니다.
mpif90 -mcmodel=medium -shared-intel -o ddm  stagsimple.F solveuss.F  solvevss.F  solvewss.F ppoisson.F tdma.F
http://www.slac.stanford.edu/comp/unix/package/intel_tools/icc/mergedProjects/copts_cls/common_options/option_mcmodel.htm
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38988
http://docs.notur.no/uit/stallo_documentation/error/large-arrays-2gb-memory

좋은 웹페이지 즐겨찾기