- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all,
I get some problems when I try to compile a code (VAC, Versatile Advection Code) in a
Intel Xeon CPU 2.80GHz machine. The compiler I am using is the fce ifort 9.1.039 version with the flags -FR -implicitnone -O3 -tpp7 -fpic -mcmodel=medium.
The error it gets is:
relocation truncated to fit: R_X86_64_PC32 .bss
(in fact, several of these ones)
I guess it is something related with the memory storage but how can I solve it? Can somebody give me a clue, please?
Thank you very much!
Rosa
I get some problems when I try to compile a code (VAC, Versatile Advection Code) in a
Intel Xeon CPU 2.80GHz machine. The compiler I am using is the fce ifort 9.1.039 version with the flags -FR -implicitnone -O3 -tpp7 -fpic -mcmodel=medium.
The error it gets is:
relocation truncated to fit: R_X86_64_PC32 .bss
(in fact, several of these ones)
I guess it is something related with the memory storage but how can I solve it? Can somebody give me a clue, please?
Thank you very much!
Rosa
Link Copied
7 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sorry, I have forgotten to say that the Kernel is 2.6.9 and the architecture x86_64 GNU/Linux :-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Try also adding -i-dynamic to the ifort line.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have tried also with the -i-dynamic flag, being now the compilation line:
/opt/intel/fce/9.1.039/bin/ifort -FR -implicitnone -O3 -tpp7 -fPIC -i-dynamic -mcmodel=large
and I have realized that the correct compilation depends on the size of the grid of my simulation. When the grid is not so big, the compilation finishes well, but from a number of points on, the compilation crashes.
So, how can I solve this problem?
I have run the code in an Altix machine (SGI Altix 3700 Bx2, kernel: 2.6.5, ia64 GNU/Linux, with the compiler fc_8.1.019 ifort, with the compilation line ifort -FR -implicitnone -O3 -tpp2) and everything worked well.
Thank you very much!
Rosa
/opt/intel/fce/9.1.039/bin/ifort -FR -implicitnone -O3 -tpp7 -fPIC -i-dynamic -mcmodel=large
and I have realized that the correct compilation depends on the size of the grid of my simulation. When the grid is not so big, the compilation finishes well, but from a number of points on, the compilation crashes.
So, how can I solve this problem?
I have run the code in an Altix machine (SGI Altix 3700 Bx2, kernel: 2.6.5, ia64 GNU/Linux, with the compiler fc_8.1.019 ifort, with the compilation line ifort -FR -implicitnone -O3 -tpp2) and everything worked well.
Thank you very much!
Rosa
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I don't have more suggestions for you. I suggest you send a test case to Intel Premier Support and ask for assistance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ok, thank you very much for your help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear Rosa,
Hello, I am Gelsomina Mattia of Bologna University
(Dept of Environmental Sciences). I am working in the framework
of an European Project to the implementation and use of a coupled physica-biogeochemical model of the Mediterranean Sea.
I am writing you because I carried out an internet search aime at solving some compilation problems I am experiencing with my code. I found a message you sent to http://softwarecommunity.intel.com
concerning the error message
relocation truncated to fit: R_X86_64_PC32 .bss
This is the very same error message I am getting and I am still receiving it also after following the suggestions you received
in reply to your message.
I just wanted to ask you if you could provide me with some more
additional information about the solution of theisx problem
(if any).
I am running my code using the intel compiler ifort version 10.0.23 and the processor is an opteron AMD 8214
Hello, I am Gelsomina Mattia of Bologna University
(Dept of Environmental Sciences). I am working in the framework
of an European Project to the implementation and use of a coupled physica-biogeochemical model of the Mediterranean Sea.
I am writing you because I carried out an internet search aime at solving some compilation problems I am experiencing with my code. I found a message you sent to http://softwarecommunity.intel.com
concerning the error message
relocation truncated to fit: R_X86_64_PC32 .bss
This is the very same error message I am getting and I am still receiving it also after following the suggestions you received
in reply to your message.
I just wanted to ask you if you could provide me with some more
additional information about the solution of theisx problem
(if any).
I am running my code using the intel compiler ifort version 10.0.23 and the processor is an opteron AMD 8214
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Applications containing more than 2 GB of static data should be built with
-mcmodel medium -shared-intel but WITHOUT -fpic
Please see the thread http://software.intel.com/en-us/forums/showthread.php?t=43717#18089 for further details.
(-shared-intel in recent compilers is the same as -i-dynamic in earlier compilers).

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