<?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 Bad relocation R_X86_64_PC32 in libmkl_blacs_intelmpi20 in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Bad-relocation-R-X86-64-PC32-in-libmkl-blacs-intelmpi20/m-p/928428#M13527</link>
    <description>Hello there!&lt;BR /&gt;&lt;BR /&gt;I was trying to create a shared object library that contained the&lt;BR /&gt;MKL library components of interest to our application. I get the same error using either the Gnu or Intel compilers,&lt;BR /&gt;&lt;BR /&gt;g++-4.0.3 -shared -fpic -Wl,--export-dynamic -o libisc_mkl.so &lt;BR /&gt;reference.o -L/opt/intel/cmkl/8.1/lib/em64t &lt;BR /&gt;-lmkl_scalapack -lmkl_blacs_intelmpi20 -lmkl_lapack &lt;BR /&gt;-lmkl_em64t -lmkl -lguide&lt;BR /&gt;/usr/local/lib/gcc/x86_64-unknown-linux-gnu/4.0.3/../../../../x86_64-unknown-linux-gnu/bin/ld: /opt/intel/cmkl/8.1/lib/em64t/libmkl_blacs_intelmpi20.a(igesd2d_.o): relocation R_X86_64_PC32 against `BI_GetMpiGeType' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/local/lib/gcc/x86_64-unknown-linux-gnu/4.0.3/../../../../x86_64-unknown-linux-gnu/bin/ld: final link failed: Bad value&lt;BR /&gt;collect2: ld returned 1 exit status&lt;BR /&gt;&lt;BR /&gt;But curiously, if I use libmkl_blacs_intelmpi.a instead, the shared object creation works, but scalapack fails with runtime errors in MPI_Reduce complaining about bad types.&lt;BR /&gt;&lt;BR /&gt;Has anyone ever tried this or have suggestions?</description>
    <pubDate>Mon, 08 May 2006 19:05:41 GMT</pubDate>
    <dc:creator>Intel_C_Intel</dc:creator>
    <dc:date>2006-05-08T19:05:41Z</dc:date>
    <item>
      <title>Bad relocation R_X86_64_PC32 in libmkl_blacs_intelmpi20</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Bad-relocation-R-X86-64-PC32-in-libmkl-blacs-intelmpi20/m-p/928428#M13527</link>
      <description>Hello there!&lt;BR /&gt;&lt;BR /&gt;I was trying to create a shared object library that contained the&lt;BR /&gt;MKL library components of interest to our application. I get the same error using either the Gnu or Intel compilers,&lt;BR /&gt;&lt;BR /&gt;g++-4.0.3 -shared -fpic -Wl,--export-dynamic -o libisc_mkl.so &lt;BR /&gt;reference.o -L/opt/intel/cmkl/8.1/lib/em64t &lt;BR /&gt;-lmkl_scalapack -lmkl_blacs_intelmpi20 -lmkl_lapack &lt;BR /&gt;-lmkl_em64t -lmkl -lguide&lt;BR /&gt;/usr/local/lib/gcc/x86_64-unknown-linux-gnu/4.0.3/../../../../x86_64-unknown-linux-gnu/bin/ld: /opt/intel/cmkl/8.1/lib/em64t/libmkl_blacs_intelmpi20.a(igesd2d_.o): relocation R_X86_64_PC32 against `BI_GetMpiGeType' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/local/lib/gcc/x86_64-unknown-linux-gnu/4.0.3/../../../../x86_64-unknown-linux-gnu/bin/ld: final link failed: Bad value&lt;BR /&gt;collect2: ld returned 1 exit status&lt;BR /&gt;&lt;BR /&gt;But curiously, if I use libmkl_blacs_intelmpi.a instead, the shared object creation works, but scalapack fails with runtime errors in MPI_Reduce complaining about bad types.&lt;BR /&gt;&lt;BR /&gt;Has anyone ever tried this or have suggestions?</description>
      <pubDate>Mon, 08 May 2006 19:05:41 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Bad-relocation-R-X86-64-PC32-in-libmkl-blacs-intelmpi20/m-p/928428#M13527</guid>
      <dc:creator>Intel_C_Intel</dc:creator>
      <dc:date>2006-05-08T19:05:41Z</dc:date>
    </item>
  </channel>
</rss>

