Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

relocation

cellyn
Beginner
660 Views
hi,
i've met some problem when i trying to compile my file using ifort (V11.1). when i type as follow :

ifort -o tt DH_BARclin704_wind.F -L/usr/local/lib -I/usr/local/include -lnetcdf

i get these error :

/tmp/ifortwep1J3.o: In function `MAIN__':
DH_BARclin704_wind.F:(.text+0xb3): relocation truncated to fit: R_X86_64_PC32 against symbol `blkcon_' defined in COMMON section in /tmp/ifortwep1J3.o
DH_BARclin704_wind.F:(.text+0xcd): relocation truncated to fit: R_X86_64_PC32 against symbol `blkcon_' defined in COMMON section in /tmp/ifortwep1J3.o
DH_BARclin704_wind.F:(.text+0xd5): relocation truncated to fit: R_X86_64_PC32 against symbol `blkcon_' defined in COMMON section in /tmp/ifortwep1J3.o
DH_BARclin704_wind.F:(.text+0xe4): relocation truncated to fit: R_X86_64_PC32 against symbol `blkcon_' defined in COMMON section in /tmp/ifortwep1J3.o
DH_BARclin704_wind.F:(.text+0xef): relocation truncated to fit: R_X86_64_PC32 against symbol `blkcon_' defined in COMMON section in /tmp/ifortwep1J3.o
DH_BARclin704_wind.F:(.text+0xf6): relocation truncated to fit: R_X86_64_PC32 against symbol `blkcon_' defined in COMMON section in /tmp/ifortwep1J3.o
DH_BARclin704_wind.F:(.text+0xfc): relocation truncated to fit: R_X86_64_PC32 against symbol `blkcon_' defined in COMMON section in /tmp/ifortwep1J3.o
DH_BARclin704_wind.F:(.text+0x107): relocation truncated to fit: R_X86_64_PC32 against symbol `blkcon_' defined in COMMON section in /tmp/ifortwep1J3.o
DH_BARclin704_wind.F:(.text+0x10d): relocation truncated to fit: R_X86_64_PC32 against symbol `blkcon_' defined in COMMON section in /tmp/ifortwep1J3.o
DH_BARclin704_wind.F:(.text+0x15a): relocation truncated to fit: R_X86_64_PC32 against symbol `blkcon_' defined in COMMON section in /tmp/ifortwep1J3.o DH_BARclin704_wind.F:(.text+0x18e): additional relocation overflows omitted from the output


i try to add in -mcmodel=medium -shared-intel, but it did not solve my problem. anybody can help me in this problem?
thanks.
0 Kudos
1 Reply
mecej4
Honored Contributor III
660 Views
Which OS/version and compiler version, please? Run uname -a and ifort -V and show us the output.

It would also help to know how the NetCDF library was prepared (whether it contains X64 code or IA32 code).
0 Kudos
Reply