The Matlab 2017a has a restriction on the number of "workers"?
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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
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.
Réponse acceptée
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.
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Parallel Computing Fundamentals dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!