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

problem with Intel fortran 9.0 on em64t machine

horus9520
초급자
412 조회수
intel fortran 9.0 in fedore core 4.0 on an em64t machine.

When I compile a program, the following error message appears:

/opt/intel/fce/9.0/lib/libifcore.a(for_diags_intel.o)(.text+0x277):./src/libfor/for_diags_intel.c: relocation truncated to fit: R_X86_64_PC32 against symbol `for__l_excpt_info' defined in COMMON section in /opt/intel/fce/9.0/lib/libifcore.a(for_init.o)


I tried to add '-mcmodel=medium' as suggested by someone, however it made no difference. By the way, when I type '# man ifort', I could not find the option '-mcmodel' in the manu.

Can anyone give me some hint on what the problem it might be? Thanks a lot!
0 포인트
1 응답
harbers_a
초급자
412 조회수

It seems you have static arrays of size > 2.1Gb. A solution is to make the large arrays run-time allocatable. This type of array does not have the 2.1Gb limit.

0 포인트
응답