フィルターのクリア

spmd code in the script

2 ビュー (過去 30 日間)
Wojciech
Wojciech 2015 年 8 月 29 日
コメント済み: Wojciech 2015 年 9 月 2 日
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 件のコメント
Brendan Hamm
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
Wojciech 2015 年 9 月 2 日
thank you, there was a problem with using the path together with the function name

サインインしてコメントする。

採用された回答

Shruti Sapre
Shruti Sapre 2015 年 9 月 1 日
Hello,
The error you mentioned (Undefined function or variable 'matlab.internal.getSettingsRoot') occurs sometimes when a custom pathdef.m has been implemented or when the path used by MATLAB cannot find some basic MATLAB folders. You could try running the below commands and restarting MATLAB to remove any modifications made to your path.
>>restoredefaultpath;
>>rehash toolboxcache;
>>savepath;
Please note that this will remove any modifications you have made to your path; it will also remove third party toolboxes and support packages. (You will need to reinstall them)
Hope this helps!
-Shruti
  1 件のコメント
Wojciech
Wojciech 2015 年 9 月 2 日
thank you - the problem was with path as you wrote :)

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMATLAB Parallel Server についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by