spmd code in the script
Ältere Kommentare anzeigen
I'm starting with spmd. My first prepared code runs by pasting into command window, but crashes Matlab when I run the script with the same content. Now I'm trying on the PC with probably only one physical worker (the collegue says that second is virtual) and it shows problems with running paralel pool (eg. Undefined function or variable 'matlab.internal.getSettingsRoot'.) . However the toolbox is installed and the pasted code runs ok and creates the composites properly.
3 Kommentare
Edric Ellis
am 1 Sep. 2015
What release of MATLAB are you using? Do you have a minimal reproduction script that demonstrates the problem? (Scripts containing spmd blocks should work just fine, so this may well turn out to be an installation problem somewhere...)
Brendan Hamm
am 1 Sep. 2015
Additionally you should actually expect a performance decrease if you have only one physical worker as virtual cores are sharing resources with the physical.
Wojciech
am 2 Sep. 2015
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Parallel Computing finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!