<?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 Native Compilation Issue in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/Native-Compilation-Issue/m-p/1112832#M72961</link>
    <description>&lt;P&gt;It has a long time I do not use my Xeon Phi 5100. Today I removed all the old intel compilers and installed the latest intel compiler 2017 update2, and the latest MKL. After updating my .bascrc with:&lt;/P&gt;

&lt;P&gt;source /opt/intel/compilers_and_libraries_2017.2.174/linux/bin/ifortvars.sh intel64&lt;BR /&gt;
	source /opt/intel/compilers_and_libraries_2017.2.174/linux/mkl/bin/mklvars.sh intel64 mic&lt;/P&gt;

&lt;P&gt;I wanted to compile my code with:&lt;/P&gt;

&lt;P&gt;ifort -mmic -w -real-size 64 -align array64byte -O3 -opt-matmul -ip -no-prec-div -ipo -parallel -fpp -save -qopenmp -mkl find_structure_v03.f90&lt;/P&gt;

&lt;P&gt;But I get the following erros:&lt;BR /&gt;
	ipo: warning #11021: unresolved vdrnguniform_&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Referenced in /tmp/ipo_ifortSDjTdS.o&lt;BR /&gt;
	ipo: warning #11021: unresolved vslnewstream_&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Referenced in /tmp/ipo_ifortSDjTdS.o&lt;BR /&gt;
	x86_64-k1om-linux-ld: cannot find -lmkl_intel_lp64&lt;BR /&gt;
	x86_64-k1om-linux-ld: cannot find -lmkl_intel_thread&lt;BR /&gt;
	x86_64-k1om-linux-ld: cannot find -lmkl_core&lt;/P&gt;

&lt;P&gt;&lt;BR /&gt;
	In my code, I use,&amp;nbsp;&lt;BR /&gt;
	USE MKL_VSL_TYPE&lt;BR /&gt;
	USE MKL_VSL&lt;BR /&gt;
	vdRngUniform()&lt;/P&gt;

&lt;P&gt;I can not find what it is wrong... The paths should be fine. I have even copied the libmkl_core.a and libmkl_core.so in the same folder where the compilation takes place, but the errors persisted (I hope to get ride of the "cannot find -lmkl_core")&lt;/P&gt;

&lt;P&gt;By information, I am using mpss 3.4.3-1, but in principle, it should not affect compilation.&lt;/P&gt;

&lt;P&gt;Any suggestions/ideas?&lt;/P&gt;

&lt;P&gt;Thanks in advance,&lt;BR /&gt;
	Jofre&lt;/P&gt;</description>
    <pubDate>Tue, 07 Mar 2017 16:00:41 GMT</pubDate>
    <dc:creator>jofre</dc:creator>
    <dc:date>2017-03-07T16:00:41Z</dc:date>
    <item>
      <title>Native Compilation Issue</title>
      <link>https://community.intel.com/t5/Software-Archive/Native-Compilation-Issue/m-p/1112832#M72961</link>
      <description>&lt;P&gt;It has a long time I do not use my Xeon Phi 5100. Today I removed all the old intel compilers and installed the latest intel compiler 2017 update2, and the latest MKL. After updating my .bascrc with:&lt;/P&gt;

&lt;P&gt;source /opt/intel/compilers_and_libraries_2017.2.174/linux/bin/ifortvars.sh intel64&lt;BR /&gt;
	source /opt/intel/compilers_and_libraries_2017.2.174/linux/mkl/bin/mklvars.sh intel64 mic&lt;/P&gt;

&lt;P&gt;I wanted to compile my code with:&lt;/P&gt;

&lt;P&gt;ifort -mmic -w -real-size 64 -align array64byte -O3 -opt-matmul -ip -no-prec-div -ipo -parallel -fpp -save -qopenmp -mkl find_structure_v03.f90&lt;/P&gt;

&lt;P&gt;But I get the following erros:&lt;BR /&gt;
	ipo: warning #11021: unresolved vdrnguniform_&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Referenced in /tmp/ipo_ifortSDjTdS.o&lt;BR /&gt;
	ipo: warning #11021: unresolved vslnewstream_&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Referenced in /tmp/ipo_ifortSDjTdS.o&lt;BR /&gt;
	x86_64-k1om-linux-ld: cannot find -lmkl_intel_lp64&lt;BR /&gt;
	x86_64-k1om-linux-ld: cannot find -lmkl_intel_thread&lt;BR /&gt;
	x86_64-k1om-linux-ld: cannot find -lmkl_core&lt;/P&gt;

&lt;P&gt;&lt;BR /&gt;
	In my code, I use,&amp;nbsp;&lt;BR /&gt;
	USE MKL_VSL_TYPE&lt;BR /&gt;
	USE MKL_VSL&lt;BR /&gt;
	vdRngUniform()&lt;/P&gt;

&lt;P&gt;I can not find what it is wrong... The paths should be fine. I have even copied the libmkl_core.a and libmkl_core.so in the same folder where the compilation takes place, but the errors persisted (I hope to get ride of the "cannot find -lmkl_core")&lt;/P&gt;

&lt;P&gt;By information, I am using mpss 3.4.3-1, but in principle, it should not affect compilation.&lt;/P&gt;

&lt;P&gt;Any suggestions/ideas?&lt;/P&gt;

&lt;P&gt;Thanks in advance,&lt;BR /&gt;
	Jofre&lt;/P&gt;</description>
      <pubDate>Tue, 07 Mar 2017 16:00:41 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Native-Compilation-Issue/m-p/1112832#M72961</guid>
      <dc:creator>jofre</dc:creator>
      <dc:date>2017-03-07T16:00:41Z</dc:date>
    </item>
    <item>
      <title>For clarification, if I</title>
      <link>https://community.intel.com/t5/Software-Archive/Native-Compilation-Issue/m-p/1112833#M72962</link>
      <description>&lt;P&gt;For clarification, i&lt;SPAN style="font-size: 1em;"&gt;f I compile for the host (I simply change -mmic by -xhost) there is no problem.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;Jofre&lt;/P&gt;</description>
      <pubDate>Wed, 08 Mar 2017 20:29:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Native-Compilation-Issue/m-p/1112833#M72962</guid>
      <dc:creator>jofre</dc:creator>
      <dc:date>2017-03-08T20:29:47Z</dc:date>
    </item>
  </channel>
</rss>

