[18335fall09] pset 1 tip: disabling multiprocessing in Matlab for problem 3
Steven G. Johnson
stevenj.mit at gmail.com
Fri Sep 18 17:49:06 EDT 2009
One of you just pointed out to me that the latest version of Matlab
may no longer support this feature. The web page for Matlab 7.8
(R2009a) states:
The capability to adjust the number of computational threads in a
single MATLAB session is no longer available as of this release. This
change removes from the MATLAB preferences panel the ability to set
the maximum number of computational threads. The primary reason for
this change is that products that MATLAB is dependent upon have the
ability to spawn threads from the currently-executing thread. This
makes it infeasible to monitor and/or limit the number of
computational threads at any given time in a MATLAB process. MATLAB
versions 7.8 and later require that you decide between threading and
no threading at the time you launch your MATLAB session.
Multithreading is enabled by default. To disable this feature, start
MATLAB using the new singleCompThread option.
On Unix systems with Matlab 7.8, you might have to run matlab with
'matlab -singleCompThread' if I understand this documentation
correctly. On Windows you have to right-click the Matlab icon, get
the Properties window, and add "-singleCompThread" in the Target
field. See:
http://www.mathworks.com/access/helpdesk/help/techdoc/matlab_env/f8-4994.html
SGJ
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/18335fall09/attachments/20090918/43a8c372/attachment.htm
More information about the 18335fall09
mailing list