<?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: R2007a Released</title>
	<atom:link href="http://blogs.mathworks.com/loren/2007/03/01/r2007a-released/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.mathworks.com/loren/2007/03/01/r2007a-released/</link>
	<description>Loren Shure works on design of the MATLAB language at MathWorks. She writes here about once a week on MATLAB programming and related topics.</description>
	<lastBuildDate>Fri, 24 May 2013 13:24:40 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<item>
		<title>By: Ken Atwell</title>
		<link>http://blogs.mathworks.com/loren/2007/03/01/r2007a-released/#comment-29157</link>
		<dc:creator>Ken Atwell</dc:creator>
		<pubDate>Mon, 19 May 2008 16:41:52 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/loren/2007/03/01/r2007a-released/#comment-29157</guid>
		<description><![CDATA[Alacon AV --

If you are interested in seeing programmatic threading in MATLAB, drop me a line (I am a product manager for MATLAB).  I would love to hear what you have in mind.  My email address is:

ken dot atwell at mathworks dot com

Regards,
KEN ATWELL]]></description>
		<content:encoded><![CDATA[<p>Alacon AV &#8211;</p>
<p>If you are interested in seeing programmatic threading in MATLAB, drop me a line (I am a product manager for MATLAB).  I would love to hear what you have in mind.  My email address is:</p>
<p>ken dot atwell at mathworks dot com</p>
<p>Regards,<br />
KEN ATWELL</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Loren</title>
		<link>http://blogs.mathworks.com/loren/2007/03/01/r2007a-released/#comment-29084</link>
		<dc:creator>Loren</dc:creator>
		<pubDate>Thu, 15 May 2008 15:44:04 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/loren/2007/03/01/r2007a-released/#comment-29084</guid>
		<description><![CDATA[Alacon-

There is no way to program directly with threads using M-files in a single MATLAB session.  You might consider our Parallel Computing Toolbox, depending on what you are trying to do.

--Loren]]></description>
		<content:encoded><![CDATA[<p>Alacon-</p>
<p>There is no way to program directly with threads using M-files in a single MATLAB session.  You might consider our Parallel Computing Toolbox, depending on what you are trying to do.</p>
<p>&#8211;Loren</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alacon AV</title>
		<link>http://blogs.mathworks.com/loren/2007/03/01/r2007a-released/#comment-29083</link>
		<dc:creator>Alacon AV</dc:creator>
		<pubDate>Thu, 15 May 2008 15:40:04 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/loren/2007/03/01/r2007a-released/#comment-29083</guid>
		<description><![CDATA[Hello,

I&#039;d like to know whether Matlab allows you to program using threads, like java. I need to run two M-Files at the same time. Thanks, Best wishes,

AAV]]></description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>I&#8217;d like to know whether Matlab allows you to program using threads, like java. I need to run two M-Files at the same time. Thanks, Best wishes,</p>
<p>AAV</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kamran Turkoglu</title>
		<link>http://blogs.mathworks.com/loren/2007/03/01/r2007a-released/#comment-26462</link>
		<dc:creator>Kamran Turkoglu</dc:creator>
		<pubDate>Tue, 19 Feb 2008 19:46:00 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/loren/2007/03/01/r2007a-released/#comment-26462</guid>
		<description><![CDATA[Hello,
I need your help related with Multithreading issue of Matlab R2007b. 

We just purchased a Quad Core2Duo work station (in total 8 cores), on which we would like to run some simulations. What we would like to do is to see from Windows Task Manager that all 8 cores are working with full speed on our simulations? Is it possible? And if it is possible, how?

We enabled Multithreading property of Matlab R2007b from preferences and it shows us that it is able to use 8 cores for computational efforts. But what we see from Windows Task Manager&#039;s CPU Performance window is that only 1 of the 8 cores is making a peak, and the others are sleeping. 

How can we activate all cores to work with their maximum performance at the same time in order to run our simulation under Matlab R2007b? 

Best wishes and regards,
Yours respectfully,
K.T.]]></description>
		<content:encoded><![CDATA[<p>Hello,<br />
I need your help related with Multithreading issue of Matlab R2007b. </p>
<p>We just purchased a Quad Core2Duo work station (in total 8 cores), on which we would like to run some simulations. What we would like to do is to see from Windows Task Manager that all 8 cores are working with full speed on our simulations? Is it possible? And if it is possible, how?</p>
<p>We enabled Multithreading property of Matlab R2007b from preferences and it shows us that it is able to use 8 cores for computational efforts. But what we see from Windows Task Manager&#8217;s CPU Performance window is that only 1 of the 8 cores is making a peak, and the others are sleeping. </p>
<p>How can we activate all cores to work with their maximum performance at the same time in order to run our simulation under Matlab R2007b? </p>
<p>Best wishes and regards,<br />
Yours respectfully,<br />
K.T.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bobby Cheng</title>
		<link>http://blogs.mathworks.com/loren/2007/03/01/r2007a-released/#comment-16406</link>
		<dc:creator>Bobby Cheng</dc:creator>
		<pubDate>Tue, 28 Aug 2007 15:13:40 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/loren/2007/03/01/r2007a-released/#comment-16406</guid>
		<description><![CDATA[First setNumberOfComputationalThreads is not a supported function. In R2007b, MATLAB provides maxNumCompThreads to change the maximum number of computational threads  programmatically.

Again, this function only provides the ability to set the maximum number of computational threads. Can you tell us why this is important in your work? I think even if we provided such function, MATLAB built-in function would not react to this setting, because a) vendor BLAS has their own threading algorithms that MATLAB has not control of, and b) many computation will slow down if we don&#039;t take care how to/whether to multithread.

One good example is sparse in bench.m. You did not observe speed up for sparse becuase it involves a lot of BLAS calls to smaller matrices and vendor BLAS decided it will not multithread. In fact, many customer has observed slow down with sparse in bench.m when multithreading is turned on. This turned out that vendor BLAS are not universally faster with multithreading on. In fact, the multithreaded BLAS can be slower on particular matrice size. Here is one of the many reasons why the default setting for multithreading is off for R2007a and R2007b. We are working with vendors to plug these holes.

The long term goal obviously is to turn on multithreaded computation by default. All users need to know is that MATLAB will take advantage of their latest multi-core chips effectively.]]></description>
		<content:encoded><![CDATA[<p>First setNumberOfComputationalThreads is not a supported function. In R2007b, MATLAB provides maxNumCompThreads to change the maximum number of computational threads  programmatically.</p>
<p>Again, this function only provides the ability to set the maximum number of computational threads. Can you tell us why this is important in your work? I think even if we provided such function, MATLAB built-in function would not react to this setting, because a) vendor BLAS has their own threading algorithms that MATLAB has not control of, and b) many computation will slow down if we don&#8217;t take care how to/whether to multithread.</p>
<p>One good example is sparse in bench.m. You did not observe speed up for sparse becuase it involves a lot of BLAS calls to smaller matrices and vendor BLAS decided it will not multithread. In fact, many customer has observed slow down with sparse in bench.m when multithreading is turned on. This turned out that vendor BLAS are not universally faster with multithreading on. In fact, the multithreaded BLAS can be slower on particular matrice size. Here is one of the many reasons why the default setting for multithreading is off for R2007a and R2007b. We are working with vendors to plug these holes.</p>
<p>The long term goal obviously is to turn on multithreaded computation by default. All users need to know is that MATLAB will take advantage of their latest multi-core chips effectively.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cédric</title>
		<link>http://blogs.mathworks.com/loren/2007/03/01/r2007a-released/#comment-16405</link>
		<dc:creator>Cédric</dc:creator>
		<pubDate>Tue, 28 Aug 2007 09:32:11 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/loren/2007/03/01/r2007a-released/#comment-16405</guid>
		<description><![CDATA[Hi,

I read in this topic that we are not selecting the number of computational threads but the maximum number of computational threads in the GUI preferences.
I would like to know if the use of the function “setNumberOfComputationalThreads(N)” allow us to select the exact number of thread to use.
In addition, I made benchmarks on matrix-matrix operations with sparse matrix or not (addition, subtraction, multiplication…). I obtained performance improvement on my dual core with matrix-matrix multiplication only ( and not with sparse matrix ). 
I know that Intel MKL/BLAS library allows to use multithread with all of this operations ( and on sparse matrix too). Is matlab able to use all mkl functions ?

Thank you in advance for your response,]]></description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I read in this topic that we are not selecting the number of computational threads but the maximum number of computational threads in the GUI preferences.<br />
I would like to know if the use of the function “setNumberOfComputationalThreads(N)” allow us to select the exact number of thread to use.<br />
In addition, I made benchmarks on matrix-matrix operations with sparse matrix or not (addition, subtraction, multiplication…). I obtained performance improvement on my dual core with matrix-matrix multiplication only ( and not with sparse matrix ).<br />
I know that Intel MKL/BLAS library allows to use multithread with all of this operations ( and on sparse matrix too). Is matlab able to use all mkl functions ?</p>
<p>Thank you in advance for your response,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David</title>
		<link>http://blogs.mathworks.com/loren/2007/03/01/r2007a-released/#comment-16391</link>
		<dc:creator>David</dc:creator>
		<pubDate>Mon, 20 Aug 2007 12:50:01 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/loren/2007/03/01/r2007a-released/#comment-16391</guid>
		<description><![CDATA[Oh, damm..... 

Thanks for the help though.

David]]></description>
		<content:encoded><![CDATA[<p>Oh, damm&#8230;.. </p>
<p>Thanks for the help though.</p>
<p>David</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Loren</title>
		<link>http://blogs.mathworks.com/loren/2007/03/01/r2007a-released/#comment-16389</link>
		<dc:creator>Loren</dc:creator>
		<pubDate>Mon, 20 Aug 2007 12:11:53 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/loren/2007/03/01/r2007a-released/#comment-16389</guid>
		<description><![CDATA[David-

I had a typo, sorry.  I&#039;ve fixed it now.  Only through the GUI currently.

--Loren]]></description>
		<content:encoded><![CDATA[<p>David-</p>
<p>I had a typo, sorry.  I&#8217;ve fixed it now.  Only through the GUI currently.</p>
<p>&#8211;Loren</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David</title>
		<link>http://blogs.mathworks.com/loren/2007/03/01/r2007a-released/#comment-16388</link>
		<dc:creator>David</dc:creator>
		<pubDate>Mon, 20 Aug 2007 12:04:51 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/loren/2007/03/01/r2007a-released/#comment-16388</guid>
		<description><![CDATA[Hi Loren,

Oh, fantastic - what is the command to enable it then?

Best,
David]]></description>
		<content:encoded><![CDATA[<p>Hi Loren,</p>
<p>Oh, fantastic &#8211; what is the command to enable it then?</p>
<p>Best,<br />
David</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Loren</title>
		<link>http://blogs.mathworks.com/loren/2007/03/01/r2007a-released/#comment-16387</link>
		<dc:creator>Loren</dc:creator>
		<pubDate>Mon, 20 Aug 2007 11:02:12 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/loren/2007/03/01/r2007a-released/#comment-16387</guid>
		<description><![CDATA[David-

You can only switch the multithreading through the GUI, not the command line in R2007a.  You may be able to get programmable control in future releases.

--Loren]]></description>
		<content:encoded><![CDATA[<p>David-</p>
<p>You can only switch the multithreading through the GUI, not the command line in R2007a.  You may be able to get programmable control in future releases.</p>
<p>&#8211;Loren</p>
]]></content:encoded>
	</item>
</channel>
</rss>
