The Matlab 2017a has a restriction on the number of "workers"?

3 vues (au cours des 30 derniers jours)
Chosen Zhou
Chosen Zhou le 11 Sep 2017
Commenté : Chosen Zhou le 11 Sep 2017
In earlier versions of MATLAB there was a restriction on the number of 'workers' - there was a maximum of 12, but this was lifted as of 2015a. As I am using 2017a, I should not be experiencing this. I have checked my 'numcores', here is the result.
>> feature('numcores')
MATLAB detected: 16 physical cores.
MATLAB detected: 16 logical cores.
MATLAB was assigned: 16 logical cores by the OS.
MATLAB is using: 16 logical cores.
but when I run my program, Matlab shows
Starting parallel pool (parpool) using the 'local' profile ...
connected to 12 workers.
  2 commentaires
liu lin
liu lin le 11 Sep 2017
the number of workers which can work is equal to the number of the gpu of your computer. when you start parallel compute really, the color of the blue bar would change to green.
Chosen Zhou
Chosen Zhou le 11 Sep 2017
I know this, but in fact I have 16 cores, but Matlab only use 12 cores to run my program. I want to figure out whether 12 cores is max in Matlab, or whether it is my computer's setting problem.

Connectez-vous pour commenter.

Réponse acceptée

Steven Lord
Steven Lord le 11 Sep 2017
Open up the parallel preferences. What is the preferred number of workers in a parallel pool listed in the preferences?
Also open the Cluster Profile Manager using the link on the preferences window and check the NumWorkers property to ensure it has not been set explicitly to open 12 workers.
  1 commentaire
Chosen Zhou
Chosen Zhou le 11 Sep 2017
Thank you for your answer. It is really helpful.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Parallel Computing Fundamentals dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by