<?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 error when using icpc to compile a program which uses coi library in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/error-when-using-icpc-to-compile-a-program-which-uses-coi/m-p/934514#M15525</link>
    <description>&lt;P&gt;hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;I got the following error, when use icpc to compile a program which is using coi library.&lt;/P&gt;
&lt;P&gt;ld: skipping incompatible /opt/intel/mic/coi/device-linux-debug/lib/libcoi_device.so when searching for -lcoi_device&lt;BR /&gt;ld: cannot find -lcoi_device&lt;/P&gt;
&lt;P&gt;The command I use is&amp;nbsp;&lt;/P&gt;
&lt;P&gt;icpc -L/opt/intel/mic/coi/device-linux-debug/lib -I /opt/intel/mic/coi/include -I ../../../include -lcoi_device -lpthread -rdynamic -Wl,--enable-new-dtags -g -O0 -D_DEBUG -openmp -DTHREADS=200 -openmp-report -o debug/kmeans-seq-sink kmeans-seq-sink.c&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; any hints or suggestions?&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; thanks a lot!&lt;/P&gt;</description>
    <pubDate>Thu, 27 Jun 2013 01:10:38 GMT</pubDate>
    <dc:creator>songlinhai</dc:creator>
    <dc:date>2013-06-27T01:10:38Z</dc:date>
    <item>
      <title>error when using icpc to compile a program which uses coi library</title>
      <link>https://community.intel.com/t5/Software-Archive/error-when-using-icpc-to-compile-a-program-which-uses-coi/m-p/934514#M15525</link>
      <description>&lt;P&gt;hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;I got the following error, when use icpc to compile a program which is using coi library.&lt;/P&gt;
&lt;P&gt;ld: skipping incompatible /opt/intel/mic/coi/device-linux-debug/lib/libcoi_device.so when searching for -lcoi_device&lt;BR /&gt;ld: cannot find -lcoi_device&lt;/P&gt;
&lt;P&gt;The command I use is&amp;nbsp;&lt;/P&gt;
&lt;P&gt;icpc -L/opt/intel/mic/coi/device-linux-debug/lib -I /opt/intel/mic/coi/include -I ../../../include -lcoi_device -lpthread -rdynamic -Wl,--enable-new-dtags -g -O0 -D_DEBUG -openmp -DTHREADS=200 -openmp-report -o debug/kmeans-seq-sink kmeans-seq-sink.c&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; any hints or suggestions?&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; thanks a lot!&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jun 2013 01:10:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/error-when-using-icpc-to-compile-a-program-which-uses-coi/m-p/934514#M15525</guid>
      <dc:creator>songlinhai</dc:creator>
      <dc:date>2013-06-27T01:10:38Z</dc:date>
    </item>
    <item>
      <title>To use icpc for the sink-side</title>
      <link>https://community.intel.com/t5/Software-Archive/error-when-using-icpc-to-compile-a-program-which-uses-coi/m-p/934515#M15526</link>
      <description>&lt;P&gt;To use icpc for the sink-side (or device side) compilation, add: &lt;STRONG&gt;-mmic&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;That will yield using the compatible compiler and linker to the libs you referenced. Without this option you are mixing the host-side compiler/linker with device-side libraries which are not compatible.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jun 2013 08:33:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/error-when-using-icpc-to-compile-a-program-which-uses-coi/m-p/934515#M15526</guid>
      <dc:creator>Kevin_D_Intel</dc:creator>
      <dc:date>2013-06-27T08:33:29Z</dc:date>
    </item>
  </channel>
</rss>

