<?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 Quote:Tim P. wrote: in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Configuring-C-library-to-use-MKL/m-p/1069978#M22207</link>
    <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Tim P. wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;At least one of those paths should be a symlink, both pointing to the specific version installation folder.&amp;nbsp; Guessing that you may use icpc and are looking for the simplest way to link MKL, there is the option icpc -mkl which you could include in your configuring for icpc. At least 3 libraries are needed; there are additional ways of doing it. &amp;nbsp; If you wish to use other compilers, such as g++, or have more complicated requirements, you should use the MKL link advisor tool.&lt;BR /&gt;
	&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Unfortunately, I don't have icpc as I'm using MKL under the community license, so I plan to use g++.&lt;/P&gt;

&lt;P&gt;I've identified the 3 libraries required using the link tool, however, it appears Opt++ is only looking for 1.&lt;/P&gt;</description>
    <pubDate>Sat, 02 Jan 2016 16:54:04 GMT</pubDate>
    <dc:creator>agrim_p_</dc:creator>
    <dc:date>2016-01-02T16:54:04Z</dc:date>
    <item>
      <title>Configuring C++ library to use MKL</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Configuring-C-library-to-use-MKL/m-p/1069976#M22205</link>
      <description>&lt;P style="margin-bottom: 1em; border: 0px; font-size: 15px; clear: both; color: rgb(34, 36, 38); font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif; line-height: 19.5px;"&gt;I'm trying to configure Opt++ to use MKL on Debian 8. Their document (&lt;A href="https://software.sandia.gov/opt++/opt++2.4_doc/html/InstallDoc.html#blas"&gt;https://software.sandia.gov/opt++/opt++2.4_doc/html/InstallDoc.html#blas&lt;/A&gt;)&amp;nbsp;indicates to use the syntax&lt;/P&gt;

&lt;P style="margin-bottom: 1em; border: 0px; font-size: 15px; clear: both; color: rgb(34, 36, 38); font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif; line-height: 19.5px;"&gt;&lt;CODE style="margin: 0px; padding: 1px 5px; border: 0px; font-size: 13px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, sans-serif; white-space: pre-wrap; background-color: rgb(238, 238, 238);"&gt;./configure --with-blas=/path/to/blas/blaslibraryname.a&lt;/CODE&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 1em; border: 0px; font-size: 15px; clear: both; color: rgb(34, 36, 38); font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif; line-height: 19.5px;"&gt;however, when I checked the following two paths, there are several .a files&lt;/P&gt;

&lt;P style="margin-bottom: 1em; border: 0px; font-size: 15px; clear: both; color: rgb(34, 36, 38); font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif; line-height: 19.5px;"&gt;&lt;SPAN style="font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, sans-serif; font-size: 13px; white-space: pre-wrap; background-color: rgb(238, 238, 238);"&gt;/opt/intel/mkl/lib/intel64/&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 1em; border: 0px; font-size: 15px; clear: both; color: rgb(34, 36, 38); font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif; line-height: 19.5px;"&gt;&lt;CODE style="margin: 0px; padding: 1px 5px; border: 0px; font-size: 13px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, sans-serif; white-space: pre-wrap; background-color: rgb(238, 238, 238);"&gt;/opt/intel/compilers_and_libraries/linux/mkl/lib/intel64&lt;/CODE&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 1em; border: 0px; clear: both; color: rgb(34, 36, 38); line-height: 19.5px;"&gt;&lt;SPAN style="font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif; font-size: 15px;"&gt;&lt;STRONG style="margin: 0px; padding: 0px; border: 0px;"&gt;Which library do I use?&lt;/STRONG&gt;&amp;nbsp;I tried a couple&lt;/SPAN&gt;&lt;FONT face="Arial, Helvetica Neue, Helvetica, sans-serif"&gt;&lt;SPAN style="font-size: 15px;"&gt;, but it doesn't appear to work according to the configure.log, which points out&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;CODE style="font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, sans-serif; font-size: 13px; margin: 0px; padding: 1px 5px; border: 0px; border-image-source: initial; border-image-slice: initial; border-image-width: initial; border-image-outset: initial; border-image-repeat: initial; white-space: pre-wrap; background-color: rgb(238, 238, 238);"&gt;undefined reference to sgemm_&lt;/CODE&gt;&lt;FONT face="Arial, Helvetica Neue, Helvetica, sans-serif"&gt;&lt;SPAN style="font-size: 15px;"&gt;.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 1em; border: 0px; font-size: 15px; clear: both; color: rgb(34, 36, 38); font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif; line-height: 19.5px;"&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Sat, 02 Jan 2016 15:23:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Configuring-C-library-to-use-MKL/m-p/1069976#M22205</guid>
      <dc:creator>agrim_p_</dc:creator>
      <dc:date>2016-01-02T15:23:01Z</dc:date>
    </item>
    <item>
      <title>At least one of those paths</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Configuring-C-library-to-use-MKL/m-p/1069977#M22206</link>
      <description>&lt;P&gt;At least one of those paths should be a symlink, both pointing to the specific version installation folder.&amp;nbsp; Guessing that you may use icpc and are looking for the simplest way to link MKL, there is the option icpc -mkl which you could include in your configuring for icpc. At least 3 libraries are needed; there are additional ways of doing it. &amp;nbsp; If you wish to use other compilers, such as g++, or have more complicated requirements, you should use the MKL link advisor tool.&lt;BR /&gt;
	&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 02 Jan 2016 16:23:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Configuring-C-library-to-use-MKL/m-p/1069977#M22206</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2016-01-02T16:23:00Z</dc:date>
    </item>
    <item>
      <title>Quote:Tim P. wrote:</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Configuring-C-library-to-use-MKL/m-p/1069978#M22207</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Tim P. wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;At least one of those paths should be a symlink, both pointing to the specific version installation folder.&amp;nbsp; Guessing that you may use icpc and are looking for the simplest way to link MKL, there is the option icpc -mkl which you could include in your configuring for icpc. At least 3 libraries are needed; there are additional ways of doing it. &amp;nbsp; If you wish to use other compilers, such as g++, or have more complicated requirements, you should use the MKL link advisor tool.&lt;BR /&gt;
	&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Unfortunately, I don't have icpc as I'm using MKL under the community license, so I plan to use g++.&lt;/P&gt;

&lt;P&gt;I've identified the 3 libraries required using the link tool, however, it appears Opt++ is only looking for 1.&lt;/P&gt;</description>
      <pubDate>Sat, 02 Jan 2016 16:54:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Configuring-C-library-to-use-MKL/m-p/1069978#M22207</guid>
      <dc:creator>agrim_p_</dc:creator>
      <dc:date>2016-01-02T16:54:04Z</dc:date>
    </item>
    <item>
      <title>I didn't realize that MKL</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Configuring-C-library-to-use-MKL/m-p/1069979#M22208</link>
      <description>&lt;P&gt;I didn't realize that MKL community would use the same install directories as icpc.&lt;/P&gt;

&lt;P&gt;If opt++ is so limited, you may be able to provide a partial ld linker script as the target of --with-blas, or make a custom library from MKL.&amp;nbsp; If you use MKL parallel, I believe you must replace -lgomp (if used, possibly implicitly) by -liomp5.&lt;/P&gt;</description>
      <pubDate>Sat, 02 Jan 2016 17:11:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Configuring-C-library-to-use-MKL/m-p/1069979#M22208</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2016-01-02T17:11:11Z</dc:date>
    </item>
    <item>
      <title>Agrim,  1) pls use libraries</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Configuring-C-library-to-use-MKL/m-p/1069980#M22209</link>
      <description>&lt;P&gt;Agrim, &amp;nbsp;1) pls use libraries from &lt;SPAN style="font-size: 12px; line-height: 14.4px;"&gt;/opt/intel/compilers_and_libraries/linux/mkl/lib/intel64. &amp;nbsp;2) use mkl linkier adviser to check which mkl's libraries you need to link follow this link:&lt;/SPAN&gt;&lt;A href="https://software.intel.com/en-us/articles/intel-mkl-link-line-advisor/.&amp;nbsp;" target="_blank"&gt;https://software.intel.com/en-us/articles/intel-mkl-link-line-advisor/.&amp;nbsp;&lt;/A&gt;;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 03 Jan 2016 19:01:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Configuring-C-library-to-use-MKL/m-p/1069980#M22209</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2016-01-03T19:01:17Z</dc:date>
    </item>
  </channel>
</rss>

