<?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 &amp;gt;&amp;gt;... I can see each variable in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Use-Intel-MKL-libraries-with-Matlab-2012b/m-p/926305#M13416</link>
    <description>&amp;gt;&amp;gt;... I can see each variable takes 8 bytes storage space...

Or, change the data type to single-precision ( sizeof( float) = 4 bytes ) and I expect ~&lt;STRONG&gt;0.95GB&lt;/STRONG&gt; of memory will be needed.</description>
    <pubDate>Sat, 22 Jun 2013 02:06:30 GMT</pubDate>
    <dc:creator>SergeyKostrov</dc:creator>
    <dc:date>2013-06-22T02:06:30Z</dc:date>
    <item>
      <title>Use Intel MKL libraries with Matlab 2012b</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Use-Intel-MKL-libraries-with-Matlab-2012b/m-p/926292#M13403</link>
      <description>&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hi all,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;I am working with a Matlab code and needs to handle large sparse systems. I have to take perform Mathematical operations like 'inverse', eigen value computation etc on these sparse systems. While using the inbuilt Matlab functions like 'inv()' and 'eig()', I ended up in getting memory issues and the program takes so much time to finish the analysis. This forces me to consider incorporating Intel MKL library functions to my code. I couldn't find a proper help to do so. I have seen certain procedures described for Matlab R2010a version &lt;A href="http://software.intel.com/en-us/articles/using-intel-mkl-with-matlab" target="_blank"&gt;http://software.intel.com/en-us/articles/using-intel-mkl-with-matlab&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;But I couldn't find any information for using MKL with Matlab R2012b. Can anyone help me with this regard ?&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jun 2013 13:26:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Use-Intel-MKL-libraries-with-Matlab-2012b/m-p/926292#M13403</guid>
      <dc:creator>Jeena_J_</dc:creator>
      <dc:date>2013-06-19T13:26:44Z</dc:date>
    </item>
    <item>
      <title>More details on the problems</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Use-Intel-MKL-libraries-with-Matlab-2012b/m-p/926293#M13404</link>
      <description>&lt;P&gt;More details on the problems that you are working on would help. How big is 'large'? Do you want the dominant eigenvalues or all of them? Secondly, before considering writing MEX files to do the job, investigate using the sparse-matrix routines (those have the prefix "sp-") in Matlab. Thirdly, when one mentions that a matrix inverse is needed it can be taken as a sign of inexperience in linear algebra, because almost always explicit computation of matrix inverses is neither necessary nor efficient or accurate.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jun 2013 14:21:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Use-Intel-MKL-libraries-with-Matlab-2012b/m-p/926293#M13404</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2013-06-19T14:21:07Z</dc:date>
    </item>
    <item>
      <title>Hi, </title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Use-Intel-MKL-libraries-with-Matlab-2012b/m-p/926294#M13405</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for the comments&lt;/P&gt;
&lt;P&gt;The systems are atleat 5000 x 50000 matrices.... I donn't need the complete eigen vectors, but needs only few (between 6-15)....&lt;/P&gt;
&lt;P&gt;While taking the eigen values , I have two matrices.. the first one is a full matrix and the second one is a sparse singular matrix.... both have a size more than 5000 x 5000 ... If I use the 'sparse' function in matlab, I have to use 'eigs' to compute the eigen vectors and mode shapes.... but 'eigs' function can't compute the eigen vectors when matrix is singular ..... and my second matrix may or may not be singular ....&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jun 2013 15:28:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Use-Intel-MKL-libraries-with-Matlab-2012b/m-p/926294#M13405</guid>
      <dc:creator>Jeena_J_</dc:creator>
      <dc:date>2013-06-19T15:28:36Z</dc:date>
    </item>
    <item>
      <title>Hi Jeena,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Use-Intel-MKL-libraries-with-Matlab-2012b/m-p/926295#M13406</link>
      <description>&lt;P&gt;Hi Jeena,&lt;/P&gt;
&lt;P&gt;As i understand, there are two questions,&lt;/P&gt;
&lt;P&gt;1. choose suitable lapack functions to perform operation on the sparse matrix.&lt;/P&gt;
&lt;P&gt;Not exaxt sure if you can call them in Matlab directly.&amp;nbsp; Matlab should have blas&amp;nbsp;and lapack function supported.&amp;nbsp; So what you need to do &amp;nbsp;is to choose&amp;nbsp;suitable function.&amp;nbsp;&amp;nbsp; you may consult mathworks for the functions.&lt;/P&gt;
&lt;P&gt;2. Regarding use MKL in Matlab.&lt;/P&gt;
&lt;P&gt;The paper &lt;A href="http://software.intel.com/en-us/articles/using-intel-mkl-with-matlab"&gt;http://software.intel.com/en-us/articles/using-intel-mkl-with-matlab&lt;/A&gt;.&amp;nbsp; mentioned, Matlab have employied MKL BLAS in itself.&amp;nbsp;&amp;nbsp;So you may check if it is ture by command&lt;/P&gt;
&lt;P&gt;&amp;gt; &amp;gt; version - lapack&lt;/P&gt;
&lt;P&gt;&amp;gt;&amp;gt; version - blas&lt;/P&gt;
&lt;P&gt;&amp;nbsp;(sorry, i haven't matlab so can't test).&lt;/P&gt;
&lt;P&gt;If both&amp;nbsp; show MKL verstion. then actually, matlab have used MKL blas and lapack..&amp;nbsp; You don't need to find a way to use MKL with matlab.&lt;/P&gt;
&lt;P&gt;If you'd like try, then the mathworks&amp;nbsp;article &lt;A href="http://www.mathworks.com/help/matlab/matlab_external/calling-lapack-and-blas-functions-from-mex-files.html"&gt;http://www.mathworks.com/help/matlab/matlab_external/calling-lapack-and-blas-functions-from-mex-files.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;and the article &amp;nbsp; &lt;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"&gt;http://software.intel.com/en-us/articles/intel-math-kernel-library-intel-mkl-for-windows-using-intel-mkl-in-matlab-executable-mex-files&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;should be&amp;nbsp;helpful.&amp;nbsp; (but it may take time as you may run&amp;nbsp;other configuration&amp;nbsp;problems like&amp;nbsp;the forum mentioned &lt;A href="http://mdkey.org/?p=277"&gt;http://mdkey.org/?p=277&lt;/A&gt;&amp;nbsp;) ,&lt;/P&gt;
&lt;P&gt;So&amp;nbsp;&amp;nbsp;if your computation task is independent and have other compiler like Intel compiler + microsoft Visual C. you can write C code directly call MKL function. (save your matrix to a file, then read them to C file)&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Ying&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jun 2013 05:45:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Use-Intel-MKL-libraries-with-Matlab-2012b/m-p/926295#M13406</guid>
      <dc:creator>Ying_H_Intel</dc:creator>
      <dc:date>2013-06-20T05:45:16Z</dc:date>
    </item>
    <item>
      <title>Hi , </title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Use-Intel-MKL-libraries-with-Matlab-2012b/m-p/926296#M13407</link>
      <description>&lt;P&gt;Hi ,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Thanks for the comments.. I types the 'version' command and it displayed the version of Intel MKL being used in my Matlab version.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;Now if I need to call a lapack function , say the function to create the inverse of a matrix - do I need to create a mex file / C# file to call the function ??&lt;/P&gt;
&lt;P&gt;Thanks,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jeena&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jun 2013 17:14:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Use-Intel-MKL-libraries-with-Matlab-2012b/m-p/926296#M13407</guid>
      <dc:creator>Jeena_J_</dc:creator>
      <dc:date>2013-06-20T17:14:05Z</dc:date>
    </item>
    <item>
      <title>Jeena,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Use-Intel-MKL-libraries-with-Matlab-2012b/m-p/926297#M13408</link>
      <description>Jeena,

&amp;gt;&amp;gt;&amp;gt;&amp;gt;...I ended up in getting &lt;STRONG&gt;memory issues and the program takes so much time to finish the analysis&lt;/STRONG&gt;...
&amp;gt;&amp;gt;
&amp;gt;&amp;gt;The systems are atleat 5000 x 50000 matrices.... I donn't need the complete eigen vectors, but needs
&amp;gt;&amp;gt;only few (between 6-15)....
&amp;gt;&amp;gt;
&amp;gt;&amp;gt;While taking the eigen values , I have two matrices.. the first one is a full matrix and the second one is
&amp;gt;&amp;gt;a sparse singular matrix.... both have a size more than 5000 x 5000 ...

On what platform did you have memory related issues? Is it 32-bit or 64-bit? Do you use Single-Precision or Double-Precision floating point types?

In case of 5000 x 50000 matrices of Double-Precision floating point type on a 32-bit Windows platform you could have some memory related problems. However, you did not mention what errors you had and please provide these details.</description>
      <pubDate>Fri, 21 Jun 2013 14:00:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Use-Intel-MKL-libraries-with-Matlab-2012b/m-p/926297#M13408</guid>
      <dc:creator>SergeyKostrov</dc:creator>
      <dc:date>2013-06-21T14:00:19Z</dc:date>
    </item>
    <item>
      <title>On such large problems,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Use-Intel-MKL-libraries-with-Matlab-2012b/m-p/926298#M13409</link>
      <description>&lt;P&gt;On such large problems, taking an inverse isn't a suitable way to solve a problem for which there is an alternative.&amp;nbsp; Even "inverse iteration" for eigenvalues doesn't actually take an inverse.&amp;nbsp; Of course, this is a fairly deep academic specialty for which others reading this list should be better qualified to make recommendations than I.&amp;nbsp; I note that the search string "eigenvalue inverse iteration sparse matrix" is insufficiently specific, but you should at least skim relevant Wikipedia articles to refine questions to be asked here.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jun 2013 15:17:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Use-Intel-MKL-libraries-with-Matlab-2012b/m-p/926298#M13409</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2013-06-21T15:17:18Z</dc:date>
    </item>
    <item>
      <title>Hi, </title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Use-Intel-MKL-libraries-with-Matlab-2012b/m-p/926299#M13410</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for the comments...&lt;/P&gt;
&lt;P&gt;@&lt;A href="http://software.intel.com/en-us/user/353909"&gt;Sergey Kostrov&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;I am working on Windows platform 32-bit OS with 2GB RAM.....and I am using the default data type in Matlab ( i didn't intentionaly change the data type) ... I can see each variable takes 8 bytes storage space ....&lt;/P&gt;
&lt;P&gt;For large systems, if I use [C,D] = eig(A,B), it shows up 'out of memory by using eigs() ' ... even for a smaller problems, by looking through the &amp;nbsp;performance profile of Matlab , I can see 'eigs()' take 99% of the total computation time ...&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My main question here is how to use Intel MKL with Matlab ( as I may have even higher matrices and using 'eig()' within Matlab takes so much time for computation ) I have seen a procedure to link MKL with Matlab version R2010a...&lt;A href="http://software.intel.com/en-us/articles/using-intel-mkl-with-matlab"&gt;http://software.intel.com/en-us/articles/using-intel-mkl-with-matlab&lt;/A&gt;&amp;nbsp;.... I wasn't sure if its the same procedure for linking MKL with Matlab R2012b , as I was getting some errors ...&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jun 2013 15:33:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Use-Intel-MKL-libraries-with-Matlab-2012b/m-p/926299#M13410</guid>
      <dc:creator>Jeena_J_</dc:creator>
      <dc:date>2013-06-21T15:33:11Z</dc:date>
    </item>
    <item>
      <title>@ TimP</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Use-Intel-MKL-libraries-with-Matlab-2012b/m-p/926300#M13411</link>
      <description>&lt;P&gt;@ TimP&lt;/P&gt;
&lt;P&gt;I am not using 'inverse' anywhere in Matlab code, but I was just trying to explain the situtation why I needed to use Intel MKL routines...I just meant I might need to deal with large sparse as well as full matrices and thus using the inbuilt Matlab functions might make my program work slow and ends up in storage issues....&amp;nbsp;&lt;/P&gt;
&lt;P&gt;At some stage or other I need to use MKL library functions with Matlab and thus I was trying to call MKL library functions through my Matlab program ...&amp;nbsp;&lt;A href="http://software.intel.com/en-us/articles/using-intel-mkl-with-matlab"&gt;http://software.intel.com/en-us/articles/using-intel-mkl-with-matlab&lt;/A&gt;&amp;nbsp;.... This describes about making MKL use with Matlab start up...I was trying to follow the instructions described in this page... When I was trying to build the custom dll using 'nmake ia32' it started showing some syntax errors .... Not sure if I set wrong environment variables or something...I have typed the following in Intel MKL command prompt ...&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;C:\Program Files\Intel\Composer XE 2013.149\mkl\bin\ia32\mklvars_ia32.bat&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;cd..&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;cd..&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;set MKLROOT="C:\Program Files\Intel\Composer XE 2013.149\mkl"&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;set INCLUDE="C:\Program Files\Intel\Composer XE 2013.149\mkl"\include&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;set LIB="C:\Program Files\Intel\Composer XE 2013.149\mkl"\lib\ia32&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;cd tools&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;cd builder&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;nmake ia32&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;I tried to follow whats explained in the above mentioned page , but after 'nmake ia32' the following error came&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;makefile(92) : fatal error UI023 : syntax error in expression Stop&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://software.intel.com/en-us/articles/intel-mkl-111-getting-started#Environment"&gt;http://software.intel.com/en-us/articles/intel-mkl-111-getting-started#Environment&lt;/A&gt;&amp;nbsp; &amp;nbsp; I could successfully complete the example described in this page for linking with a C code.... &amp;nbsp; so I know MKL works in my computer ....&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jun 2013 16:09:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Use-Intel-MKL-libraries-with-Matlab-2012b/m-p/926300#M13411</guid>
      <dc:creator>Jeena_J_</dc:creator>
      <dc:date>2013-06-21T16:09:52Z</dc:date>
    </item>
    <item>
      <title>Matlab already comes with MKL</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Use-Intel-MKL-libraries-with-Matlab-2012b/m-p/926301#M13412</link>
      <description>&lt;P&gt;Matlab already comes with MKL libraries integrated into it. The Intel article that you cited above is about replacing those libraries with a newer version of MKL, and probably does not apply to your installation. Secondly, you are not likely to see the performance of Matlab functions such as eig() improve dramatically as a result of upgrading to a more recent version of the Matlab MKL DLLs. In other words, given a calculation where 10 percent of the code consumes 90 percent of the CPU cycles, tinkering with the other 90 percent of the code and making it faster is not worthwhile unless you are a perfectionist.&lt;/P&gt;
&lt;P&gt;In fact, I question why you must remain tied to using Matlab for a high-performance task where using a compiled language such as C or Fortran together with MKL might work out to be a better solution.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jun 2013 16:36:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Use-Intel-MKL-libraries-with-Matlab-2012b/m-p/926301#M13412</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2013-06-21T16:36:13Z</dc:date>
    </item>
    <item>
      <title>@ mecej4 </title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Use-Intel-MKL-libraries-with-Matlab-2012b/m-p/926302#M13413</link>
      <description>&lt;P&gt;@ mecej4&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for the clarifications .... If Matlab has lapack and blas libraries inbuilt to it, then can I call a lapack function without writing a mex file ? For example, if I need to solve a system of equations , can I directly use &amp;nbsp;functions like 'DGESV' through Matlab scripts by properly giving the inputs for the function 'DGESV' .... or do I need to create the mex file to call the function always ?&lt;/P&gt;
&lt;P&gt;So far I am creating a prototype model using Matlab scripts and test it for accuracy of results, computation speed and then on a later stage someone else will implement it in using C or Fortran (as I have a zero experience with C or Fortran )...&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jun 2013 18:39:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Use-Intel-MKL-libraries-with-Matlab-2012b/m-p/926302#M13413</guid>
      <dc:creator>Jeena_J_</dc:creator>
      <dc:date>2013-06-21T18:39:31Z</dc:date>
    </item>
    <item>
      <title>You are complicating things</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Use-Intel-MKL-libraries-with-Matlab-2012b/m-p/926303#M13414</link>
      <description>&lt;P&gt;You are complicating things far more than is reasonable by thinking of calling MKL routines through Matlab. Matlab gives you a well thought-out language and environment for performing mathematical work at a higher level than you can in C or Fortran. You express your algorithm in the Matlab language, and Matlab takes care of translating, as needed, your Matlab expressions to calls to MKL routines.&lt;/P&gt;
&lt;P&gt;Given that you have no experience in C or Fortran, my advice is that for the time being you put aside any thoughts of using MKL from Matlab or writing .MEX files. The chances are quite high that .MEX files written without the necessary in-depth understanding would run more slowly than straightforward Matlab code, and therefore do little more than waste your time.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jun 2013 20:00:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Use-Intel-MKL-libraries-with-Matlab-2012b/m-p/926303#M13414</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2013-06-21T20:00:47Z</dc:date>
    </item>
    <item>
      <title>Jeena,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Use-Intel-MKL-libraries-with-Matlab-2012b/m-p/926304#M13415</link>
      <description>Jeena,

I keep my response as short as possible and I marked ( in &lt;STRONG&gt;bold&lt;/STRONG&gt; ) your the most important comments.

&amp;gt;&amp;gt;&amp;gt;&amp;gt;...The systems are at least &lt;STRONG&gt;5000 x 50000&lt;/STRONG&gt; matrices...
&amp;gt;&amp;gt;
&amp;gt;&amp;gt;I am working on Windows platform &lt;STRONG&gt;32-bit OS&lt;/STRONG&gt; with &lt;STRONG&gt;2GB RAM&lt;/STRONG&gt;... and I am using the default data
&amp;gt;&amp;gt;type in Matlab ( i didn't intentionaly change the data type) ... I can see each variable takes &lt;STRONG&gt;8 bytes&lt;/STRONG&gt; storage space...
&amp;gt;&amp;gt;
&amp;gt;&amp;gt;For large systems, if I use [C,D] = eig(A,B), it shows up 'out of memory by using eigs() ' ... even for a smaller problems,
&amp;gt;&amp;gt;by looking through the  performance profile of Matlab , I can see 'eigs()' take 99% of the total computation time...

5,000 x 50,000 = 250,000,000 ( elements ) x 8 ( size of double-precision floating point type ) = 2,000,000,000 ~= &lt;STRONG&gt;1.9GB&lt;/STRONG&gt;

&lt;STRONG&gt;1.9GB&lt;/STRONG&gt; is needed in the best case and memory limitation for a 32-bit application on the 32-bit Windows operating system is &lt;STRONG&gt;2GB&lt;/STRONG&gt;.

So, you need to try all these calculations on a 64-bit Windows operating system with a 64-bit application and a 64-bit version of Matlab.</description>
      <pubDate>Sat, 22 Jun 2013 02:02:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Use-Intel-MKL-libraries-with-Matlab-2012b/m-p/926304#M13415</guid>
      <dc:creator>SergeyKostrov</dc:creator>
      <dc:date>2013-06-22T02:02:51Z</dc:date>
    </item>
    <item>
      <title>&gt;&gt;... I can see each variable</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Use-Intel-MKL-libraries-with-Matlab-2012b/m-p/926305#M13416</link>
      <description>&amp;gt;&amp;gt;... I can see each variable takes 8 bytes storage space...

Or, change the data type to single-precision ( sizeof( float) = 4 bytes ) and I expect ~&lt;STRONG&gt;0.95GB&lt;/STRONG&gt; of memory will be needed.</description>
      <pubDate>Sat, 22 Jun 2013 02:06:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Use-Intel-MKL-libraries-with-Matlab-2012b/m-p/926305#M13416</guid>
      <dc:creator>SergeyKostrov</dc:creator>
      <dc:date>2013-06-22T02:06:30Z</dc:date>
    </item>
    <item>
      <title>Thanks for the comments :)</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Use-Intel-MKL-libraries-with-Matlab-2012b/m-p/926306#M13417</link>
      <description>&lt;P&gt;Thanks for the comments :)&lt;/P&gt;
&lt;P&gt;I will incorporate all these modifications and see the memory requirements&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 22 Jun 2013 22:56:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Use-Intel-MKL-libraries-with-Matlab-2012b/m-p/926306#M13417</guid>
      <dc:creator>Jeena_J_</dc:creator>
      <dc:date>2013-06-22T22:56:34Z</dc:date>
    </item>
    <item>
      <title>Try to use Windows Task</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Use-Intel-MKL-libraries-with-Matlab-2012b/m-p/926307#M13418</link>
      <description>Try to use Windows Task Manager ( Processes property page ) in order to verify how much memory is allocated for your application. It would be nice to see a screenshot for the case when 'Out of Memory' message is displayed ( including the dialog of Windows Task Manager! ).</description>
      <pubDate>Sat, 22 Jun 2013 23:09:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Use-Intel-MKL-libraries-with-Matlab-2012b/m-p/926307#M13418</guid>
      <dc:creator>SergeyKostrov</dc:creator>
      <dc:date>2013-06-22T23:09:42Z</dc:date>
    </item>
    <item>
      <title>Hi Jeena,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Use-Intel-MKL-libraries-with-Matlab-2012b/m-p/926308#M13419</link>
      <description>&lt;P&gt;Hi Jeena,&lt;/P&gt;
&lt;P&gt;No, you can't call lapack function direclty in matlab. As i learned, there are&amp;nbsp;3 ways to use MKL in matlab,&lt;/P&gt;
&lt;P&gt;1. some of matlab function&amp;nbsp;have called MKL function internally,&lt;/P&gt;
&lt;P&gt;2. maybe some matlab plugin have provide such wrapper, you can call lapack funtion directly.&lt;/P&gt;
&lt;P&gt;3. call lapack function and link mkl library yourself as the artice discrible on mathworks.&amp;nbsp; ( in that paper, it use libmwlapack,&amp;nbsp;you can change it into mkl libray)&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So agree to&amp;nbsp;Sergey and Mecej4.&lt;/P&gt;
&lt;P&gt;As you mentioned MKL are in your matlab.&amp;nbsp;&amp;nbsp; the steps in the article&amp;nbsp;was about&amp;nbsp;using new version version instead of old mkl version.&amp;nbsp; So&amp;nbsp;if the mkl version is new enough, you don't need to do them again.&lt;/P&gt;
&lt;P&gt;Second, (not 100% exact sure, but you can consult mathworks) &amp;nbsp;the matlab fuction eigs() itself have accelerated by MKL lapack functions,&amp;nbsp;(when mkl are already there), so&amp;nbsp;there is &amp;nbsp;less chance for you to call lapack function manually to improve the performance unless you have special matrix structure and use special lapack functions.&amp;nbsp; on the other hand, if you have decide to&amp;nbsp;call lapack, then the better solution is to&amp;nbsp;call it directly in C , otherwise you will run&amp;nbsp;into all kind of problems before you&amp;nbsp;make all things ready。 &amp;nbsp;&lt;/P&gt;
&lt;P&gt;third, your matrix is too big to 32bit platform, you may need&amp;nbsp;64bit platform and 64bt matlab.&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Ying&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jun 2013 03:12:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Use-Intel-MKL-libraries-with-Matlab-2012b/m-p/926308#M13419</guid>
      <dc:creator>Ying_H_Intel</dc:creator>
      <dc:date>2013-06-24T03:12:32Z</dc:date>
    </item>
    <item>
      <title>I'd like to make a small</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Use-Intel-MKL-libraries-with-Matlab-2012b/m-p/926309#M13420</link>
      <description>I'd like to make a small comment on:

&amp;gt;&amp;gt;...As i learned, there are &lt;STRONG&gt;3 ways to use MKL in matlab&lt;/STRONG&gt;...

A 4th way is as follows: Any C function, that is from MKL or IPP libraries, or Win32 API, could be called from Matlab using a custom developed ActiveX component.</description>
      <pubDate>Mon, 24 Jun 2013 03:42:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Use-Intel-MKL-libraries-with-Matlab-2012b/m-p/926309#M13420</guid>
      <dc:creator>SergeyKostrov</dc:creator>
      <dc:date>2013-06-24T03:42:05Z</dc:date>
    </item>
    <item>
      <title>Hi Jenna,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Use-Intel-MKL-libraries-with-Matlab-2012b/m-p/926310#M13421</link>
      <description>&lt;P&gt;Hi Jenna,&lt;/P&gt;
&lt;P&gt;Any updates?&lt;/P&gt;
&lt;P&gt;I guess, the 64bit matlab should be able to solve the out of memory problem.&lt;/P&gt;
&lt;P&gt;As sergey mentioned,&amp;nbsp;there are all kind of ways to use c function (mkl are c/fortran function in nature&amp;nbsp;) &amp;nbsp;in Matlab&amp;nbsp; (or&amp;nbsp;call matlab in C). &amp;nbsp;&lt;/P&gt;
&lt;P&gt;There are much articles in mathwork regarding lapack in matlab. As i see, the eig() itself use lapack,&lt;/P&gt;
&lt;P&gt;for example, &lt;A href="http://www.mathworks.com/company/newsletters/articles/matlab-incorporates-lapack.html"&gt;http://www.mathworks.com/company/newsletters/articles/matlab-incorporates-lapack.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;There are now 16 different code paths underlying the eig function, depending on whether there are one or two arguments, whether the arguments are real or complex, whether the problem is symmetric and whether the eigenvectors are requested.&lt;/P&gt;
&lt;P&gt;and here is another simple way to cal build-in lapack in matlab in *.m.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://stackoverflow.com/questions/6438551/calling-matlabs-built-in-lapack-blas-routines"&gt;http://stackoverflow.com/questions/6438551/calling-matlabs-built-in-lapack-blas-routines&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;// dgesvd.m&lt;/P&gt;
&lt;P&gt;X = rand(4,3);&lt;BR /&gt;[m,n] = size(X);&lt;BR /&gt;C = lapack('dgesvd', 'A', 'A', m, n, X, m, zeros(n,1), ...&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; zeros(m), m, zeros(n), n, zeros(5*m,1), 5*m, 0);&lt;BR /&gt;[s,U,VT] = C{[7,8,10]};&lt;BR /&gt;V = VT';&lt;/P&gt;
&lt;P&gt;If you are&amp;nbsp;working within Matlab, could you pleas try it and let us know how it works?&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Ying&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jul 2013 01:44:41 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Use-Intel-MKL-libraries-with-Matlab-2012b/m-p/926310#M13421</guid>
      <dc:creator>Ying_H_Intel</dc:creator>
      <dc:date>2013-07-09T01:44:41Z</dc:date>
    </item>
    <item>
      <title>hi,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Use-Intel-MKL-libraries-with-Matlab-2012b/m-p/926311#M13422</link>
      <description>&lt;P&gt;hi,&lt;/P&gt;

&lt;P&gt;&amp;nbsp; &amp;nbsp;Embedding Process&lt;BR /&gt;
	&amp;nbsp;i am dividing high frequency coefficients into 3*3block ,if center coefficient f3(i,j) and i am finding average of minimum and maximum coefficients value..................condition 1 and 2 for inserting bit 0 and condition 3 and 4 for inserting bit 1. for retriving this condition is not working &amp;nbsp;plz help me out.&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;if f3(i,j) &amp;gt;=avg(i,j) &amp;nbsp; &amp;nbsp; &amp;nbsp; ...................1&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp; &amp;nbsp; f6(i,j)=f3(i,j); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;end&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp;if ((f3(i,j)&amp;lt;avg(i,j)) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;.....2&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; f6(i,j)=avg(i,j)+1;&lt;/P&gt;

&lt;P&gt;end&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;if f3(i,j) &amp;lt;avg(i,j) &amp;nbsp; &amp;nbsp; &amp;nbsp; ...................3&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; f6(i,j)=f3(i,j); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;end&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp;if ((f3(i,j)&amp;gt;=avg(i,j)) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;.....4&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; f6(i,j)=avg(i,j)+1;&lt;/P&gt;

&lt;P&gt;end&lt;/P&gt;

&lt;P&gt;for extraction&lt;/P&gt;

&lt;P&gt;if f3(i,j) &amp;lt;avg(i,j) &amp;nbsp; &amp;nbsp;then extract bit 0&lt;/P&gt;

&lt;P&gt;if f3(i,j) &amp;gt;=avg(i,j) &amp;nbsp; &amp;nbsp;then extract bit 1&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;thank u advance &amp;nbsp;........&lt;/P&gt;</description>
      <pubDate>Fri, 21 Mar 2014 11:22:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Use-Intel-MKL-libraries-with-Matlab-2012b/m-p/926311#M13422</guid>
      <dc:creator>RANGU_R_</dc:creator>
      <dc:date>2014-03-21T11:22:03Z</dc:date>
    </item>
  </channel>
</rss>

