- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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!
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!
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page