<?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 icl with /Qmic in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/Error-when-using-icl-with-Qmic/m-p/978971#M25620</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;I have some C++ code (attached files). When I compile them with the following command:&lt;/P&gt;

&lt;P&gt;icl -fast -openmp -std=c++0x -I C:\boost_1_54_0 *.cpp&lt;/P&gt;

&lt;P&gt;I get no error. However, when I compile them using:&lt;/P&gt;

&lt;P&gt;icl /Qmic -fast -openmp -std=c++0x -I C:\boost_1_54_0 *.cpp&lt;/P&gt;

&lt;P&gt;I get the following error:&lt;/P&gt;

&lt;P&gt;----------------------------------------------------------&lt;/P&gt;

&lt;P&gt;Intel(R) C++ Intel(R) 64 Compiler XE for applications running on Intel(R) 64, Ve&lt;BR /&gt;
	rsion 14.0.1.139 Build 20131008&lt;BR /&gt;
	Copyright (C) 1985-2013 Intel Corporation. All rights reserved.&lt;BR /&gt;
	icc: warning #10342: -liomp5 linked in dynamically, static library not available&lt;BR /&gt;
	for Intel(R) MIC Architecture&lt;BR /&gt;
	k1om-mpss-linux-ld.exe: C:/Program Files/Intel/MPSS/k1om-mpss-linux/../k1om-mpss&lt;BR /&gt;
	-linux\lib64\libstdc++.a(eh_globals.o): undefined reference to symbol '__tls_get&lt;BR /&gt;
	_addr@@GLIBC_2.14'&lt;BR /&gt;
	k1om-mpss-linux-ld.exe: note: '__tls_get_addr@@GLIBC_2.14' is defined in DSO C:/&lt;BR /&gt;
	Program Files/Intel/MPSS/k1om-mpss-linux/lib64/ld-linux-k1om.so.2 so try adding&lt;BR /&gt;
	it to the linker command line&lt;BR /&gt;
	C:/Program Files/Intel/MPSS/k1om-mpss-linux/lib64/ld-linux-k1om.so.2: could not&lt;BR /&gt;
	read symbols: Invalid operation&lt;/P&gt;

&lt;P&gt;---------------------------------------------------&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Could anyone figure out what's the problem?&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Best,&lt;/P&gt;

&lt;P&gt;Ge&lt;/P&gt;</description>
    <pubDate>Sat, 09 Nov 2013 03:53:02 GMT</pubDate>
    <dc:creator>Ge_Z_</dc:creator>
    <dc:date>2013-11-09T03:53:02Z</dc:date>
    <item>
      <title>Error when using icl with /Qmic</title>
      <link>https://community.intel.com/t5/Software-Archive/Error-when-using-icl-with-Qmic/m-p/978971#M25620</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;I have some C++ code (attached files). When I compile them with the following command:&lt;/P&gt;

&lt;P&gt;icl -fast -openmp -std=c++0x -I C:\boost_1_54_0 *.cpp&lt;/P&gt;

&lt;P&gt;I get no error. However, when I compile them using:&lt;/P&gt;

&lt;P&gt;icl /Qmic -fast -openmp -std=c++0x -I C:\boost_1_54_0 *.cpp&lt;/P&gt;

&lt;P&gt;I get the following error:&lt;/P&gt;

&lt;P&gt;----------------------------------------------------------&lt;/P&gt;

&lt;P&gt;Intel(R) C++ Intel(R) 64 Compiler XE for applications running on Intel(R) 64, Ve&lt;BR /&gt;
	rsion 14.0.1.139 Build 20131008&lt;BR /&gt;
	Copyright (C) 1985-2013 Intel Corporation. All rights reserved.&lt;BR /&gt;
	icc: warning #10342: -liomp5 linked in dynamically, static library not available&lt;BR /&gt;
	for Intel(R) MIC Architecture&lt;BR /&gt;
	k1om-mpss-linux-ld.exe: C:/Program Files/Intel/MPSS/k1om-mpss-linux/../k1om-mpss&lt;BR /&gt;
	-linux\lib64\libstdc++.a(eh_globals.o): undefined reference to symbol '__tls_get&lt;BR /&gt;
	_addr@@GLIBC_2.14'&lt;BR /&gt;
	k1om-mpss-linux-ld.exe: note: '__tls_get_addr@@GLIBC_2.14' is defined in DSO C:/&lt;BR /&gt;
	Program Files/Intel/MPSS/k1om-mpss-linux/lib64/ld-linux-k1om.so.2 so try adding&lt;BR /&gt;
	it to the linker command line&lt;BR /&gt;
	C:/Program Files/Intel/MPSS/k1om-mpss-linux/lib64/ld-linux-k1om.so.2: could not&lt;BR /&gt;
	read symbols: Invalid operation&lt;/P&gt;

&lt;P&gt;---------------------------------------------------&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Could anyone figure out what's the problem?&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Best,&lt;/P&gt;

&lt;P&gt;Ge&lt;/P&gt;</description>
      <pubDate>Sat, 09 Nov 2013 03:53:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Error-when-using-icl-with-Qmic/m-p/978971#M25620</guid>
      <dc:creator>Ge_Z_</dc:creator>
      <dc:date>2013-11-09T03:53:02Z</dc:date>
    </item>
    <item>
      <title>The test case requires Boost</title>
      <link>https://community.intel.com/t5/Software-Archive/Error-when-using-icl-with-Qmic/m-p/978972#M25621</link>
      <description>&lt;P&gt;The test case requires Boost headers which I do not have.&lt;/P&gt;
&lt;P&gt;Can you try compiling with /Qmic but without -fast?&lt;/P&gt;</description>
      <pubDate>Mon, 11 Nov 2013 17:05:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Error-when-using-icl-with-Qmic/m-p/978972#M25621</guid>
      <dc:creator>Kevin_D_Intel</dc:creator>
      <dc:date>2013-11-11T17:05:08Z</dc:date>
    </item>
    <item>
      <title>It works with /Qmic but</title>
      <link>https://community.intel.com/t5/Software-Archive/Error-when-using-icl-with-Qmic/m-p/978973#M25622</link>
      <description>&lt;P&gt;It works&amp;nbsp;with /Qmic but without -fast! That's amazing. Thank you very much!&lt;/P&gt;
&lt;P&gt;I found that -O3 and -ipo works. So I can compile it in the following way:&lt;/P&gt;
&lt;P&gt;icl /Qmic -O3 -ipo -openmp -std=c++0x -I C:\boost_1_54_0 *.cpp&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Again, thank you very much for your help.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Nov 2013 17:15:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Error-when-using-icl-with-Qmic/m-p/978973#M25622</guid>
      <dc:creator>Ge_Z_</dc:creator>
      <dc:date>2013-11-11T17:15:26Z</dc:date>
    </item>
    <item>
      <title>Glad that worked for you. I</title>
      <link>https://community.intel.com/t5/Software-Archive/Error-when-using-icl-with-Qmic/m-p/978974#M25623</link>
      <description>&lt;P&gt;Glad that worked for you. I recalled hearing in passing last week that -fast /Qmic was problematic so that's why I suggested that. I will go find out a bit more about that and share what I learn later.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Nov 2013 17:24:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Error-when-using-icl-with-Qmic/m-p/978974#M25623</guid>
      <dc:creator>Kevin_D_Intel</dc:creator>
      <dc:date>2013-11-11T17:24:07Z</dc:date>
    </item>
    <item>
      <title>If I compile it without -fast</title>
      <link>https://community.intel.com/t5/Software-Archive/Error-when-using-icl-with-Qmic/m-p/978975#M25624</link>
      <description>&lt;P&gt;If I compile it without -fast, should I specify some vectorization option to get the best performance?&lt;/P&gt;</description>
      <pubDate>Mon, 11 Nov 2013 17:39:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Error-when-using-icl-with-Qmic/m-p/978975#M25624</guid>
      <dc:creator>Ge_Z_</dc:creator>
      <dc:date>2013-11-11T17:39:34Z</dc:date>
    </item>
    <item>
      <title>I mean, when using sandy</title>
      <link>https://community.intel.com/t5/Software-Archive/Error-when-using-icl-with-Qmic/m-p/978976#M25625</link>
      <description>&lt;P&gt;I mean, when using sandy bridge CPUs I was told that using -xavx can improve speed. Should I use -xSomething when compiling for xeon phi?&lt;/P&gt;</description>
      <pubDate>Mon, 11 Nov 2013 17:49:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Error-when-using-icl-with-Qmic/m-p/978976#M25625</guid>
      <dc:creator>Ge_Z_</dc:creator>
      <dc:date>2013-11-11T17:49:53Z</dc:date>
    </item>
    <item>
      <title>-x&lt;arch&gt; is not available</title>
      <link>https://community.intel.com/t5/Software-Archive/Error-when-using-icl-with-Qmic/m-p/978977#M25626</link>
      <description>&lt;P&gt;-x&amp;lt;arch&amp;gt; is not available when targeting the Intel MIC architecture. If you have not already found this, there's good information in the Xeon Phi BKM &lt;A href="http://software.intel.com/en-us/articles/programming-and-compiling-for-intel-many-integrated-core-architecture"&gt;here&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Nov 2013 18:05:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Error-when-using-icl-with-Qmic/m-p/978977#M25626</guid>
      <dc:creator>Kevin_D_Intel</dc:creator>
      <dc:date>2013-11-11T18:05:55Z</dc:date>
    </item>
    <item>
      <title>I see. Thank you for your</title>
      <link>https://community.intel.com/t5/Software-Archive/Error-when-using-icl-with-Qmic/m-p/978978#M25627</link>
      <description>&lt;P&gt;I see. Thank you for your answer.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Nov 2013 18:26:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Error-when-using-icl-with-Qmic/m-p/978978#M25627</guid>
      <dc:creator>Ge_Z_</dc:creator>
      <dc:date>2013-11-11T18:26:29Z</dc:date>
    </item>
  </channel>
</rss>

