<?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 When building your app, try in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/Offload-problem/m-p/939435#M16670</link>
    <description>&lt;P&gt;When building your app, try adding the following option to the final link step: &lt;STRONG&gt;-offload-option,mic,ld,"--no-undefined"&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Hopefully this will expose the origin of the unresolved reference in the offload image and that might help understand how to address the issue.&lt;/P&gt;</description>
    <pubDate>Tue, 02 Jul 2013 21:19:38 GMT</pubDate>
    <dc:creator>Kevin_D_Intel</dc:creator>
    <dc:date>2013-07-02T21:19:38Z</dc:date>
    <item>
      <title>Offload problem</title>
      <link>https://community.intel.com/t5/Software-Archive/Offload-problem/m-p/939434#M16669</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;I'm working on a fairly complex application and I set out to try the MIC by offloading only a small part of the code to it. I ran into some dependecy issues, as the runtime required that I had a version of a library I use compiled for MIC, even though the offloaded code only needs simple math operations performed individually on elements of arrays. I setted the MIC_LD_LIBRARY_PATH to point to it (event though it is a static library...). It should copy the lib to the mic, however I still get this error:&lt;/P&gt;
&lt;P&gt;On the sink, dlopen() returned NULL. The result of dlerror() is "/tmp/coi_procs/1/7127/load_lib/icpcoutbzHVYr: undefined symbol: _ZN20TLorentzVectorWFlagsC1ERKS_"&lt;BR /&gt;On the remote process, dlopen() failed. The error message sent back from the sink is /tmp/coi_procs/1/7127/load_lib/icpcoutbzHVYr: undefined symbol: _ZN20TLorentzVectorWFlagsC1ERKS_&lt;BR /&gt;offload error: cannot load library to the device 0 (error code 20)&lt;/P&gt;
&lt;P&gt;The TLorentzVectorWFlags is a class, which inherits from a class of another library, of the said library, and it is not used in the offloaded code.&amp;nbsp;Note that the library was built using the comand&amp;nbsp;xiar -qoffload-build, ensuring that it was created a version for the host .&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2013 17:11:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Offload-problem/m-p/939434#M16669</guid>
      <dc:creator>André_P_1</dc:creator>
      <dc:date>2013-07-02T17:11:57Z</dc:date>
    </item>
    <item>
      <title>When building your app, try</title>
      <link>https://community.intel.com/t5/Software-Archive/Offload-problem/m-p/939435#M16670</link>
      <description>&lt;P&gt;When building your app, try adding the following option to the final link step: &lt;STRONG&gt;-offload-option,mic,ld,"--no-undefined"&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Hopefully this will expose the origin of the unresolved reference in the offload image and that might help understand how to address the issue.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2013 21:19:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Offload-problem/m-p/939435#M16670</guid>
      <dc:creator>Kevin_D_Intel</dc:creator>
      <dc:date>2013-07-02T21:19:38Z</dc:date>
    </item>
    <item>
      <title>That actually helped alot,</title>
      <link>https://community.intel.com/t5/Software-Archive/Offload-problem/m-p/939436#M16671</link>
      <description>&lt;P&gt;That actually helped alot, the compilation now gives an error of unresolved dependencies. I now know where the problem is. However I now get this error:&lt;/P&gt;
&lt;P&gt;offload error: cannot start process on the device 0 (error code 9)&lt;/P&gt;
&lt;P&gt;Can't find what it means, the OFFLOAD_REPORT data only states&amp;nbsp;[Offload] [HOST] &amp;nbsp;[State] &amp;nbsp; Unregister data tables...&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jul 2013 13:22:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Offload-problem/m-p/939436#M16671</guid>
      <dc:creator>André_P_1</dc:creator>
      <dc:date>2013-07-03T13:22:00Z</dc:date>
    </item>
    <item>
      <title>Feels like an offload</title>
      <link>https://community.intel.com/t5/Software-Archive/Offload-problem/m-p/939437#M16672</link>
      <description>&lt;P&gt;Feels like an offload initialization failure.&lt;/P&gt;
&lt;P&gt;So you changed something and now receive that error?&lt;/P&gt;
&lt;P&gt;Any chance you altered MIC_LD_LIBRARY_PATH and removed paths like these:&lt;/P&gt;
&lt;P&gt;MIC_LD_LIBRARY_PATH=/opt/intel/composer_xe_2013.5.192/compiler/lib/mic:/opt/intel/mic/coi/device-linux-release/lib:/opt/intel/mic/myo/lib&lt;/P&gt;
&lt;P&gt;These three are essential. (The compiler specific version you have may be differ from the 5.192 I'm showing).&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jul 2013 11:55:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Offload-problem/m-p/939437#M16672</guid>
      <dc:creator>Kevin_D_Intel</dc:creator>
      <dc:date>2013-07-04T11:55:00Z</dc:date>
    </item>
    <item>
      <title>Quote:Kevin Davis (Intel)</title>
      <link>https://community.intel.com/t5/Software-Archive/Offload-problem/m-p/939438#M16673</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Kevin Davis (Intel) wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Feels like an offload initialization failure.&lt;/P&gt;
&lt;P&gt;So you changed something and now receive that error?&lt;/P&gt;
&lt;P&gt;Any chance you altered MIC_LD_LIBRARY_PATH and removed paths like these:&lt;/P&gt;
&lt;P&gt;MIC_LD_LIBRARY_PATH=/opt/intel/composer_xe_2013.5.192/compiler/lib/mic:/opt/intel/mic/coi/device-linux-release/lib:/opt/intel/mic/myo/lib&lt;/P&gt;
&lt;P&gt;These three are essential. (The compiler specific version you have may be differ from the 5.192 I'm showing).&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;
&lt;P&gt;I have exactly the same, except I'm using the 4.183 version. Do these error codes have a description somewhere? I can't find it...&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jul 2013 12:30:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Offload-problem/m-p/939438#M16673</guid>
      <dc:creator>André_P_1</dc:creator>
      <dc:date>2013-07-04T12:30:59Z</dc:date>
    </item>
    <item>
      <title>The offload error message</title>
      <link>https://community.intel.com/t5/Software-Archive/Offload-problem/m-p/939439#M16674</link>
      <description>&lt;P&gt;The &lt;STRONG&gt;offload error&lt;/STRONG&gt; message continues to be a work in progress area. There is no single collection at present.&lt;/P&gt;
&lt;P&gt;The text accompanying the error offers some explanation as derived from COI result codes whose descriptions can be found in &lt;STRONG&gt;/opt/intel/mic/coi/include/common/COIResult_common.h&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;Development was unable to explain the error code 9 much beyond that a possible COI timeout occurred somewhere inside COI as per the COI_TIME_OUT_REACHED error code (COIResult_common.h) because for offload no timeouts are set when starting the target process.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jul 2013 10:29:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Offload-problem/m-p/939439#M16674</guid>
      <dc:creator>Kevin_D_Intel</dc:creator>
      <dc:date>2013-07-08T10:29:12Z</dc:date>
    </item>
  </channel>
</rss>

