<?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 For future proofing, a good in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/Compiler-version-and-offloading-errors/m-p/1039611#M45492</link>
    <description>&lt;P&gt;For future proofing, a good suggestion from someone was an alternative to creating your own 14.0 run-time bundle is to use the &lt;STRONG&gt;Composer XE 2013 SP1 Redistributable Library package&lt;/STRONG&gt; available &lt;A href="https://software.intel.com/en-us/articles/redistributable-libraries-for-the-intel-c-and-fortran-composer-xe-2013-sp1-for-linux" target="_blank"&gt;here&lt;/A&gt;.&lt;/P&gt;</description>
    <pubDate>Wed, 29 Oct 2014 18:34:18 GMT</pubDate>
    <dc:creator>Kevin_D_Intel</dc:creator>
    <dc:date>2014-10-29T18:34:18Z</dc:date>
    <item>
      <title>Compiler version and offloading errors</title>
      <link>https://community.intel.com/t5/Software-Archive/Compiler-version-and-offloading-errors/m-p/1039609#M45490</link>
      <description>&lt;P&gt;while playing with the offloading examples found on this forum I ran into a little snag:&lt;/P&gt;

&lt;P&gt;host A: Scientific Linux 6.5, Intel compiler v14, Xeon Phi 7100, mpss 3.3.2 stack&lt;/P&gt;

&lt;P&gt;host B: CentOS 6.5, Intel compiler v15, 2 x Xeon Phi 5100, mpss 3.3.2 stack&lt;/P&gt;

&lt;P&gt;When I compile an offload example on host A, then copy it over to host B and I try to run it I get:&lt;/P&gt;

&lt;PRE class="brush:bash;"&gt;[hostB] $ ./offload1.icc14 
offload error: target executable is not available

&lt;/PRE&gt;

&lt;P&gt;It does not work even if I copy over the offload libraries from icc v14 to the new environment:&lt;/P&gt;

&lt;PRE class="brush:bash;"&gt;[hostB] $  LD_LIBRARY_PATH=icc14 ldd ./offload1.icc14 
        linux-vdso.so.1 =&amp;gt;  (0x00007fff3a8f7000)
        libm.so.6 =&amp;gt; /lib64/libm.so.6 (0x00007f8486329000)
        liboffload.so.5 =&amp;gt; icc14/liboffload.so.5 (0x00007f84860f7000)
        libcilkrts.so.5 =&amp;gt; icc14/libcilkrts.so.5 (0x00007f8485eb9000)
        libstdc++.so.6 =&amp;gt; /usr/lib64/libstdc++.so.6 (0x00007f8485bb3000)
        libgcc_s.so.1 =&amp;gt; /lib64/libgcc_s.so.1 (0x00007f848599c000)
        libpthread.so.0 =&amp;gt; /lib64/libpthread.so.0 (0x00007f848577f000)
        libc.so.6 =&amp;gt; /lib64/libc.so.6 (0x00007f84853eb000)
        libdl.so.2 =&amp;gt; /lib64/libdl.so.2 (0x00007f84851e6000)
        libimf.so =&amp;gt; icc14/libimf.so (0x00007f8484d1f000)
        libsvml.so =&amp;gt; icc14/libsvml.so (0x00007f8484128000)
        libirng.so =&amp;gt; icc14/libirng.so (0x00007f8483f20000)
        libiomp5.so =&amp;gt; icc14/libiomp5.so (0x00007f8483c05000)
        libintlc.so.5 =&amp;gt; icc14/libintlc.so.5 (0x00007f84839af000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f84865bf000)

[hostB] $ LD_LIBRARY_PATH=icc14 ./offload1.icc14 
offload error: cannot find MIC executable offload_main
offload error: cannot start process on the device 0 (error code 6)
&lt;/PRE&gt;

&lt;P&gt;I have seen error code 14 also).&lt;/P&gt;

&lt;P&gt;If I recompile the code everything runs fine under icc 15 as well, but how can I detect this situation? Ideally I would like to compile my code on one host and then distribute it to other nodes with Xeon Phi's. I do not know in advance which version of the icc software is installed on these nodes, so how can I ensure that my compiled program will be future proof?&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Oct 2014 12:17:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Compiler-version-and-offloading-errors/m-p/1039609#M45490</guid>
      <dc:creator>JJK</dc:creator>
      <dc:date>2014-10-29T12:17:29Z</dc:date>
    </item>
    <item>
      <title>I can reproduce this. There</title>
      <link>https://community.intel.com/t5/Software-Archive/Compiler-version-and-offloading-errors/m-p/1039610#M45491</link>
      <description>&lt;P&gt;I can reproduce this. There is a significant change between 14.0 and 15.0 related to the offload binary image. In 14.0 this was a shared object (DSO) and in 15.0 it is now an executable and that appears to be what's in play.&lt;/P&gt;

&lt;P&gt;When moving the 14.0 environment over, maybe you missed also grabbing the &lt;STRONG&gt;offload_main &lt;/STRONG&gt;file. That comes from a path like: &lt;STRONG&gt;&amp;lt;install-dir&amp;gt;/composer_xe_2013_sp1.4.211/compiler/lib/mic/&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;And you must ensure that &lt;STRONG&gt;MIC_LD_LIBRARY_PATH&lt;/STRONG&gt; refers to the location of &lt;STRONG&gt;offload_main&lt;/STRONG&gt; when the program executes.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Oct 2014 17:40:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Compiler-version-and-offloading-errors/m-p/1039610#M45491</guid>
      <dc:creator>Kevin_D_Intel</dc:creator>
      <dc:date>2014-10-29T17:40:57Z</dc:date>
    </item>
    <item>
      <title>For future proofing, a good</title>
      <link>https://community.intel.com/t5/Software-Archive/Compiler-version-and-offloading-errors/m-p/1039611#M45492</link>
      <description>&lt;P&gt;For future proofing, a good suggestion from someone was an alternative to creating your own 14.0 run-time bundle is to use the &lt;STRONG&gt;Composer XE 2013 SP1 Redistributable Library package&lt;/STRONG&gt; available &lt;A href="https://software.intel.com/en-us/articles/redistributable-libraries-for-the-intel-c-and-fortran-composer-xe-2013-sp1-for-linux" target="_blank"&gt;here&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Oct 2014 18:34:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Compiler-version-and-offloading-errors/m-p/1039611#M45492</guid>
      <dc:creator>Kevin_D_Intel</dc:creator>
      <dc:date>2014-10-29T18:34:18Z</dc:date>
    </item>
    <item>
      <title>OK, copying over the entire</title>
      <link>https://community.intel.com/t5/Software-Archive/Compiler-version-and-offloading-errors/m-p/1039612#M45493</link>
      <description>&lt;P&gt;OK, copying over the entire $MIC_LD_LIBRARY_PATH directory from the ICC 14 installation did the trick (I was too lazy to figure out if it was just the offload_main file). (icc14 = /opt/intel/composer_xe_2013_sp1.1.106 in my case).&lt;/P&gt;

&lt;P&gt;Vice versa for the icc15 (=/opt/intel/composer_xe_2015.0.090) files.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Thanks Kevin!&lt;/P&gt;</description>
      <pubDate>Fri, 31 Oct 2014 14:35:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Compiler-version-and-offloading-errors/m-p/1039612#M45493</guid>
      <dc:creator>JJK</dc:creator>
      <dc:date>2014-10-31T14:35:50Z</dc:date>
    </item>
    <item>
      <title>You're welcome. Glad that</title>
      <link>https://community.intel.com/t5/Software-Archive/Compiler-version-and-offloading-errors/m-p/1039613#M45494</link>
      <description>&lt;P&gt;You're welcome. Glad that worked out.&lt;/P&gt;

&lt;P&gt;In case someone else finds interest in this same scenario, there is also a &lt;STRONG&gt;Redistributable Library package for the Intel Parallel Studio XE 2015&lt;/STRONG&gt; available &lt;A href="https://software.intel.com/en-us/articles/redistributables-for-intel-parallel-studio-xe-2015-composer-edition-for-linux" target="_blank"&gt;here&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Fri, 31 Oct 2014 15:47:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Compiler-version-and-offloading-errors/m-p/1039613#M45494</guid>
      <dc:creator>Kevin_D_Intel</dc:creator>
      <dc:date>2014-10-31T15:47:39Z</dc:date>
    </item>
  </channel>
</rss>

