Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
29282 Discussions

problem with Intel fortran 9.0 on em64t machine

horus9520
Beginner
454 Views
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 Kudos
1 Reply
harbers_a
Beginner
454 Views

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 Kudos
Reply