<?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 If you don't care to make in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problem-with-compiling-64-bit-Cluster-MKL-FFT-program/m-p/934165#M13967</link>
    <description>&lt;P&gt;If you don't care to make your compile options consistent with your choice of MKL library path, you&amp;nbsp;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;should simply use MKL link options such as -mkl [sequential] (which requires an Intel compiler).&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;As the message hints, the libraries in /lib/mic/ would be link-compatible only with a build in which mpiicc -mmic is used&amp;nbsp;throughout, and would run only on the MIC KNC coprocessor.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;There is no satisfactory support for building with gcc compatible with MIC KNC, in case you are using Intel MPI. &amp;nbsp;A significant effort in studying methods would be needed for using open source MPI for MIC KNC; even if you explained what you are doing, this might not be an appropriate place to ask. &amp;nbsp; MKL has support for open source MPI on host but not on MIC.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 10 Dec 2013 14:32:19 GMT</pubDate>
    <dc:creator>TimP</dc:creator>
    <dc:date>2013-12-10T14:32:19Z</dc:date>
    <item>
      <title>Problem with compiling 64 bit Cluster MKL FFT program</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problem-with-compiling-64-bit-Cluster-MKL-FFT-program/m-p/934164#M13966</link>
      <description>&lt;P&gt;I've been trying to compile cluster version of MKL FFT (MPI version). I've followed link adviser for 64-bit architecture and used this line:&lt;/P&gt;

&lt;P&gt;mpicc -o fftmkl_mpi.out fftmkl_mpi.c -Wl,--start-group &amp;nbsp;$MKLROOT/lib/mic/libmkl_cdft_core.a $MKLROOT/lib/mic/libmkl_intel_ilp64.a $MKLROOT/lib/mic/libmkl_core.a $MKLROOT/lib/mic/libmkl_intel_thread.a -Wl,--end-group $MKLROOT/lib/mic/libmkl_blacs_intelmpi_ilp64.a -lpthread -lm&lt;/P&gt;

&lt;P&gt;Mind you that I'm using regular mpicc wrapper, with previously set&amp;nbsp;OMPI_CC=icc variable in order for wrapper to use icc instead of gcc. However the previous&amp;nbsp;compiling line (suggested by linking adviser)&amp;nbsp;produces lots of (almost identical)&amp;nbsp;errors, one of them being:&amp;nbsp;&lt;/P&gt;

&lt;P&gt;ld: k1om architecture of input file `/home/sataric/intel/composer_xe_2013_sp1.1.106/mkl/lib/mic/libmkl_core.a(_knc_xcsdft2d.o)' is incompatible with i386:x86-64 output&lt;/P&gt;

&lt;P&gt;I have sourced 64-bit compiler variables in script via:&amp;nbsp;source ~/intel/composer_xe_2013_sp1.1.106/bin/compilervars.sh intel64, but it seems that there is some 32-64 bit incompatibility in linking stage, and I don't know why?&lt;/P&gt;

&lt;P&gt;Thanks in advance for any help :)&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Dec 2013 12:58:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problem-with-compiling-64-bit-Cluster-MKL-FFT-program/m-p/934164#M13966</guid>
      <dc:creator>Bogdan_S_</dc:creator>
      <dc:date>2013-12-10T12:58:55Z</dc:date>
    </item>
    <item>
      <title>If you don't care to make</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problem-with-compiling-64-bit-Cluster-MKL-FFT-program/m-p/934165#M13967</link>
      <description>&lt;P&gt;If you don't care to make your compile options consistent with your choice of MKL library path, you&amp;nbsp;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;should simply use MKL link options such as -mkl [sequential] (which requires an Intel compiler).&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;As the message hints, the libraries in /lib/mic/ would be link-compatible only with a build in which mpiicc -mmic is used&amp;nbsp;throughout, and would run only on the MIC KNC coprocessor.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;There is no satisfactory support for building with gcc compatible with MIC KNC, in case you are using Intel MPI. &amp;nbsp;A significant effort in studying methods would be needed for using open source MPI for MIC KNC; even if you explained what you are doing, this might not be an appropriate place to ask. &amp;nbsp; MKL has support for open source MPI on host but not on MIC.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Dec 2013 14:32:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problem-with-compiling-64-bit-Cluster-MKL-FFT-program/m-p/934165#M13967</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2013-12-10T14:32:19Z</dc:date>
    </item>
    <item>
      <title>Hi Bogdan,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problem-with-compiling-64-bit-Cluster-MKL-FFT-program/m-p/934166#M13968</link>
      <description>&lt;P&gt;Hi Bogdan,&lt;/P&gt;

&lt;P&gt;Right, as you haven't mentioned what MPI and what architecture of your target cluster,&amp;nbsp; i suppose you are using Intel MPI and Intel Xeon Phi coprocessor (or mic). Thus from MKL link advisor,&amp;nbsp;the&amp;nbsp;compile comand line&amp;nbsp;is &amp;nbsp;like&lt;/P&gt;

&lt;P&gt;&amp;nbsp;mpiicc&amp;nbsp; &lt;STRONG&gt;-mmic&lt;/STRONG&gt; FFT_example.c &lt;STRONG&gt;-o fft.mic&lt;/STRONG&gt;&lt;BR /&gt;
	&amp;nbsp;-&lt;STRONG&gt;DMKL_ILP64&lt;/STRONG&gt; -openmp -I$(MKLROOT)/include&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; -Wl,--start-group&amp;nbsp; $(MKLROOT)/lib/mic/libmkl_cdft_core.a $(MKLROOT)/lib/mic/libmkl_intel_ilp64.a $(MKLROOT)/lib/mic/libmkl_core.a $(MKLROOT)/lib/mic/libmkl_intel_thread.a -Wl,--end-group $(MKLROOT)/lib/mic/libmkl_blacs_ilp64.a -lpthread -lm&lt;/P&gt;

&lt;P&gt;One more thing, as Tim said,&amp;nbsp; if you are working for&amp;nbsp;Intel Xeon Phi coprocessor (MIC) , then&amp;nbsp; Intel MPI, Intel Compiler may required because there is no satisfactory support for other MPI and compiler so far.&lt;/P&gt;

&lt;P&gt;Best Regards,&lt;/P&gt;

&lt;P&gt;Ying&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2013 00:36:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problem-with-compiling-64-bit-Cluster-MKL-FFT-program/m-p/934166#M13968</guid>
      <dc:creator>Ying_H_Intel</dc:creator>
      <dc:date>2013-12-11T00:36:38Z</dc:date>
    </item>
  </channel>
</rss>

