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:
Compile the fortran file with the following option

-mcmodel medium -shared-intel

Source Link: Intel Forum

Comments

Popular posts from this blog

VMD High Resolution Image and Movie

Inset Plot in GRACE (Xmgrace)