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

Truncation error-maximum memory limit

njayashree
Beginner
346 Views
Machine architecture- Intel dual-Nocona (EMT64) 3.2 GHz based with 4 GB RAM .
The complier used is l_fc_p_9.0.021 with RHEL-4 64bit OS.
The following error occurred while compiling a program that requires more than 2GB memory.
We are using static memory allocation.

/tmp/ifort6dAX75.o(.text+0x28d): In function `MAIN__':
: relocation truncated to fit: R_X86_64_32S mat_
/tmp/ifort6dAX75.o(.text+0x2cb): In function `MAIN__':
: relocation truncated to fit: R_X86_64_32S mat_
/tmp/ifort6dAX75.o(.text+0x2eb): In function `MAIN__':
: relocation truncated to fit: R_X86_64_32S mat_
/tmp/ifort6dAX75.o(.text+0x35d): In function `MAIN__':
: relocation truncated to fit: R_X86_64_PC32 mat_
/tmp/ifort6dAX75.o(.text+0x388): In function `MAIN__':
: relocation truncated to fit: R_X86_64_PC32 mat_
/tmp/ifort6dAX75.o(.text+0x3b3): In function `MAIN__':
: relocation truncated to fit: R_X86_64_PC32 mat_
/tmp/ifort6dAX75.o(.text+0x450): In function `MAIN__':
: relocation truncated to fit: R_X86_64_32S all_
/tmp/ifort6dAX75.o(.text+0x496): In function `MAIN__':
: relocation truncated to fit: R_X86_64_PC32 all_
/tmp/ifort6dAX75.o(.text+0x50d): In function `MAIN__':
: relocation truncated to fit: R_X86_64_PC32 all_
/tmp/ifort6dAX75.o(.text+0x519): In function `MAIN__':
: relocation truncated to fit: R_X86_64_32S all_
/tmp/ifort6dAX75.o(.text+0x5d3): In function `MAIN__':
: additional relocation overflows omitted from the output
0 Kudos
4 Replies
TimP
Honored Contributor III
346 Views
Have you read earlier posts on this forum regarding x86-64 static memory limitations, and desirability of a more current compiler version?
0 Kudos
njayashree
Beginner
346 Views
I have checked the earlier posts. They do not address for the latest version of the fortran compiler version in my previous posting.
0 Kudos
njayashree
Beginner
346 Views
The following command allows unlimited memory for the executable of a single program.
ifort -i-dynamic -mcmodel=large -o filename


Thanks
0 Kudos
njayashree
Beginner
346 Views
I apologize for an error in the previous posting. The command is-

ifort -i-dynamic -mcmodel=large filename.f -o filename

The above allows unlimited memory for the executable of a single program in EMT64 based 4GB memory processor machine with intel fortran 90 compiler, version l_fc_p_9.0.021. Thanks
0 Kudos
Reply