<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: Math libraries version info &#038; upgrade	</title>
	<atom:link href="https://undocumentedmatlab.com/articles/math-libraries-version-info-upgrade/feed" rel="self" type="application/rss+xml" />
	<link>https://undocumentedmatlab.com/articles/math-libraries-version-info-upgrade?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=math-libraries-version-info-upgrade</link>
	<description>Professional Matlab consulting, development and training</description>
	<lastBuildDate>Wed, 31 Jul 2013 18:03:37 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.2</generator>
	<item>
		<title>
		By: Sparse data math info &#124; Undocumented Matlab		</title>
		<link>https://undocumentedmatlab.com/articles/math-libraries-version-info-upgrade#comment-231936</link>

		<dc:creator><![CDATA[Sparse data math info &#124; Undocumented Matlab]]></dc:creator>
		<pubDate>Wed, 31 Jul 2013 18:03:37 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=3998#comment-231936</guid>

					<description><![CDATA[[...] Two weeks ago, I posted about Matlab&#8217;s math libraries and their various versions across Matlab releases [...]]]></description>
			<content:encoded><![CDATA[<p>[&#8230;] Two weeks ago, I posted about Matlab&#8217;s math libraries and their various versions across Matlab releases [&#8230;]</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Amro		</title>
		<link>https://undocumentedmatlab.com/articles/math-libraries-version-info-upgrade#comment-226789</link>

		<dc:creator><![CDATA[Amro]]></dc:creator>
		<pubDate>Thu, 18 Jul 2013 22:17:02 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=3998#comment-226789</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/math-libraries-version-info-upgrade#comment-226754&quot;&gt;Amro&lt;/a&gt;.

Actually those *.lib files are considered import libraries [*], which are required in the case of MSVC compiler/linker. The actual implementation of the BLAS routines resides in the dynamically loaded library. On Linux/Mac, you can directly link against the shared library equivalent to DLLs (*.so files) without an import library. 

[*]: https://en.wikipedia.org/wiki/Dynamic-link_library#Import_libraries]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/math-libraries-version-info-upgrade#comment-226754">Amro</a>.</p>
<p>Actually those *.lib files are considered import libraries [*], which are required in the case of MSVC compiler/linker. The actual implementation of the BLAS routines resides in the dynamically loaded library. On Linux/Mac, you can directly link against the shared library equivalent to DLLs (*.so files) without an import library. </p>
<p>[*]: <a href="https://en.wikipedia.org/wiki/Dynamic-link_library#Import_libraries" rel="nofollow ugc">https://en.wikipedia.org/wiki/Dynamic-link_library#Import_libraries</a></p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Amro		</title>
		<link>https://undocumentedmatlab.com/articles/math-libraries-version-info-upgrade#comment-226786</link>

		<dc:creator><![CDATA[Amro]]></dc:creator>
		<pubDate>Thu, 18 Jul 2013 22:03:44 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=3998#comment-226786</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/math-libraries-version-info-upgrade#comment-226776&quot;&gt;Amro&lt;/a&gt;.

I&#039;m not sure if I&#039;m allowed to discuss this in an open forum, but I just tried it in the R2013b prerelease, and they seem to be using the latest MKL 11.0.2 and FFT 3.3.3 versions. IPP is unchanged though.

Oh and you&#039;ll be happy to know that MATLAB has finally upgraded to Java 7 :)]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/math-libraries-version-info-upgrade#comment-226776">Amro</a>.</p>
<p>I&#8217;m not sure if I&#8217;m allowed to discuss this in an open forum, but I just tried it in the R2013b prerelease, and they seem to be using the latest MKL 11.0.2 and FFT 3.3.3 versions. IPP is unchanged though.</p>
<p>Oh and you&#8217;ll be happy to know that MATLAB has finally upgraded to Java 7 🙂</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Yair Altman		</title>
		<link>https://undocumentedmatlab.com/articles/math-libraries-version-info-upgrade#comment-226785</link>

		<dc:creator><![CDATA[Yair Altman]]></dc:creator>
		<pubDate>Thu, 18 Jul 2013 21:58:35 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=3998#comment-226785</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/math-libraries-version-info-upgrade#comment-226754&quot;&gt;Amro&lt;/a&gt;.

The specified libs are static libs that are essentially MathWorks-generated wrappers for MKL&#039;s internal BLAS, LAPACK functions. Instead of the libs, one could presumably link directly with &lt;i&gt;mkl.dll&lt;/i&gt;.

Had MathWorks encapsulated BLAS and LAPACK in DLLs rather than libs, we could call them directly from m-code. Since MathWorks chose to use static libs, the libs can only be used in Matlab by linking them into a mex file. I&#039;m not sure that I understand the logic of this decision. It doesn&#039;t matter so much since we can directly use &lt;i&gt;mkl.dll&lt;/i&gt;, which presumably includes everything that the static libs have.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/math-libraries-version-info-upgrade#comment-226754">Amro</a>.</p>
<p>The specified libs are static libs that are essentially MathWorks-generated wrappers for MKL&#8217;s internal BLAS, LAPACK functions. Instead of the libs, one could presumably link directly with <i>mkl.dll</i>.</p>
<p>Had MathWorks encapsulated BLAS and LAPACK in DLLs rather than libs, we could call them directly from m-code. Since MathWorks chose to use static libs, the libs can only be used in Matlab by linking them into a mex file. I&#8217;m not sure that I understand the logic of this decision. It doesn&#8217;t matter so much since we can directly use <i>mkl.dll</i>, which presumably includes everything that the static libs have.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Yair Altman		</title>
		<link>https://undocumentedmatlab.com/articles/math-libraries-version-info-upgrade#comment-226779</link>

		<dc:creator><![CDATA[Yair Altman]]></dc:creator>
		<pubDate>Thu, 18 Jul 2013 21:48:33 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=3998#comment-226779</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/math-libraries-version-info-upgrade#comment-226776&quot;&gt;Amro&lt;/a&gt;.

@Amro - Thanks for the numerous references. It would be interesting to learn if anyone has successfully integrated a &lt;b&gt;newer&lt;/b&gt; version of MKL or IPPL in Matlab, as opposed to an entirely different library which is naturally another story. My hope is that a simple in-place DLL replacement might provide important performance and stability benefits across Matlab, without requiring a single line of code to change. 

Unfortunately, I can&#039;t test this as I do not have an independent license to MKL / IPPL. And I would probably wouldn&#039;t know how to test it properly anyway if I did have a license. But there are plenty of smart linear-algebra experts out there who might just pick up the glove (&lt;a href=&quot;http://www.walkingrandomly.com/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;Mike Croucher&lt;/a&gt; comes to mind, for one). 

I&#039;ve offered the bait - now let&#039;s see if anything interesting comes up in the net...]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/math-libraries-version-info-upgrade#comment-226776">Amro</a>.</p>
<p>@Amro &#8211; Thanks for the numerous references. It would be interesting to learn if anyone has successfully integrated a <b>newer</b> version of MKL or IPPL in Matlab, as opposed to an entirely different library which is naturally another story. My hope is that a simple in-place DLL replacement might provide important performance and stability benefits across Matlab, without requiring a single line of code to change. </p>
<p>Unfortunately, I can&#8217;t test this as I do not have an independent license to MKL / IPPL. And I would probably wouldn&#8217;t know how to test it properly anyway if I did have a license. But there are plenty of smart linear-algebra experts out there who might just pick up the glove (<a href="http://www.walkingrandomly.com/" target="_blank" rel="nofollow">Mike Croucher</a> comes to mind, for one). </p>
<p>I&#8217;ve offered the bait &#8211; now let&#8217;s see if anything interesting comes up in the net&#8230;</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Amro		</title>
		<link>https://undocumentedmatlab.com/articles/math-libraries-version-info-upgrade#comment-226776</link>

		<dc:creator><![CDATA[Amro]]></dc:creator>
		<pubDate>Thu, 18 Jul 2013 21:35:41 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=3998#comment-226776</guid>

					<description><![CDATA[Some people in the past have successfully managed to run MATLAB with customized implementations of BLAS/LAPACK (ATLAS, GotoBLAS, OpenBLAS, ..). Here are some references for those interested:

  https://www.mathworks.com/matlabcentral/newsreader/view_thread/129077
  http://www.stanford.edu/~echu508/matlab.html
  http://software.intel.com/en-us/articles/using-intel-mkl-with-matlab/
  http://software.intel.com/en-us/articles/intel-math-kernel-library-intel-mkl-for-windows-using-intel-mkl-in-matlab-executable-mex-files/

Back in v6 and earlier (I think), MATLAB used ATLAS as BLAS implementation, before switching to Intel MKL starting with v7:

  http://www.mathworks.com/company/newsletters/articles/matlab-incorporates-lapack.html

It should be noted that MKL is highly optimized for Intel processors, and it&#039;s hard to get large performance gains over the vendor&#039;s own implementation..]]></description>
			<content:encoded><![CDATA[<p>Some people in the past have successfully managed to run MATLAB with customized implementations of BLAS/LAPACK (ATLAS, GotoBLAS, OpenBLAS, ..). Here are some references for those interested:</p>
<p>  <a href="https://www.mathworks.com/matlabcentral/newsreader/view_thread/129077" rel="nofollow ugc">https://www.mathworks.com/matlabcentral/newsreader/view_thread/129077</a><br />
  <a href="http://www.stanford.edu/~echu508/matlab.html" rel="nofollow ugc">http://www.stanford.edu/~echu508/matlab.html</a><br />
  <a href="http://software.intel.com/en-us/articles/using-intel-mkl-with-matlab/" rel="nofollow ugc">http://software.intel.com/en-us/articles/using-intel-mkl-with-matlab/</a><br />
  <a href="http://software.intel.com/en-us/articles/intel-math-kernel-library-intel-mkl-for-windows-using-intel-mkl-in-matlab-executable-mex-files/" rel="nofollow ugc">http://software.intel.com/en-us/articles/intel-math-kernel-library-intel-mkl-for-windows-using-intel-mkl-in-matlab-executable-mex-files/</a></p>
<p>Back in v6 and earlier (I think), MATLAB used ATLAS as BLAS implementation, before switching to Intel MKL starting with v7:</p>
<p>  <a href="http://www.mathworks.com/company/newsletters/articles/matlab-incorporates-lapack.html" rel="nofollow ugc">http://www.mathworks.com/company/newsletters/articles/matlab-incorporates-lapack.html</a></p>
<p>It should be noted that MKL is highly optimized for Intel processors, and it&#8217;s hard to get large performance gains over the vendor&#8217;s own implementation..</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Amro		</title>
		<link>https://undocumentedmatlab.com/articles/math-libraries-version-info-upgrade#comment-226754</link>

		<dc:creator><![CDATA[Amro]]></dc:creator>
		<pubDate>Thu, 18 Jul 2013 20:26:51 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=3998#comment-226754</guid>

					<description><![CDATA[There is a section in the docs explaining how to call BLAS/LAPACK routines in MEX functions (linking against the versions that ship with MATLAB): http://www.mathworks.com/help/matlab/matlab_external/calling-lapack-and-blas-functions-from-mex-files.html

Also here is an oldie but goodie submission on FEX to interface with LAPACK: http://www.mathworks.com/matlabcentral/fileexchange/16777-lapack]]></description>
			<content:encoded><![CDATA[<p>There is a section in the docs explaining how to call BLAS/LAPACK routines in MEX functions (linking against the versions that ship with MATLAB): <a href="http://www.mathworks.com/help/matlab/matlab_external/calling-lapack-and-blas-functions-from-mex-files.html" rel="nofollow ugc">http://www.mathworks.com/help/matlab/matlab_external/calling-lapack-and-blas-functions-from-mex-files.html</a></p>
<p>Also here is an oldie but goodie submission on FEX to interface with LAPACK: <a href="http://www.mathworks.com/matlabcentral/fileexchange/16777-lapack" rel="nofollow ugc">http://www.mathworks.com/matlabcentral/fileexchange/16777-lapack</a></p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
