spmd code in the script
显示 更早的评论
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 个评论
Edric Ellis
2015-9-1
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
2015-9-1
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
2015-9-2
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Parallel Computing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!