<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Relocation error - please, help! in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/SOLVED-Relocation-error-please-help/m-p/752808#M8712</link>
    <description>Thank you, mecej4!&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;I need MKL for fast Fourier transform in my main code, of course I don't need it for the above test example.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;You gave me the right direction - I solved my problem (for the main code) by changing static linking to dynamic one. Seems, static linking is not possible in my case (though, I don't understand why)..&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;B&gt;Step 1&lt;/B&gt;: I set libraries path environment variable. Since MKL libraries are in/opt/intel/Compiler/11.1/073/mkl/lib/em64t, while ifort libraries - in/opt/intel/Compiler/11.1/073/lib/intel64, and I need them all, I had to use&lt;/DIV&gt;&lt;META content="text/html; charset=utf-8" http-equiv="content-type" /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV style="padding-left: 20pt;"&gt;export LD_LIBRARY_PATH=/opt/intel/Compiler/11.1/073/mkl/lib/em64t:/opt/intel/Compiler/11.1/073/lib/intel64&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;B&gt;Step 2&lt;/B&gt;. I asked &lt;A href="http://software.intel.com/en-us/articles/intel-mkl-link-line-advisor/"&gt;Intel Math Kernel Library Link Line Advisor&lt;/A&gt; concerning what are my options in case of dynamic linking. It gave me&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV style="padding-left: 20pt;" id="_mcePaste"&gt;-L$MKLROOT $MKLROOT/libmkl_solver_ilp64.a -Wl,--start-group -lmkl_intel_ilp64 -lmkl_intel_thread -lmkl_core -Wl,--end-group -openmp -lpthread&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;META content="text/html; charset=utf-8" http-equiv="content-type" /&gt;&lt;DIV id="_mcePaste"&gt;I don't know why, but "-openmp" option constantly leads to segmentation fault. So I had to change it by "-liomp5".I now successfully compile my code with the help of the following bash script:&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;DIV style="padding-left: 20pt;" id="_mcePaste"&gt;MKLROOT=/opt/intel/Compiler/11.1/073/mkl/lib/em64t/&lt;/DIV&gt;&lt;DIV style="padding-left: 20pt;" id="_mcePaste"&gt;INCLUDE_PATH=/opt/intel/Compiler/11.1/073/mkl/include/&lt;/DIV&gt;&lt;DIV style="padding-left: 20pt;" id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV style="padding-left: 20pt;" id="_mcePaste"&gt;ifort -w -c $INCLUDE_PATH"mkl_dfti.f90" -o mkl_dfti.o&lt;/DIV&gt;&lt;DIV style="padding-left: 20pt;" id="_mcePaste"&gt;ifort -xHOST -O2 -mcmodel=medium -shared-intel mkl_dfti.o ./&lt;META content="text/html; charset=utf-8" http-equiv="content-type" /&gt;my_code.f90 -L$MKLROOT $MKLROOT"libmkl_solver_ilp64.a" -Wl,--start-group -lmkl_intel_ilp64 -lmkl_intel_thread -lmkl_core -Wl,--end-group -liomp5 -lpthread -o ./my_code.sh&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;Again, thank you very much!&lt;/DIV&gt;&lt;META content="text/html; charset=utf-8" http-equiv="content-type" /&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Sun, 06 Feb 2011 16:13:11 GMT</pubDate>
    <dc:creator>dmitry424</dc:creator>
    <dc:date>2011-02-06T16:13:11Z</dc:date>
    <item>
      <title>[SOLVED] Relocation error - please, help!</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/SOLVED-Relocation-error-please-help/m-p/752803#M8707</link>
      <description>Hi everybody,&lt;DIV&gt;&lt;SPAN style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;I compile my code with the following bash script:&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;DIV style="padding-left: 20pt;" id="_mcePaste"&gt;LIB_PATH=/opt/intel/Compiler/11.1/073/mkl/lib/em64t/&lt;/DIV&gt;&lt;DIV style="padding-left: 20pt;" id="_mcePaste"&gt;INCLUDE_PATH=/opt/intel/Compiler/11.1/073/mkl/include/&lt;/DIV&gt;&lt;DIV style="padding-left: 20pt;" id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV style="padding-left: 20pt;" id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV style="padding-left: 20pt;" id="_mcePaste"&gt;ifort -w -c $INCLUDE_PATH"mkl_dfti.f90" -o mkl_dfti.o&lt;/DIV&gt;&lt;DIV style="padding-left: 20pt;" id="_mcePaste"&gt;ifort -static mkl_dfti.o ./my_code.f90 -L$LIB_PATH -Wl,--start-group $LIB_PATH"libmkl_intel_lp64.a" $LIB_PATH"libmkl_intel_thread.a" $LIB_PATH"libmkl_core.a" -Wl,--end-group -liomp5 -o ./my_code.sh&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;and have this output:&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;DIV style="padding-left: 20pt;" id="_mcePaste"&gt;/tmp/ifortSHuua2.o: In function `MAIN__':&lt;/DIV&gt;&lt;DIV style="padding-left: 20pt;" id="_mcePaste"&gt;./my_code.f90:(.text+0x86): relocation truncated to fit: R_X86_64_PC32 against `function_calculations$STRIDES_IN.0.3'&lt;/DIV&gt;&lt;DIV style="padding-left: 20pt;" id="_mcePaste"&gt;./my_code.f90:(.text+0x8e): relocation truncated to fit: R_X86_64_PC32 against `function_calculations$STRIDES_OUT.0.3'&lt;/DIV&gt;&lt;DIV style="padding-left: 20pt;" id="_mcePaste"&gt;./my_code.f90:(.text+0x108): relocation truncated to fit: R_X86_64_PC32 against `function_calculations$LENGTHS.0.3'&lt;/DIV&gt;&lt;DIV style="padding-left: 20pt;" id="_mcePaste"&gt;./my_code.f90:(.text+0x10f): relocation truncated to fit: R_X86_64_PC32 against `function_calculations$LENGTHS.0.3'&lt;/DIV&gt;&lt;DIV style="padding-left: 20pt;" id="_mcePaste"&gt;./my_code.f90:(.text+0x116): relocation truncated to fit: R_X86_64_PC32 against `function_calculations$LENGTHS.0.3'&lt;/DIV&gt;&lt;DIV style="padding-left: 20pt;" id="_mcePaste"&gt;./my_code.f90:(.text+0xd32): relocation truncated to fit: R_X86_64_32S against `function_calculations$var$104.0.3'&lt;/DIV&gt;&lt;DIV style="padding-left: 20pt;" id="_mcePaste"&gt;./my_code.f90:(.text+0xd49): relocation truncated to fit: R_X86_64_32S against `function_calculations$var$104.0.3'&lt;/DIV&gt;&lt;DIV style="padding-left: 20pt;" id="_mcePaste"&gt;./my_code.f90:(.text+0xd6a): relocation truncated to fit: R_X86_64_32S against `function_calculations$var$108.0.3'&lt;/DIV&gt;&lt;DIV style="padding-left: 20pt;" id="_mcePaste"&gt;./my_code.f90:(.text+0xd7d): relocation truncated to fit: R_X86_64_32S against `function_calculations$var$108.0.3'&lt;/DIV&gt;&lt;DIV style="padding-left: 20pt;" id="_mcePaste"&gt;./my_code.f90:(.text+0xdba): relocation truncated to fit: R_X86_64_32S against `function_calculations$var$100.0.3'&lt;/DIV&gt;&lt;DIV style="padding-left: 20pt;" id="_mcePaste"&gt;./my_code.f90:(.text+0xdec): additional relocation overflows omitted from the output&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;If I add-openmp, it goes well, but later I have segmentation fault. "-mcmodel=large -shared-intel" or "-mcmodel=medium -shared-intel" doesn't change the situation at all. When I change -static to -i_dynamic, I have:&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV style="padding-left: 20pt;" id="_mcePaste"&gt;./my_code.sh: error while loading shared libraries: libiomp5.so: cannot open shared object file: No such file or directory&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;and&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV style="padding-left: 20pt;" id="_mcePaste"&gt;export LD_LIBRARY_PATH=/opt/intel/Compiler/11.1/073/mkl/lib/em64t:; ./my_code.sh&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;doesn't help.&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;In my code I use large 3D arrays and MKL library (Intel Fast Fourier transform). I also use EQUIVALENCE statement (between 3D and 1D arraysfor these large arrays), so, if I understand correctly, allocatable variables will not work. I have similar code, but withoutEQUIVALENCE statements, it works with ~20Gb of RAM without any problems being compiled with the same bash script.&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;Could you please write me, is it possible to solve the problem without rewriting my code (especially, not removingEQUIVALENCE)?&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;Thank you very much in advance!&lt;/DIV&gt;&lt;META content="text/html; charset=utf-8" http-equiv="content-type" /&gt;&lt;META content="text/html; charset=utf-8" http-equiv="content-type" /&gt;&lt;META content="text/html; charset=utf-8" http-equiv="content-type" /&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Sat, 05 Feb 2011 05:21:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/SOLVED-Relocation-error-please-help/m-p/752803#M8707</guid>
      <dc:creator>dmitry424</dc:creator>
      <dc:date>2011-02-05T05:21:03Z</dc:date>
    </item>
    <item>
      <title>Relocation error - please, help!</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/SOLVED-Relocation-error-please-help/m-p/752804#M8708</link>
      <description>&lt;SPAN class="sectionbodytext"&gt;P.S.Below is how my code initially looked like (with 3D arrays). It is fast, readable, but doesn't work with npt&amp;gt;=256 (I need equivalent 1D arrays&lt;META content="text/html; charset=utf-8" http-equiv="content-type" /&gt;Bx_1D,&lt;META content="text/html; charset=utf-8" http-equiv="content-type" /&gt;By_1D,&lt;META content="text/html; charset=utf-8" http-equiv="content-type" /&gt;Bz_1D to work with 3D FFT).&lt;/SPAN&gt;&lt;DIV class="sectionbodytext"&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV class="sectionbodytext" style="padding-left: 40pt;" id="_mcePaste"&gt;program prog&lt;/DIV&gt;&lt;DIV class="sectionbodytext" style="padding-left: 40pt;" id="_mcePaste"&gt; Use MKL_DFTI&lt;/DIV&gt;&lt;DIV class="sectionbodytext" style="padding-left: 40pt;" id="_mcePaste"&gt; integer, parameter :: npt = 128&lt;/DIV&gt;&lt;DIV class="sectionbodytext" style="padding-left: 40pt;" id="_mcePaste"&gt; &lt;/DIV&gt;&lt;DIV class="sectionbodytext" style="padding-left: 40pt;" id="_mcePaste"&gt; FUNCTION_RESULT = function_calculations(...);&lt;/DIV&gt;&lt;DIV class="sectionbodytext" style="padding-left: 40pt;" id="_mcePaste"&gt; &lt;/DIV&gt;&lt;DIV class="sectionbodytext" style="padding-left: 40pt;" id="_mcePaste"&gt;contains&lt;/DIV&gt;&lt;DIV class="sectionbodytext" style="padding-left: 40pt;" id="_mcePaste"&gt;   function function_calculations(...)&lt;/DIV&gt;&lt;DIV class="sectionbodytext" style="padding-left: 40pt;" id="_mcePaste"&gt;     IMPLICIT NONE&lt;/DIV&gt;&lt;DIV class="sectionbodytext" style="padding-left: 40pt;" id="_mcePaste"&gt;     real(DP)  :: Bx(npt,npt,npt), By(npt,npt,npt), Bz(npt,npt,npt)&lt;/DIV&gt;&lt;DIV class="sectionbodytext" style="padding-left: 40pt;" id="_mcePaste"&gt;     real(DP)  :: Bx_1D(npt**3), By_1D(npt**3), Bz_1D(npt**3)&lt;/DIV&gt;&lt;DIV class="sectionbodytext" style="padding-left: 40pt;" id="_mcePaste"&gt;     &lt;/DIV&gt;&lt;DIV class="sectionbodytext" style="padding-left: 40pt;" id="_mcePaste"&gt;     equivalence (Bx_1D, Bx);&lt;/DIV&gt;&lt;DIV class="sectionbodytext" style="padding-left: 40pt;" id="_mcePaste"&gt;     equivalence (By_1D, By);&lt;/DIV&gt;&lt;DIV class="sectionbodytext" style="padding-left: 40pt;" id="_mcePaste"&gt;     equivalence (Bz_1D, Bz);&lt;/DIV&gt;&lt;DIV class="sectionbodytext" style="padding-left: 40pt;" id="_mcePaste"&gt;     &lt;/DIV&gt;&lt;DIV class="sectionbodytext" style="padding-left: 40pt;" id="_mcePaste"&gt;     CODE&lt;/DIV&gt;&lt;DIV class="sectionbodytext" style="padding-left: 40pt;" id="_mcePaste"&gt;     &lt;/DIV&gt;&lt;DIV class="sectionbodytext" style="padding-left: 40pt;" id="_mcePaste"&gt;   end function&lt;/DIV&gt;&lt;DIV class="sectionbodytext" style="padding-left: 40pt;" id="_mcePaste"&gt;end program&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="sectionbodytext" id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV class="sectionbodytext" id="_mcePaste"&gt;I rewrote the above code to work with 3D arrays as 1D arrays. It doesn't use EQUIVALENCE, it is slower with npt=128, significantly less readable, but it works with npt=256, 512, etc.&lt;/DIV&gt;&lt;META content="text/html; charset=utf-8" http-equiv="content-type" /&gt;&lt;META content="text/html; charset=utf-8" http-equiv="content-type" /&gt;&lt;META content="text/html; charset=utf-8" http-equiv="content-type" /&gt;&lt;META content="text/html; charset=utf-8" http-equiv="content-type" /&gt;&lt;DIV class="sectionbodytext" id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;DIV class="sectionbodytext" style="padding-left: 40pt;" id="_mcePaste"&gt;program prog&lt;/DIV&gt;&lt;DIV class="sectionbodytext" style="padding-left: 40pt;" id="_mcePaste"&gt; Use MKL_DFTI&lt;/DIV&gt;&lt;DIV class="sectionbodytext" style="padding-left: 40pt;" id="_mcePaste"&gt; integer, parameter :: npt=128&lt;/DIV&gt;&lt;DIV class="sectionbodytext" style="padding-left: 40pt;" id="_mcePaste"&gt; &lt;/DIV&gt;&lt;DIV class="sectionbodytext" style="padding-left: 40pt;" id="_mcePaste"&gt; FUNCTION_RESULT = function_calculations(npt, ...);&lt;/DIV&gt;&lt;DIV class="sectionbodytext" style="padding-left: 40pt;" id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV class="sectionbodytext" style="padding-left: 40pt;" id="_mcePaste"&gt;contains&lt;/DIV&gt;&lt;DIV class="sectionbodytext" style="padding-left: 40pt;" id="_mcePaste"&gt;   function function_calculations(npt, ...)&lt;/DIV&gt;&lt;DIV class="sectionbodytext" style="padding-left: 40pt;" id="_mcePaste"&gt;     IMPLICIT NONE&lt;/DIV&gt;&lt;DIV class="sectionbodytext" style="padding-left: 40pt;" id="_mcePaste"&gt;     integer   :: npt ...&lt;/DIV&gt;&lt;DIV class="sectionbodytext" style="padding-left: 40pt;" id="_mcePaste"&gt;     real(DP)  :: Bx(npt**3), By(npt**3), Bz(npt**3)&lt;/DIV&gt;&lt;DIV class="sectionbodytext" style="padding-left: 40pt;" id="_mcePaste"&gt;     &lt;/DIV&gt;&lt;DIV class="sectionbodytext" style="padding-left: 40pt;" id="_mcePaste"&gt;     CODE&lt;/DIV&gt;&lt;DIV class="sectionbodytext" style="padding-left: 40pt;" id="_mcePaste"&gt;     &lt;/DIV&gt;&lt;DIV class="sectionbodytext" style="padding-left: 40pt;" id="_mcePaste"&gt;   end function&lt;/DIV&gt;&lt;DIV class="sectionbodytext" style="padding-left: 40pt;" id="_mcePaste"&gt;end program&lt;/DIV&gt;&lt;DIV class="sectionbodytext" id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;META content="text/html; charset=utf-8" http-equiv="content-type" /&gt;&lt;SPAN class="sectionbodytext"&gt;Interesting that here I define "npt" variable two times - as global parameter, and then inside "function_calculations". I can remove "npt" definition in"function_calculations" and call this function the same style as I did in 3D code, "FUNCTION_RESULT = function_calculations(...)", but this leads to the same problems I described in my initial post in this thread: to relocation error. I.e. if I remove "npt" definition inside "function_calculations", I cannot compile this code with npt&amp;gt;=256.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="sectionbodytext" id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV class="sectionbodytext" id="_mcePaste"&gt;Could you please write me, is it possible to compile initial 3D code correctly, without relocation errors or segmentation faults?&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Sat, 05 Feb 2011 10:18:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/SOLVED-Relocation-error-please-help/m-p/752804#M8708</guid>
      <dc:creator>dmitry424</dc:creator>
      <dc:date>2011-02-05T10:18:45Z</dc:date>
    </item>
    <item>
      <title>Relocation error - please, help!</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/SOLVED-Relocation-error-please-help/m-p/752805#M8709</link>
      <description>It is difficult, if not impossible, to help when you provide only fragments of source code and leave out compiler and linker invocation command lines. For example, we know nothing about what is in my_code.f90 and my_code.sh. &lt;BR /&gt;&lt;BR /&gt;When running shell scripts, it is helpful while debugging to add the -x option.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 05 Feb 2011 23:43:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/SOLVED-Relocation-error-please-help/m-p/752805#M8709</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2011-02-05T23:43:33Z</dc:date>
    </item>
    <item>
      <title>Relocation error - please, help!</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/SOLVED-Relocation-error-please-help/m-p/752806#M8710</link>
      <description>&lt;B&gt;&lt;A rel="/en-us/services/profile/quick_profile.php?is_paid=&amp;amp;user_id=9662" class="basic" href="http://software.intel.com/en-us/profile/9662/"&gt;mecej4&lt;/A&gt;,&lt;/B&gt;&lt;DIV&gt;&lt;B&gt;&lt;/B&gt;&lt;/DIV&gt;&lt;DIV&gt;Thanks for your reply. Entire compilation script is in my initial post of this thread. "my_code.sh" - is the output for ifort compiler (i.e., it is my aim to compile this executable &lt;META http-equiv="content-type" content="text/html; charset=utf-8" /&gt;"my_code.sh" and then run it as "./&lt;META http-equiv="content-type" content="text/html; charset=utf-8" /&gt;my_code.sh").&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Concerning my code, OK, let's start from this simple example:&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV style="padding-left: 40pt;" id="_mcePaste"&gt;program prog&lt;/DIV&gt;&lt;DIV style="padding-left: 40pt;" id="_mcePaste"&gt; integer, parameter       :: DP = kind(0.0D0)&lt;/DIV&gt;&lt;DIV style="padding-left: 40pt;" id="_mcePaste"&gt; real(DP), parameter      :: pi = 3.141592653589793238_DP&lt;/DIV&gt;&lt;DIV style="padding-left: 40pt;" id="_mcePaste"&gt; integer, parameter       :: npt = 512&lt;/DIV&gt;&lt;DIV style="padding-left: 40pt;" id="_mcePaste"&gt; &lt;/DIV&gt;&lt;DIV style="padding-left: 40pt;" id="_mcePaste"&gt; real(DP)              :: x(npt), tspan, dx&lt;/DIV&gt;&lt;DIV style="padding-left: 40pt;" id="_mcePaste"&gt; integer               :: jx, jy, jz&lt;/DIV&gt;&lt;DIV style="padding-left: 40pt;" id="_mcePaste"&gt; &lt;/DIV&gt;&lt;DIV style="padding-left: 40pt;" id="_mcePaste"&gt; real(DP)              :: Bx(npt,npt,npt), By(npt,npt,npt)&lt;/DIV&gt;&lt;DIV style="padding-left: 40pt;" id="_mcePaste"&gt; real(DP)              :: Yx(npt,npt,npt), Yy(npt,npt,npt), Yz(npt,npt,npt)&lt;/DIV&gt;&lt;DIV style="padding-left: 40pt;" id="_mcePaste"&gt; real(DP)              :: Vx(npt,npt,npt), Vy(npt,npt,npt), Vz(npt,npt,npt)&lt;/DIV&gt;&lt;DIV style="padding-left: 40pt;" id="_mcePaste"&gt; real(DP)              :: Vx_1D(npt**3), Vy_1D(npt**3), Vz_1D(npt**3)&lt;/DIV&gt;&lt;DIV style="padding-left: 40pt;" id="_mcePaste"&gt; &lt;/DIV&gt;&lt;DIV style="padding-left: 40pt;" id="_mcePaste"&gt; equivalence (Vx_1D, Vx);&lt;/DIV&gt;&lt;DIV style="padding-left: 40pt;" id="_mcePaste"&gt; equivalence (Vy_1D, Vy);&lt;/DIV&gt;&lt;DIV style="padding-left: 40pt;" id="_mcePaste"&gt; equivalence (Vz_1D, Vz);&lt;/DIV&gt;&lt;DIV style="padding-left: 40pt;" id="_mcePaste"&gt; &lt;/DIV&gt;&lt;DIV style="padding-left: 40pt;" id="_mcePaste"&gt; tspan  = 2*pi;&lt;/DIV&gt;&lt;DIV style="padding-left: 40pt;" id="_mcePaste"&gt; dx   = tspan/npt;&lt;/DIV&gt;&lt;DIV style="padding-left: 40pt;" id="_mcePaste"&gt; do j = 1,npt&lt;/DIV&gt;&lt;DIV style="padding-left: 40pt;" id="_mcePaste"&gt;   x(j)    = (tspan/npt)*(  j - 1 - floor(0.5_DP*npt)  );&lt;/DIV&gt;&lt;DIV style="padding-left: 40pt;" id="_mcePaste"&gt; end do&lt;/DIV&gt;&lt;DIV style="padding-left: 40pt;" id="_mcePaste"&gt; &lt;/DIV&gt;&lt;DIV style="padding-left: 40pt;" id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV style="padding-left: 40pt;" id="_mcePaste"&gt; do jz = 1,npt&lt;/DIV&gt;&lt;DIV style="padding-left: 40pt;" id="_mcePaste"&gt;   do jy = 1,npt&lt;/DIV&gt;&lt;DIV style="padding-left: 40pt;" id="_mcePaste"&gt;     do jx = 1,npt&lt;/DIV&gt;&lt;DIV style="padding-left: 40pt;" id="_mcePaste"&gt;       Bx(jx, jy, jz)    = sin(x(jz));&lt;/DIV&gt;&lt;DIV style="padding-left: 40pt;" id="_mcePaste"&gt;       By(jx, jy, jz)    = sin(x(jx));&lt;/DIV&gt;&lt;DIV style="padding-left: 40pt;" id="_mcePaste"&gt;     end do&lt;/DIV&gt;&lt;DIV style="padding-left: 40pt;" id="_mcePaste"&gt;   end do&lt;/DIV&gt;&lt;DIV style="padding-left: 40pt;" id="_mcePaste"&gt; end do&lt;/DIV&gt;&lt;DIV style="padding-left: 40pt;" id="_mcePaste"&gt; &lt;/DIV&gt;&lt;DIV style="padding-left: 40pt;" id="_mcePaste"&gt; call Derivatives(Bx,dx,Vx,Vy,Vz);&lt;/DIV&gt;&lt;DIV style="padding-left: 40pt;" id="_mcePaste"&gt; call Derivatives(By,dx,Yx,Yy,Yz);&lt;/DIV&gt;&lt;DIV style="padding-left: 40pt;" id="_mcePaste"&gt; print *, "All done!"&lt;/DIV&gt;&lt;DIV style="padding-left: 40pt;" id="_mcePaste"&gt; &lt;/DIV&gt;&lt;DIV style="padding-left: 40pt;" id="_mcePaste"&gt;contains&lt;/DIV&gt;&lt;DIV style="padding-left: 40pt;" id="_mcePaste"&gt;   subroutine Derivatives(X,dx,Xx,Xy,Xz)&lt;/DIV&gt;&lt;DIV style="padding-left: 40pt;" id="_mcePaste"&gt;     IMPLICIT NONE&lt;/DIV&gt;&lt;DIV style="padding-left: 40pt;" id="_mcePaste"&gt;     real(DP)        :: X(npt,npt,npt), Xx(npt,npt,npt), Xy(npt,npt,npt), Xz(npt,npt,npt), dx&lt;/DIV&gt;&lt;DIV style="padding-left: 40pt;" id="_mcePaste"&gt;     &lt;/DIV&gt;&lt;DIV style="padding-left: 40pt;" id="_mcePaste"&gt;     Xx(2:npt-1,1:npt,1:npt) = (X(3:npt,1:npt,1:npt)-X(1:npt-2,1:npt,1:npt))/(2*dx);&lt;/DIV&gt;&lt;DIV style="padding-left: 40pt;" id="_mcePaste"&gt;     Xx(1,1:npt,1:npt)    = (X(2,1:npt,1:npt)-X(npt,1:npt,1:npt))/(2*dx);&lt;/DIV&gt;&lt;DIV style="padding-left: 40pt;" id="_mcePaste"&gt;     Xx(npt,1:npt,1:npt)   = (X(1,1:npt,1:npt)-X(npt-1,1:npt,1:npt))/(2*dx);&lt;/DIV&gt;&lt;DIV style="padding-left: 40pt;" id="_mcePaste"&gt;     &lt;/DIV&gt;&lt;DIV style="padding-left: 40pt;" id="_mcePaste"&gt;     Xy(1:npt,2:npt-1,1:npt) = (X(1:npt,3:npt,1:npt)-X(1:npt,1:npt-2,1:npt))/(2*dx);&lt;/DIV&gt;&lt;DIV style="padding-left: 40pt;" id="_mcePaste"&gt;     Xy(1:npt,1,1:npt)    = (X(1:npt,2,1:npt)-X(1:npt,npt,1:npt))/(2*dx);&lt;/DIV&gt;&lt;DIV style="padding-left: 40pt;" id="_mcePaste"&gt;     Xy(1:npt,npt,1:npt)   = (X(1:npt,1,1:npt)-X(1:npt,npt-1,1:npt))/(2*dx);&lt;/DIV&gt;&lt;DIV style="padding-left: 40pt;" id="_mcePaste"&gt;     &lt;/DIV&gt;&lt;DIV style="padding-left: 40pt;" id="_mcePaste"&gt;     Xz(1:npt,1:npt,2:npt-1) = (X(1:npt,1:npt,3:npt)-X(1:npt,1:npt,1:npt-2))/(2*dx);&lt;/DIV&gt;&lt;DIV style="padding-left: 40pt;" id="_mcePaste"&gt;     Xz(1:npt,1:npt,1)    = (X(1:npt,1:npt,2)-X(1:npt,1:npt,npt))/(2*dx);&lt;/DIV&gt;&lt;DIV style="padding-left: 40pt;" id="_mcePaste"&gt;     Xz(1:npt,1:npt,npt)   = (X(1:npt,1:npt,1)-X(1:npt,1:npt,npt-1))/(2*dx);&lt;/DIV&gt;&lt;DIV style="padding-left: 40pt;" id="_mcePaste"&gt;   end subroutine&lt;/DIV&gt;&lt;DIV style="padding-left: 40pt;" id="_mcePaste"&gt;end program&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;Compilation with&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;DIV style="padding-left: 20pt;" id="_mcePaste"&gt;LIB_PATH=/opt/intel/Compiler/11.1/073/mkl/lib/em64t/&lt;/DIV&gt;&lt;DIV style="padding-left: 20pt;" id="_mcePaste"&gt;INCLUDE_PATH=/opt/intel/Compiler/11.1/073/mkl/include/&lt;/DIV&gt;&lt;DIV style="padding-left: 20pt;" id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV style="padding-left: 20pt;" id="_mcePaste"&gt;ifort -i8 -w -c $INCLUDE_PATH"mkl_dfti.f90" -o mkl_dfti.o&lt;/DIV&gt;&lt;DIV style="padding-left: 20pt;" id="_mcePaste"&gt;ifort -i8 -static mkl_dfti.o ./my_code.f90 -L$LIB_PATH -Wl,--start-group $LIB_PATH"libmkl_intel_ilp64.a" $LIB_PATH"libmkl_intel_thread.a" $LIB_PATH"libmkl_core.a" -Wl,--end-group -o ./my_code.sh&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;gives&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;DIV style="padding-left: 20pt;" id="_mcePaste"&gt;/tmp/ifort7fwQWw.o: In function `MAIN__':&lt;/DIV&gt;&lt;DIV style="padding-left: 20pt;" id="_mcePaste"&gt;./my_code.f90:(.text+0x15c): relocation truncated to fit: R_X86_64_32 against `.bss'&lt;/DIV&gt;&lt;DIV style="padding-left: 20pt;" id="_mcePaste"&gt;./my_code.f90:(.text+0x17b): relocation truncated to fit: R_X86_64_32 against `.bss'&lt;/DIV&gt;&lt;DIV style="padding-left: 20pt;" id="_mcePaste"&gt;./my_code.f90:(.text+0x180): relocation truncated to fit: R_X86_64_32 against `.bss'&lt;/DIV&gt;&lt;DIV style="padding-left: 20pt;" id="_mcePaste"&gt;./my_code.f90:(.text+0x186): relocation truncated to fit: R_X86_64_32 against `.bss'&lt;/DIV&gt;&lt;DIV style="padding-left: 20pt;" id="_mcePaste"&gt;/opt/intel/Compiler/11.1/073/lib/intel64/libifcore.a(for_init.o): In function `for__signal_handler':&lt;/DIV&gt;&lt;DIV style="padding-left: 20pt;" id="_mcePaste"&gt;for_init.c:(.text+0xec): relocation truncated to fit: R_X86_64_PC32 against `for__protect_handler_ops'&lt;/DIV&gt;&lt;DIV style="padding-left: 20pt;" id="_mcePaste"&gt;for_init.c:(.text+0x117): relocation truncated to fit: R_X86_64_PC32 against `for__protect_handler_ops'&lt;/DIV&gt;&lt;DIV style="padding-left: 20pt;" id="_mcePaste"&gt;for_init.c:(.text+0x131): relocation truncated to fit: R_X86_64_PC32 against symbol `for__l_excpt_info' defined in .bss section in /opt/intel/Compiler/11.1/073/lib/intel64/libifcore.a(for_init.o)&lt;/DIV&gt;&lt;DIV style="padding-left: 20pt;" id="_mcePaste"&gt;for_init.c:(.text+0x14b): relocation truncated to fit: R_X86_64_PC32 against symbol `for__l_fpe_mask' defined in .bss section in /opt/intel/Compiler/11.1/073/lib/intel64/libifcore.a(for_init.o)&lt;/DIV&gt;&lt;DIV style="padding-left: 20pt;" id="_mcePaste"&gt;for_init.c:(.text+0x3a7): relocation truncated to fit: R_X86_64_PC32 against symbol `for__l_excpt_info' defined in .bss section in /opt/intel/Compiler/11.1/073/lib/intel64/libifcore.a(for_init.o)&lt;/DIV&gt;&lt;DIV style="padding-left: 20pt;" id="_mcePaste"&gt;for_init.c:(.text+0x3cd): relocation truncated to fit: R_X86_64_PC32 against symbol `for__l_excpt_info' defined in .bss section in /opt/intel/Compiler/11.1/073/lib/intel64/libifcore.a(for_init.o)&lt;/DIV&gt;&lt;DIV style="padding-left: 20pt;" id="_mcePaste"&gt;for_init.c:(.text+0x3fc): additional relocation overflows omitted from the output&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;When I add "-mcmodel=medium -shared-intel" to the last "ifort" line, I have&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV style="padding-left: 20pt;"&gt;/opt/intel/Compiler/11.1/073/lib/intel64/libifcore.a(for_init.o): In function `for__signal_handler':&lt;/DIV&gt;&lt;DIV style="padding-left: 20pt;"&gt;for_init.c:(.text+0xec): relocation truncated to fit: R_X86_64_PC32 against `for__protect_handler_ops'&lt;/DIV&gt;&lt;DIV style="padding-left: 20pt;"&gt;for_init.c:(.text+0x117): relocation truncated to fit: R_X86_64_PC32 against `for__protect_handler_ops'&lt;/DIV&gt;&lt;DIV style="padding-left: 20pt;"&gt;for_init.c:(.text+0x131): relocation truncated to fit: R_X86_64_PC32 against symbol `for__l_excpt_info' defined in .bss section in /opt/intel/Compiler/11.1/073/lib/intel64/libifcore.a(for_init.o)&lt;/DIV&gt;&lt;DIV style="padding-left: 20pt;"&gt;for_init.c:(.text+0x14b): relocation truncated to fit: R_X86_64_PC32 against symbol `for__l_fpe_mask' defined in .bss section in /opt/intel/Compiler/11.1/073/lib/intel64/libifcore.a(for_init.o)&lt;/DIV&gt;&lt;DIV style="padding-left: 20pt;"&gt;for_init.c:(.text+0x3a7): relocation truncated to fit: R_X86_64_PC32 against symbol `for__l_excpt_info' defined in .bss section in /opt/intel/Compiler/11.1/073/lib/intel64/libifcore.a(for_init.o)&lt;/DIV&gt;&lt;DIV style="padding-left: 20pt;"&gt;for_init.c:(.text+0x3cd): relocation truncated to fit: R_X86_64_PC32 against symbol `for__l_excpt_info' defined in .bss section in /opt/intel/Compiler/11.1/073/lib/intel64/libifcore.a(for_init.o)&lt;/DIV&gt;&lt;DIV style="padding-left: 20pt;"&gt;for_init.c:(.text+0x3fc): relocation truncated to fit: R_X86_64_PC32 against symbol `for__l_excpt_info' defined in .bss section in /opt/intel/Compiler/11.1/073/lib/intel64/libifcore.a(for_init.o)&lt;/DIV&gt;&lt;DIV style="padding-left: 20pt;"&gt;for_init.c:(.text+0x402): relocation truncated to fit: R_X86_64_PC32 against symbol `for__l_undcnt' defined in .bss section in /opt/intel/Compiler/11.1/073/lib/intel64/libifcore.a(for_init.o)&lt;/DIV&gt;&lt;DIV style="padding-left: 20pt;"&gt;for_init.c:(.text+0x423): relocation truncated to fit: R_X86_64_PC32 against symbol `for__l_excpt_info' defined in .bss section in /opt/intel/Compiler/11.1/073/lib/intel64/libifcore.a(for_init.o)&lt;/DIV&gt;&lt;DIV style="padding-left: 20pt;"&gt;for_init.c:(.text+0x45c): relocation truncated to fit: R_X86_64_PC32 against symbol `for__l_excpt_info' defined in .bss section in /opt/intel/Compiler/11.1/073/lib/intel64/libifcore.a(for_init.o)&lt;/DIV&gt;&lt;DIV style="padding-left: 20pt;"&gt;for_init.c:(.text+0x47d): additional relocation overflows omitted from the output&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;When I additionally add "-openmp", I have smooth compilation and segmentation fault of compiled "my_code.sh". "-i8" key changes nothing.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;If I use only one call of subroutine "Derivatives" (i.e., if I remove line "call Derivatives(By,dx,Yx,Yy,Yz);" from my code), then with options"-mcmodel=medium -shared-intel -openmp" I have smooth compilation and execution of"my_code.sh" even up to npt=2048, that is, in fact, a problem: one real double precision 3D array 2048^3 must take 66Gb of RAM, while I have only 8Gb. So, in fact, something goes wrong here also.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Link Line Advisor gives me&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV style="padding-left: 20pt;"&gt;&lt;META content="text/html; charset=utf-8" http-equiv="content-type" /&gt;$MKLROOT/libmkl_solver_ilp64.a -Wl,--start-group $MKLroot/libmkl_intel_ilp64.a $MKLroot/libmkl_intel_thread.a $MKLroot/libmkl_core.a -Wl,--end-group -openmp -lpthread&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;and this doesn't help.&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Sun, 06 Feb 2011 06:00:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/SOLVED-Relocation-error-please-help/m-p/752806#M8710</guid>
      <dc:creator>dmitry424</dc:creator>
      <dc:date>2011-02-06T06:00:26Z</dc:date>
    </item>
    <item>
      <title>Relocation error - please, help!</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/SOLVED-Relocation-error-please-help/m-p/752807#M8711</link>
      <description>For the code in #3, with npt=256, compiling with the command&lt;BR /&gt;&lt;BR /&gt; $ ifort -mcmodel medium -shared-intel my_code.f90&lt;BR /&gt;&lt;BR /&gt;creates an executable that runs to completion. For npt=512, the stack size is slightly over the 8GB of RAM on my machine, so the code does not run. However, raising the virtual memory limit with&lt;BR /&gt;&lt;BR /&gt; $ ulimit -v 16474720&lt;BR /&gt;&lt;BR /&gt;allows the program to run.&lt;BR /&gt;&lt;BR /&gt;For the test program that you gave in #3, I don't see why you need to link in the MKL.&lt;BR /&gt;&lt;BR /&gt;Martyn Corden's comments in this &lt;A href=" http://software.intel.com/en-us/forums/showthread.php?t=54173 "&gt;thread&lt;/A&gt; may be useful.</description>
      <pubDate>Sun, 06 Feb 2011 13:12:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/SOLVED-Relocation-error-please-help/m-p/752807#M8711</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2011-02-06T13:12:34Z</dc:date>
    </item>
    <item>
      <title>Relocation error - please, help!</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/SOLVED-Relocation-error-please-help/m-p/752808#M8712</link>
      <description>Thank you, mecej4!&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;I need MKL for fast Fourier transform in my main code, of course I don't need it for the above test example.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;You gave me the right direction - I solved my problem (for the main code) by changing static linking to dynamic one. Seems, static linking is not possible in my case (though, I don't understand why)..&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;B&gt;Step 1&lt;/B&gt;: I set libraries path environment variable. Since MKL libraries are in/opt/intel/Compiler/11.1/073/mkl/lib/em64t, while ifort libraries - in/opt/intel/Compiler/11.1/073/lib/intel64, and I need them all, I had to use&lt;/DIV&gt;&lt;META content="text/html; charset=utf-8" http-equiv="content-type" /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV style="padding-left: 20pt;"&gt;export LD_LIBRARY_PATH=/opt/intel/Compiler/11.1/073/mkl/lib/em64t:/opt/intel/Compiler/11.1/073/lib/intel64&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;B&gt;Step 2&lt;/B&gt;. I asked &lt;A href="http://software.intel.com/en-us/articles/intel-mkl-link-line-advisor/"&gt;Intel Math Kernel Library Link Line Advisor&lt;/A&gt; concerning what are my options in case of dynamic linking. It gave me&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV style="padding-left: 20pt;" id="_mcePaste"&gt;-L$MKLROOT $MKLROOT/libmkl_solver_ilp64.a -Wl,--start-group -lmkl_intel_ilp64 -lmkl_intel_thread -lmkl_core -Wl,--end-group -openmp -lpthread&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;META content="text/html; charset=utf-8" http-equiv="content-type" /&gt;&lt;DIV id="_mcePaste"&gt;I don't know why, but "-openmp" option constantly leads to segmentation fault. So I had to change it by "-liomp5".I now successfully compile my code with the help of the following bash script:&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;DIV style="padding-left: 20pt;" id="_mcePaste"&gt;MKLROOT=/opt/intel/Compiler/11.1/073/mkl/lib/em64t/&lt;/DIV&gt;&lt;DIV style="padding-left: 20pt;" id="_mcePaste"&gt;INCLUDE_PATH=/opt/intel/Compiler/11.1/073/mkl/include/&lt;/DIV&gt;&lt;DIV style="padding-left: 20pt;" id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV style="padding-left: 20pt;" id="_mcePaste"&gt;ifort -w -c $INCLUDE_PATH"mkl_dfti.f90" -o mkl_dfti.o&lt;/DIV&gt;&lt;DIV style="padding-left: 20pt;" id="_mcePaste"&gt;ifort -xHOST -O2 -mcmodel=medium -shared-intel mkl_dfti.o ./&lt;META content="text/html; charset=utf-8" http-equiv="content-type" /&gt;my_code.f90 -L$MKLROOT $MKLROOT"libmkl_solver_ilp64.a" -Wl,--start-group -lmkl_intel_ilp64 -lmkl_intel_thread -lmkl_core -Wl,--end-group -liomp5 -lpthread -o ./my_code.sh&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;Again, thank you very much!&lt;/DIV&gt;&lt;META content="text/html; charset=utf-8" http-equiv="content-type" /&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Sun, 06 Feb 2011 16:13:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/SOLVED-Relocation-error-please-help/m-p/752808#M8712</guid>
      <dc:creator>dmitry424</dc:creator>
      <dc:date>2011-02-06T16:13:11Z</dc:date>
    </item>
  </channel>
</rss>

