Parellel computing on 192 core machine
Show older comments
I'm trying to run computations in parallel on an aggregated machine with 192 cores. Using the parallel computing toolbox, though, if I'm limited to eight workers with matlabpool, I'm trying to understand exactly how the workers will be using the cores. Is there a good resource/reference to understand more about how MATLAB uses processors in parallel? Thank you very much for any help/advice you can give.
Answers (2)
Walter Roberson
on 26 May 2011
1 vote
Konrad Malkowski
on 30 May 2011
0 votes
By default each PCT worker is single threaded. To take advantage of all 192 cores on the machine inside of matlabpool or parallel/distributed jobs you will need the MDCS license.
Also note that certain MATLAB functions and operations are multi-threaded by default, for example Linear Algebra Operations, or element wise operations. When run on the client MATLAB these operations will try take advantage of the cores availble on the machine. However, you will not have any control of which operations are running on multiple cores, or how many cores they are using.
Run maxNumCompThreads on the client MATLAB command prompt to see how many cores MATLAB detects on your machine.
Categories
Find more on Job and Task Creation in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!