Parellel computing on 192 core machine

2 次查看(过去 30 天)
Aaron
Aaron 2011-5-26
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.

回答(2 个)

Walter Roberson
Walter Roberson 2011-5-26
Please see this previous Answer

Konrad Malkowski
Konrad Malkowski 2011-5-30
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.

类别

Help CenterFile Exchange 中查找有关 MATLAB Parallel Server 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by