I tried to compile f90 codes. It gave me following errors. In my codes, a few double-precision variables have these dimensions: x(3, 300,100,3,9,44). I tried both pgi 6.1 and 7.1, and have use ‘-mcmodel=medium’ option. But, if I reduce the variable size to x(3,120,40,3,9,44), no compiling errors show up. Any help is highly appreciated.
pgf95 -c -fastsse -mcmodel=medium -O -llapack -lblas -c mod_para.f90
mod_para.f90:
pgf95 -c -fastsse -mcmodel=medium -O -llapack -lblas -c mod_ntretire.f90
mod_ntretire.f90:
pgf95 -c -fastsse -mcmodel=medium -O -llapack -lblas -c retire.f90
retire.f90:
pgf95 -fastsse -mcmodel=medium -O -o retire0 mod_para.o mod_ntretire.o retire.o -llapack -lblas
/usr/local/pgi712/linux86-64/7.1-2/lib/liblapack.a(dlamch.o)(.text+0x3a8): In function dlamc1_': : relocation truncated to fit: R_X86_64_PC32 .bss /usr/local/pgi712/linux86-64/7.1-2/lib/liblapack.a(dlamch.o)(.text+0x409): In function dlamc1_‘:
: relocation truncated to fit: R_X86_64_PC32 .bss
/usr/local/pgi712/linux86-64/7.1-2/lib/liblapack.a(dlamch.o)(.text+0x415): In function dlamc1_': : relocation truncated to fit: R_X86_64_PC32 .bss /usr/local/pgi712/linux86-64/7.1-2/lib/liblapack.a(dlamch.o)(.text+0x469): In function dlamc1_’:
: relocation truncated to fit: R_X86_64_PC32 .bss
/usr/local/pgi712/linux86-64/7.1-2/lib/liblapack.a(dlamch.o)(.text+0x47c): In function dlamc1_': : relocation truncated to fit: R_X86_64_PC32 .bss /usr/local/pgi712/linux86-64/7.1-2/lib/liblapack.a(dlamch.o)(.text+0x4ee): In function dlamc1_‘:
: relocation truncated to fit: R_X86_64_PC32 .bss
/usr/local/pgi712/linux86-64/7.1-2/lib/liblapack.a(dlamch.o)(.text+0x4f4): In function dlamc1_': : relocation truncated to fit: R_X86_64_PC32 .bss /usr/local/pgi712/linux86-64/7.1-2/lib/liblapack.a(dlamch.o)(.text+0x4fa): In function dlamc1_’:
: relocation truncated to fit: R_X86_64_PC32 .bss
/usr/local/pgi712/linux86-64/7.1-2/lib/liblapack.a(dlamch.o)(.text+0x526): In function dlamc1_': : relocation truncated to fit: R_X86_64_PC32 .bss /usr/local/pgi712/linux86-64/7.1-2/lib/liblapack.a(dlamch.o)(.text+0x52f): In function dlamc1_‘:
: relocation truncated to fit: R_X86_64_PC32 .bss
/usr/local/pgi712/linux86-64/7.1-2/lib/liblapack.a(dlamch.o)(.text+0x577): In function `dlamc1_’:
: additional relocation overflows omitted from the output
make: *** [retire0] Error 2
Thanks
xcst.