<?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 According to the messages, in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/how-to-compile-my-program-using-static-mode-for-MIC-Xeon-Phi/m-p/963464#M16032</link>
    <description>&lt;P&gt;According to the messages, you are trying to link libraries from mkl/lib/intel64/ where you need those from mkl/lib/mic/.&amp;nbsp; According to the link advisor &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; you must give the full path of each .a file.&lt;/P&gt;
&lt;P&gt;libiomp5.so wouldn't normally be place inside the start-group ... end-group specifiers, and would normally be specified as -liomp5, but that may not be a problem.&lt;/P&gt;</description>
    <pubDate>Thu, 24 Oct 2013 01:38:02 GMT</pubDate>
    <dc:creator>TimP</dc:creator>
    <dc:date>2013-10-24T01:38:02Z</dc:date>
    <item>
      <title>how to compile my program using static mode for MIC(Xeon Phi)</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/how-to-compile-my-program-using-static-mode-for-MIC-Xeon-Phi/m-p/963463#M16031</link>
      <description>&lt;P&gt;I compile my program as the follwoing&amp;nbsp; to staticly link MKL I get the follwoing error .&lt;/P&gt;
&lt;P&gt;I am using composer_xe_2013 , and icc .&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;bash-4.1$ icc -mmic -openmp -no-vec s_mkl_double_one_dim_reorder_err.c&amp;nbsp; -Wl,--start-group&amp;nbsp; libmkl_intel_lp64.a libmkl_intel_thread.a libmkl_core.a libiomp5.so -Wl,--end-group -o s_mkl_static.mic&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;The Error that I have from compiling it :&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;x86_64-k1om-linux-ld: i386:x86-64 architecture of input file `libmkl_intel_lp64.a(cblas_dgemm_lp64.o)' is incompatible with k1om output&lt;BR /&gt;x86_64-k1om-linux-ld: i386:x86-64 architecture of input file `libmkl_intel_lp64.a(_dgemm_lp64.o)' is incompatible with k1om output&lt;BR /&gt;x86_64-k1om-linux-ld: i386:x86-64 architecture of input file `libmkl_intel_lp64.a(cblas_xerbla_lp64.o)' is incompatible with k1om output&lt;BR /&gt;x86_64-k1om-linux-ld: i386:x86-64 architecture of input file `libmkl_intel_lp64.a(cblas_auxi_lp64.o)' is incompatible with k1om output&lt;BR /&gt;x86_64-k1om-linux-ld: i386:x86-64 architecture of input file `libmkl_intel_lp64.a(errchk_dgemm.o)' is incompatible with k1om output&lt;BR /&gt;x86_64-k1om-linux-ld: i386:x86-64 architecture of input file `libmkl_intel_lp64.a(_cdecl_xerbla.o)' is incompatible with k1om output&lt;BR /&gt;x86_64-k1om-linux-ld: i386:x86-64 architecture of input file `libmkl_intel_lp64.a(_xerbla_l.o)' is incompatible with k1om output&lt;BR /&gt;x86_64-k1om-linux-ld: i386:x86-64 architecture of input file `libmkl_intel_lp64.a(_xerbla_l_.o)' is incompatible with k1om output&lt;BR /&gt;x86_64-k1om-linux-ld: i386:x86-64 architecture of input file `libmkl_intel_lp64.a(_xerbla_u_.o)' is incompatible with k1om output&lt;BR /&gt;x86_64-k1om-linux-ld: i386:x86-64 architecture of input file `libmkl_intel_lp64.a(_xerbla.o)' is incompatible with k1om output&lt;BR /&gt;x86_64-k1om-linux-ld: BFD (GNU Binutils) 2.22.52.20120302 internal error, aborting at ../../../binutils/bfd/elf64-x86-64.c line 3382 in elf_x86_64_relocate_section&lt;BR /&gt;&lt;BR /&gt;x86_64-k1om-linux-ld: Please report this bug.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2013 20:26:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/how-to-compile-my-program-using-static-mode-for-MIC-Xeon-Phi/m-p/963463#M16031</guid>
      <dc:creator>Allam_F_</dc:creator>
      <dc:date>2013-10-23T20:26:54Z</dc:date>
    </item>
    <item>
      <title>According to the messages,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/how-to-compile-my-program-using-static-mode-for-MIC-Xeon-Phi/m-p/963464#M16032</link>
      <description>&lt;P&gt;According to the messages, you are trying to link libraries from mkl/lib/intel64/ where you need those from mkl/lib/mic/.&amp;nbsp; According to the link advisor &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; you must give the full path of each .a file.&lt;/P&gt;
&lt;P&gt;libiomp5.so wouldn't normally be place inside the start-group ... end-group specifiers, and would normally be specified as -liomp5, but that may not be a problem.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2013 01:38:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/how-to-compile-my-program-using-static-mode-for-MIC-Xeon-Phi/m-p/963464#M16032</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2013-10-24T01:38:02Z</dc:date>
    </item>
    <item>
      <title>Hi Allam,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/how-to-compile-my-program-using-static-mode-for-MIC-Xeon-Phi/m-p/963465#M16033</link>
      <description>&lt;P&gt;Hi Allam,&lt;/P&gt;
&lt;P&gt;It looks all of the mkl and openmp library are for X86-64 (intel64), not for mic,&amp;nbsp;which invoke the incompatible report.&amp;nbsp; You may try add the mic path explicitly for example,&lt;/P&gt;
&lt;P&gt;-Wl,--start-group /opt/intel/composer_xe_2013_sp1/mkl/lib/mic/libmkl_intel_lp64.a /opt/intel/composer_xe_2013_sp1/mkl/lib/mic/libmkl_intel_thread.a /opt/intel/composer_xe_2013_sp1/mkl/lib/mic/libmkl_core.a /opt/intel/composer_xe_2013_sp1/lib/mic/libiomp5.so&lt;/P&gt;
&lt;P&gt;and see if it works?&lt;/P&gt;
&lt;P&gt;Some related link:&lt;/P&gt;
&lt;P&gt;MKL user guide: &lt;A href="http://software.intel.com/sites/products/documentation/doclib/mkl_sa/11/mkl_userguide_lnx/GUID-D0627E59-8D1C-4935-8DF4-BA14AB65B09B.htm"&gt;http://software.intel.com/sites/products/documentation/doclib/mkl_sa/11/mkl_userguide_lnx/GUID-D0627E59-8D1C-4935-8DF4-BA14AB65B09B.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;MKL link advisor: &lt;A href="http://software.intel.com/sites/products/mkl/MKL_Link_Line_Advisor.html"&gt;http://software.intel.com/sites/products/mkl/MKL_Link_Line_Advisor.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;
&lt;P&gt;Ying&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2013 01:43:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/how-to-compile-my-program-using-static-mode-for-MIC-Xeon-Phi/m-p/963465#M16033</guid>
      <dc:creator>Ying_H_Intel</dc:creator>
      <dc:date>2013-10-24T01:43:08Z</dc:date>
    </item>
  </channel>
</rss>

