MATLAB: Error opening matlabpool

javamatlabpoolparallel computing

I'm receiving the following error when attempting to issue a matlabpool open command:
Error using matlabpool (line 126) Java exception occurred: java.net.UnknownHostException: bob: bob at java.net.InetAddress.getLocalHost(Unknown Source)
Let's assume for the moment that the name of the Linux box running Matlab is bob. It's running Fedora with a current Java install (1.6.0_22) and the most recent version of the Parallel Computing Toolbox.
I get a similar error when attempting to query the current computer name using java.net.InetAddress.getLocalHost.getHostName. Fiddling with the hostname in dctconfig or pctconfig does not produce any useful results.
I'm sure this is just a newb java-matlab communication problem. Any tips out there?

Best Answer

Could you try to add localhost with 127.0.0.1 to your /etc/hosts file?
Titus