<?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 Thanks, that fixed my in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problem-compiling-MKL-with-OpenMP/m-p/1111888#M24412</link>
    <description>&lt;P&gt;Thanks, that fixed my compilation and loading problem. Also, I had found earlier that just adding -mkl to to the load fixed things.&lt;/P&gt;</description>
    <pubDate>Thu, 25 Aug 2016 21:59:56 GMT</pubDate>
    <dc:creator>Don_Spong</dc:creator>
    <dc:date>2016-08-25T21:59:56Z</dc:date>
    <item>
      <title>Problem compiling MKL with OpenMP</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problem-compiling-MKL-with-OpenMP/m-p/1111886#M24410</link>
      <description>&lt;P style="margin-bottom: 0px; font-size: 10px; line-height: normal; font-family: Monaco;"&gt;I'm trying to compile and load a code that uses MKL libraries to solve an eigenvalue problem. I use the following commands based on what the Intel MKL link line advisor tells me:&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 10px; line-height: normal; font-family: Monaco;"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 10px; line-height: normal; font-family: Monaco;"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;ifort -c&amp;nbsp; -i8 -qopenmp -I${MKLROOT}/include $OPT dggev_solver.f&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 10px; line-height: normal; font-family: Monaco;"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;ifort -o xgv_omp dggev_solver.o -I. -L${MKLROOT}/lib -Wl,-rpath,${MKLROOT}/lib -lmkl_intel_ilp64 -lmkl_core -lmkl_intel_thread -lpthread -lm -ldl&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 10px; line-height: normal; font-family: Monaco;"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 10px; line-height: normal; font-family: Monaco;"&gt;However, when these are used, there seems to be symbols that are not found (see below):&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 10px; line-height: normal; font-family: Monaco;"&gt;&amp;nbsp;&lt;/P&gt;

&lt;DIV&gt;
	&lt;P style="margin-bottom: 0px; font-size: 10px; line-height: normal; font-family: Monaco;"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;+ OPT=-O2&lt;/SPAN&gt;&lt;/P&gt;

	&lt;P style="margin-bottom: 0px; font-size: 10px; line-height: normal; font-family: Monaco;"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;+ ifort -c -i8 -qopenmp -I/opt/intel//compilers_and_libraries_2016.3.170/mac/mkl/include -O2 dggev_solver.f&lt;/SPAN&gt;&lt;/P&gt;

	&lt;P style="margin-bottom: 0px; font-size: 10px; line-height: normal; font-family: Monaco;"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;+ ifort -o xgv_omp dggev_solver.o -I. -L/opt/intel//compilers_and_libraries_2016.3.170/mac/mkl/lib -Wl,-rpath,/opt/intel//compilers_and_libraries_2016.3.170/mac/mkl/lib -lmkl_intel_ilp64 -lmkl_core -lmkl_intel_thread -lpthread -lm -ldl&lt;/SPAN&gt;&lt;/P&gt;

	&lt;P style="margin-bottom: 0px; font-size: 10px; line-height: normal; font-family: Monaco;"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;Undefined symbols for architecture x86_64:&lt;/SPAN&gt;&lt;/P&gt;

	&lt;P style="margin-bottom: 0px; font-size: 10px; line-height: normal; font-family: Monaco;"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;&amp;nbsp; "___kmpc_begin", referenced from:&lt;/SPAN&gt;&lt;/P&gt;

	&lt;P style="margin-bottom: 0px; font-size: 10px; line-height: normal; font-family: Monaco;"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; _MAIN__ in dggev_solver.o&lt;/SPAN&gt;&lt;/P&gt;

	&lt;P style="margin-bottom: 0px; font-size: 10px; line-height: normal; font-family: Monaco;"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;&amp;nbsp; "___kmpc_end", referenced from:&lt;/SPAN&gt;&lt;/P&gt;

	&lt;P style="margin-bottom: 0px; font-size: 10px; line-height: normal; font-family: Monaco;"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; _MAIN__ in dggev_solver.o&lt;/SPAN&gt;&lt;/P&gt;

	&lt;P style="margin-bottom: 0px; font-size: 10px; line-height: normal; font-family: Monaco;"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;ld: symbol(s) not found for architecture x86_64&lt;/SPAN&gt;&lt;/P&gt;

	&lt;P style="margin-bottom: 0px; font-size: 10px; line-height: normal; font-family: Monaco;"&gt;&amp;nbsp;&lt;/P&gt;

	&lt;P style="margin-bottom: 0px; font-size: 10px; line-height: normal; font-family: Monaco;"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;What needs to be added to my compilation lines to fix this?&lt;/SPAN&gt;&lt;/P&gt;

	&lt;P style="margin-bottom: 0px; font-size: 10px; line-height: normal; font-family: Monaco;"&gt;&amp;nbsp;&lt;/P&gt;

	&lt;P style="margin-bottom: 0px; font-size: 10px; line-height: normal; font-family: Monaco;"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;Thanks, Don&lt;/SPAN&gt;&lt;/P&gt;

	&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;

&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Aug 2016 15:57:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problem-compiling-MKL-with-OpenMP/m-p/1111886#M24410</guid>
      <dc:creator>Don_Spong</dc:creator>
      <dc:date>2016-08-25T15:57:05Z</dc:date>
    </item>
    <item>
      <title>Ifort -qopenmp in the link</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problem-compiling-MKL-with-OpenMP/m-p/1111887#M24411</link>
      <description>Ifort -qopenmp in the link step would supply -liomp5 -lpthreads as required  by  

Mkl parallel and your use of openmp.</description>
      <pubDate>Thu, 25 Aug 2016 21:34:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problem-compiling-MKL-with-OpenMP/m-p/1111887#M24411</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2016-08-25T21:34:38Z</dc:date>
    </item>
    <item>
      <title>Thanks, that fixed my</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problem-compiling-MKL-with-OpenMP/m-p/1111888#M24412</link>
      <description>&lt;P&gt;Thanks, that fixed my compilation and loading problem. Also, I had found earlier that just adding -mkl to to the load fixed things.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Aug 2016 21:59:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problem-compiling-MKL-with-OpenMP/m-p/1111888#M24412</guid>
      <dc:creator>Don_Spong</dc:creator>
      <dc:date>2016-08-25T21:59:56Z</dc:date>
    </item>
    <item>
      <title>two my cents wrt "-mkl"</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problem-compiling-MKL-with-OpenMP/m-p/1111889#M24413</link>
      <description>&lt;P&gt;two my cents wrt "-mkl" option : &amp;nbsp;with this option, Compiler will link with LP64 ( not ILP64 API you originally pointed.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Aug 2016 09:31:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problem-compiling-MKL-with-OpenMP/m-p/1111889#M24413</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2016-08-26T09:31:34Z</dc:date>
    </item>
  </channel>
</rss>

