localhost 使用時に MATLABPOOL を実行するとエラーとなるのはなぜですか?
1 回表示 (過去 30 日間)
古いコメントを表示
MathWorks Support Team
2013 年 10 月 25 日
回答済み: MathWorks Support Team
2013 年 10 月 25 日
localhost を使用しているにもかかわらず、MATLABPOOL を実行すると以下のようなエラーとなります。
>> matlabpool
Starting matlabpool using the 'local' configuration ... stopped.
??? Error using ==> matlabpool at 133
Failed to start matlabpool.
This is caused by:
Attempt to reference field of non-structure array.
また、Configuration Validation を実行すると Distributed Job ステージのところで Failed となります。
--------------------------------------
Stage: Distributed Job
Status: Failed
Description: The job creation or submission encountered a MATLAB exception.
Command Line Output: (none)
Error Report:
Error using ==> distcomp.abstractscheduler.createJob at 48
Attempt to reference field of non-structure array.
Debug Log: (none)
--------------------------------------
採用された回答
MathWorks Support Team
2013 年 10 月 25 日
ご使用のコンピュータ自体のネットワーク設定で "localhost" の名前解決ができていない場合にこのような現象になります。まず、使用中のコンピュータ自体の名前解決の確認を行うために MATLAB 上で以下のコマンドを実行します。
java.net.InetAddress.getLocalHost
または、コンピュータ自体に "ping" を送信し、応答があるかを確認します。
エラーとなる場合は、 /etc/hosts にホスト名を追加するなどの方法で名前解決します。
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Parallel Computing Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!