MATLAB Answers

Matlabpool Maximum Number of Local Workers on one computer - Parallel Computing

153 views (last 30 days)
James
James on 13 Jan 2012
Edited: Philip Borghesani on 30 Jun 2017
Couple of questions... 1) Can someone from Mathworks clarify exactly how many local workers one can enable on one single machine? I've read 8 or 12 workers, but not sure which is correct since I've seen users complaining about not being able to access 4 of their 12 cores, but I've also seen 12 as the answer (see http://www.mathworks.com/help/toolbox/distcomp/matlabpool.html)
2) If one were to have, say, a single machine with 16 cores on it with a Matlab Distributed Computing license, can I simply say... 'matlabpool open 16' to activate all 16 local cores?
I'm in the market for a new machine and need to know the answers to decide which machine to get.
Thanks in advance.

Accepted Answer

Edric Ellis
Edric Ellis on 13 Jan 2012
Edited: John Kelly on 14 Nov 2013
The number of local workers available with Parallel Computing Toolbox and no MDCS has changed. When introduced, the limit was 4; this changed to 8 in R2009a; and to 12 in R2011b.
If you want to use 16 workers, you will need a 16-node MDCS licence, and you'll also need to set up some sort of scheduler to manage those. There are detailed instructions about how to do this here. Once you've done that, yes, you'll be able to do "matlabpool open 16".
  4 Comments
Rafael J.
Rafael J. on 20 Feb 2014
You can use as many cores as you want, it's just a licensing issue. The Parallel Processing Toolbox lets you use matlabpool locally and maxes out at 12 cores. If you want more than that, you need to setup a distributed computing server (even if you run it locally, it will be the case where the server and client are the same machine).
There's probably no technical reason why the parallel computing toolbox is limited to 12, it seems to just be a licensing/monetary situation.

Sign in to comment.

More Answers (1)

Edric Ellis
Edric Ellis on 7 Mar 2014
Edited: Edric Ellis on 30 Jun 2017
Please note that in R2014a the limit on the number of local workers was removed. See the release notes.
  4 Comments

Sign in to comment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!