Parpool Java exception occurred: 2014a & Mac - Only when wifi at home turned on?
1 回表示 (過去 30 日間)
古いコメントを表示
Setup: Matlab 2014a, Mac OS x 10.7.5.
Problem: Parpool throws a Java exception when I try to run it with my home wifi turned on and works when I turn it off.
Run: parpool
Error:
Error using parpool (line 99)
Java exception occurred:
java.net.UnknownHostException: craig-2: craig-2: nodename nor servname provided, or not known
at java.net.InetAddress.getLocalHost(InetAddress.java:1438)
Caused by: java.net.UnknownHostException: craig-2: nodename nor servname provided, or not known
at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)
at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:866)
at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1258)
at java.net.InetAddress.getLocalHost(InetAddress.java:1434)
Any ideas?
Thanks,
Craig
7 件のコメント
Marco Borges
2014 年 8 月 13 日
I have the same error! Maybe is related with this java but, don't you think?
https://bugs.openjdk.java.net/browse/JDK-7180557
回答 (4 件)
Craig
2014 年 8 月 7 日
4 件のコメント
Franck Dernoncourt
2015 年 2 月 2 日
Same here, matlab prompt '!hostname' and adding it to host file worked for me. Ubuntu 12.04 with R2014a x64. Thanks!
Carsten Hoever
2014 年 8 月 5 日
Did you find a solution for the problem? I am having the same problem with OSX 10.9.3:
Error using matlabpool (line 137) Java exception occurred: java.net.UnknownHostException: server.munkiisland.private: server.munkiisland.private: nodename nor servname provided, or not known at java.net.InetAddress.getLocalHost(InetAddress.java:1438) Caused by: java.net.UnknownHostException: server.munkiisland.private: nodename nor servname provided, or not known at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:866) at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1258) at java.net.InetAddress.getLocalHost(InetAddress.java:1434)
2 件のコメント
Steven
2014 年 8 月 5 日
I have not found a permanent solution, but the issue seems to be related to network settings. When I unplug my computer from the network and turn off WiFi, I am able to get the parallel pool to start. This is only a temporary workaround, but I hope to figure out the underlying cause with a bit more investigation.
-Blair
Steven
2014 年 8 月 7 日
Thanks for the suggestion Craig! I went to check the host file and noticed that my parpool is starting up fine now. The only thing that changed is that I shutdown and brought my laptop home for a few days where I used it on a different network. Very curious...
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Parallel Computing Fundamentals についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!