Handle large statically allocated data in fortran (> 2GB)
Typical error occurs in this case
fortranfile.f:someline numbe: relocation truncated to fit: R_X86_64_PC32 against `.bss'
fortranfile.f:someline numbe: additional relocation overflows omitted from the output
Solution:
fortranfile.f:someline numbe: relocation truncated to fit: R_X86_64_PC32 against `.bss'
fortranfile.f:someline numbe: additional relocation overflows omitted from the output
Compile the fortran file with the following option
-mcmodel medium -shared-intel
Source Link: Intel Forum
Comments
Post a Comment