Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Relocation truncated problem with large *allocatable* arrays

807575Aug 17 2010 — edited Aug 23 2010
Hello,

I am currently encountering a problem I don't really understand, with a f90 code in which I've just switched a whole load of
large arrays from static declaration (in modules) to allocatable (still in modules).
The reason for switching was to avoid the data limit in the .bss and thus allow larger computations on a given computer.

The code compiles and runs properly with the intel fortran compiler + mpich2.
With the sun compiler and mpich2, I still get relocation truncated errors during the linking phase, this time referring to the .lbss , such as :
...
new_interp_stuff_for_airfoil2.o: In function `initialize_interp_':
new_interp_stuff_for_airfoil2.f90:(.text+0xfc0f): relocation truncated to fit: R_X86_64_PC32 against symbol `maillage_curv.curv_rank_from_index_' defined in .lbss section in airfoil_allocatable.o
...

This occurs whether I specify xmodel=medium or not. If I reduce the size of the (allocatable) arrays, the linking phase completes successfully and the
resulting binary works as expected.

Am I missing anything obvious here? Can anyone point me towards a solution?
Many thanks,

Olivier M.


Environment:
linux 2.6.28 x86-64 (caos linux)
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 20 2010
Added on Aug 17 2010
1 comment
320 views