<?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 There is an issue with the in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/warnings-while-compiling/m-p/917832#M12971</link>
    <description>&lt;P&gt;There is an issue with the compiler when IPO is enabled.&amp;nbsp; It searches the /usr/lib64 during MIC compilation and it should not.&amp;nbsp; These are warnings and you can ignore them.&lt;/P&gt;</description>
    <pubDate>Wed, 02 Apr 2014 17:03:47 GMT</pubDate>
    <dc:creator>Ravi_N_Intel</dc:creator>
    <dc:date>2014-04-02T17:03:47Z</dc:date>
    <item>
      <title>warnings while compiling</title>
      <link>https://community.intel.com/t5/Software-Archive/warnings-while-compiling/m-p/917820#M12959</link>
      <description>&lt;P&gt;When i compile my programs I get the following warnings&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;ipo: warning #11010: *MIC* file format not recognized for /usr/lib64/libm.so&lt;/P&gt;
&lt;P&gt;same for libthread.so.0, libc.so.6, ld-linux-x86-64.so.2, libdl.so&lt;/P&gt;
&lt;P&gt;AND&lt;/P&gt;
&lt;P&gt;x86_64-k1om-linux-ld: skipping incompatible /use/lib64/libm.so when searching for -lm&lt;/P&gt;
&lt;P&gt;same for -lpthread, -lc, -ldl&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Why do I get these? Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2013 14:49:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/warnings-while-compiling/m-p/917820#M12959</guid>
      <dc:creator>TK</dc:creator>
      <dc:date>2013-06-10T14:49:32Z</dc:date>
    </item>
    <item>
      <title>A typical way in which these</title>
      <link>https://community.intel.com/t5/Software-Archive/warnings-while-compiling/m-p/917821#M12960</link>
      <description>&lt;P&gt;A typical way in which these might arise is with a Makefile which specifically sets library paths for host links.&amp;nbsp; When you source the icc compilervars.&lt;C&gt;sh to set up the paths, this shouldn't happen.&lt;/C&gt;&lt;/P&gt;
&lt;P&gt;k1om-linux-ld acts just like the host linux 32- and 64-bit versions of ld; it issues those warning messages if it encounters first a library which doesn't match its architecture.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2013 16:04:28 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/warnings-while-compiling/m-p/917821#M12960</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2013-06-10T16:04:28Z</dc:date>
    </item>
    <item>
      <title>Thanks. I compiling my</title>
      <link>https://community.intel.com/t5/Software-Archive/warnings-while-compiling/m-p/917822#M12961</link>
      <description>&lt;P&gt;Thanks. I compiling my program as follows: icc -lz -openmp -O3 -I/usr/include -L/usr/lib64 -lgsl -lgslcblas a.c&lt;/P&gt;
&lt;P&gt;What should I change? Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2013 16:29:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/warnings-while-compiling/m-p/917822#M12961</guid>
      <dc:creator>TK</dc:creator>
      <dc:date>2013-06-10T16:29:52Z</dc:date>
    </item>
    <item>
      <title>You should allow icc to</title>
      <link>https://community.intel.com/t5/Software-Archive/warnings-while-compiling/m-p/917823#M12962</link>
      <description>&lt;P&gt;You should allow icc to select the std include and library paths rather than putting them in as -I and -L directives.&amp;nbsp; This would require setting up the environment in accordance with compilervars script.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2013 16:46:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/warnings-while-compiling/m-p/917823#M12962</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2013-06-10T16:46:19Z</dc:date>
    </item>
    <item>
      <title>Thanks. Do you mean to</title>
      <link>https://community.intel.com/t5/Software-Archive/warnings-while-compiling/m-p/917824#M12963</link>
      <description>&lt;P&gt;Thanks. Do you mean to compile it as follows: icc -lz -openmp -O3 -lgsl -lgslcblas a.c? If so, then I get the error saying: "catastrophic error: *MIC*&amp;nbsp; cannot open source file "zlib.h"".&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2013 17:18:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/warnings-while-compiling/m-p/917824#M12963</guid>
      <dc:creator>TK</dc:creator>
      <dc:date>2013-06-10T17:18:10Z</dc:date>
    </item>
    <item>
      <title>That might indicate that you</title>
      <link>https://community.intel.com/t5/Software-Archive/warnings-while-compiling/m-p/917825#M12964</link>
      <description>&lt;P&gt;That might indicate that you need a MIC build of zlib.&amp;nbsp; If using zlib only on the host side, you might try including the specific zlib.h path rather than putting /usr/include/ ahead of the choices icc make.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2013 18:00:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/warnings-while-compiling/m-p/917825#M12964</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2013-06-10T18:00:01Z</dc:date>
    </item>
    <item>
      <title>Thanks Tim. Yes, I am using</title>
      <link>https://community.intel.com/t5/Software-Archive/warnings-while-compiling/m-p/917826#M12965</link>
      <description>&lt;P&gt;Thanks Tim. Yes, I am using zlib and gsl on the host side only. Do you mean to do the following ?&lt;/P&gt;
&lt;P&gt;[cpp] #include &amp;lt;/usr/include/zlib.h&amp;gt;&lt;/P&gt;
&lt;P&gt;#include &amp;lt;/usr/include/gsl/gsl_math.h&amp;gt;&lt;/P&gt;
&lt;P&gt;[/cpp]&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2013 18:19:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/warnings-while-compiling/m-p/917826#M12965</guid>
      <dc:creator>TK</dc:creator>
      <dc:date>2013-06-10T18:19:50Z</dc:date>
    </item>
    <item>
      <title>Hi Tim, instead I did the</title>
      <link>https://community.intel.com/t5/Software-Archive/warnings-while-compiling/m-p/917827#M12966</link>
      <description>&lt;P&gt;Hi Tim, instead I did the following while compiling: icc -I/usr/include -lgsl -lgslcblas -lz a.c. It compiled without any warnings. Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2013 19:59:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/warnings-while-compiling/m-p/917827#M12966</guid>
      <dc:creator>TK</dc:creator>
      <dc:date>2013-06-10T19:59:01Z</dc:date>
    </item>
    <item>
      <title>Hello Tim and TK</title>
      <link>https://community.intel.com/t5/Software-Archive/warnings-while-compiling/m-p/917828#M12967</link>
      <description>&lt;P&gt;Hello Tim and TK&lt;/P&gt;

&lt;P&gt;Similar to TK's code, when I compile my code I get the following warnings:&lt;/P&gt;

&lt;P&gt;ipo: warning #11010: *MIC* file format not recognized for /lib64/libpthread.so.0&lt;BR /&gt;
	ipo: warning #11010: *MIC* file format not recognized for /lib64/libc.so.6&lt;BR /&gt;
	ipo: warning #11010: *MIC* file format not recognized for /lib64/libc.so.6&lt;/P&gt;

&lt;P&gt;Why do I get these?&lt;/P&gt;

&lt;P&gt;Thank you.&lt;/P&gt;

&lt;P&gt;#################################################################################################&lt;/P&gt;

&lt;P&gt;I have set the compilervars.sh in the bashrc as "source /opt/intel/composer_xe_2013_sp1.0.080/bin/compilevars.sh intel64".&lt;/P&gt;

&lt;P&gt;I have 2 c++ codes using mkl library &amp;amp; openmp pragmas &amp;amp; compiler assisted offload&lt;/P&gt;

&lt;P&gt;When I run the code I almost get the followings:&lt;/P&gt;

&lt;P&gt;icpc -c -I/opt/intel/composer_xe_2013_sp1.0.080/mkl/include -offload-attribute-target=mic -O2 -fargument-noalias&amp;nbsp; -DNDEBUG -Wall -Weffc++ -Woverloaded-virtual -W -Wfloat-equal -Wshadow -wd2015,2012,11069 -vec-report=3 -mkl -openmp -openmp_report2&amp;nbsp; main.cpp&lt;/P&gt;

&lt;P&gt;icpc -c -I/opt/intel/composer_xe_2013_sp1.0.080/mkl/include -offload-attribute-target=mic -O2 -fargument-noalias&amp;nbsp; -DNDEBUG -Wall -Weffc++ -Woverloaded-virtual -W -Wfloat-equal -Wshadow -wd2015,2012,11069 -vec-report=3 -mkl -openmp -openmp_report2&amp;nbsp; mylib.cpp&lt;/P&gt;

&lt;P&gt;icpc&amp;nbsp;&amp;nbsp; main.o mylib.o&amp;nbsp;&amp;nbsp; -openmp&amp;nbsp; -Wl,--start-group /opt/intel/composer_xe_2013_sp1.0.080/mkl/lib/intel64/libmkl_intel_lp64.a /opt/intel/composer_xe_2013_sp1.0.080/mkl/lib/intel64/libmkl_core.a /opt/intel/composer_xe_2013_sp1.0.080/mkl/lib/intel64/libmkl_intel_thread.a -Wl,--end-group -lpthread -lm -offload-option,mic,compiler,"&amp;nbsp; -Wl,--start-group /opt/intel/composer_xe_2013_sp1.0.080/mkl/lib/mic/libmkl_intel_lp64.a /opt/intel/composer_xe_2013_sp1.0.080/mkl/lib/mic/libmkl_core.a /opt/intel/composer_xe_2013_sp1.0.080/mkl/lib/mic/libmkl_intel_thread.a -Wl,--end-group" -o main.ICC_OFFLOAD_&lt;/P&gt;

&lt;P&gt;ipo: warning #11010: *MIC* file format not recognized for /lib64/libpthread.so.0&lt;BR /&gt;
	ipo: warning #11010: *MIC* file format not recognized for /lib64/libc.so.6&lt;BR /&gt;
	ipo: warning #11010: *MIC* file format not recognized for /lib64/libc.so.6&lt;/P&gt;

&lt;P&gt;##################################################################################################&lt;/P&gt;</description>
      <pubDate>Wed, 02 Apr 2014 09:59:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/warnings-while-compiling/m-p/917828#M12967</guid>
      <dc:creator>mohamad_a_</dc:creator>
      <dc:date>2014-04-02T09:59:59Z</dc:date>
    </item>
    <item>
      <title>It looks like you are trying</title>
      <link>https://community.intel.com/t5/Software-Archive/warnings-while-compiling/m-p/917829#M12968</link>
      <description>&lt;P&gt;It looks like you are trying to combine compiler assisted offload with MIC native MKL linkage models. &amp;nbsp;The latter would be for builds using -mmic. &amp;nbsp;That option at link time should include the MIC library search paths, but would not work with the host MKL search paths which support compiler assisted offload. &amp;nbsp;If you really intend to combine the models you should say so when asking for advice (and be more specific; are you trying to call MKL both from your own offload functions and direct from host) (I haven't found a documented method), otherwise stick to one or the other.&lt;/P&gt;

&lt;P&gt;The 0.080 release is the buggiest of the sp1 series; many MIC bugs were corrected in the subsequent updates.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Apr 2014 12:28:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/warnings-while-compiling/m-p/917829#M12968</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2014-04-02T12:28:00Z</dc:date>
    </item>
    <item>
      <title>Thank you Tim for your fast</title>
      <link>https://community.intel.com/t5/Software-Archive/warnings-while-compiling/m-p/917830#M12969</link>
      <description>&lt;P&gt;Thank you Tim for your fast response,&lt;/P&gt;

&lt;P&gt;I got the whole link from &lt;A href="http://software.intel.com/en-us/articles/intel-mkl-link-line-advisor" target="_blank"&gt;http://software.intel.com/en-us/articles/intel-mkl-link-line-advisor&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;and yes, actually,&lt;/P&gt;

&lt;P&gt;I am trying to use a combination of Offload&amp;amp;Blas, Offload&amp;amp;openmp, Host&amp;amp;Blas and Host&amp;amp;openmp in a code and compare results.&lt;/P&gt;

&lt;P&gt;What should I do?&lt;/P&gt;</description>
      <pubDate>Wed, 02 Apr 2014 14:19:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/warnings-while-compiling/m-p/917830#M12969</guid>
      <dc:creator>mohamad_a_</dc:creator>
      <dc:date>2014-04-02T14:19:00Z</dc:date>
    </item>
    <item>
      <title>You have multiple groups of</title>
      <link>https://community.intel.com/t5/Software-Archive/warnings-while-compiling/m-p/917831#M12970</link>
      <description>&lt;P&gt;You have multiple groups of MKL linking, only one of which comes from the link advisor with the CAO selection.&amp;nbsp; If it is CAO only, there should be no references to the libraries required for MIC native linking.&lt;/P&gt;

&lt;P&gt;When you have CAO, the choice between host and MIC offload in MKL is under the control of thresholds set in your environment variables; it doesn't involve additional link commands beyond the basic CAO.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Apr 2014 16:07:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/warnings-while-compiling/m-p/917831#M12970</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2014-04-02T16:07:36Z</dc:date>
    </item>
    <item>
      <title>There is an issue with the</title>
      <link>https://community.intel.com/t5/Software-Archive/warnings-while-compiling/m-p/917832#M12971</link>
      <description>&lt;P&gt;There is an issue with the compiler when IPO is enabled.&amp;nbsp; It searches the /usr/lib64 during MIC compilation and it should not.&amp;nbsp; These are warnings and you can ignore them.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Apr 2014 17:03:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/warnings-while-compiling/m-p/917832#M12971</guid>
      <dc:creator>Ravi_N_Intel</dc:creator>
      <dc:date>2014-04-02T17:03:47Z</dc:date>
    </item>
  </channel>
</rss>

