localhost 使用時に MATLABPOOL を実行するとエラーとなるのはなぜですか?

1 Ansicht (letzte 30 Tage)
MathWorks Support Team
MathWorks Support Team am 25 Okt. 2013
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)
--------------------------------------

Akzeptierte Antwort

MathWorks Support Team
MathWorks Support Team am 25 Okt. 2013
ご使用のコンピュータ自体のネットワーク設定で "localhost" の名前解決ができていない場合にこのような現象になります。まず、使用中のコンピュータ自体の名前解決の確認を行うために MATLAB 上で以下のコマンドを実行します。
java.net.InetAddress.getLocalHost
または、コンピュータ自体に "ping" を送信し、応答があるかを確認します。
エラーとなる場合は、 /etc/hosts にホスト名を追加するなどの方法で名前解決します。

Weitere Antworten (0)

Kategorien

Mehr zu Parallel Computing Toolbox finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!