Effacer les filtres
Effacer les filtres

Error when using matlabpool

1 vue (au cours des 30 derniers jours)
Daniel Jaló
Daniel Jaló le 17 Juil 2012
Hi. Whenever I try to use any variation of matlabpool, e.g.
endmatlabpool open
I get an error that says the following:
Java exception occurred: java.net.UnknownHostException: joe: joe at java.net.InetAddress.getLocalHost(Unknown Source)
where joe is the name of the pc. I'm using UBUNTU 12.04, I've installed Matlab today for the first time in Ubuntu. All the installation files are in a folder created by me in /home/joe/matlab .
Any help would be appreciated. Thank you very much

Réponse acceptée

Jason Ross
Jason Ross le 17 Juil 2012
Within matlabroot/toolbox/distcomp/bin, there is a program called "admincenter". Within the Admin Center there are a number of connectivity tests under the "Hosts" menu.
As Walter indicates there is a DNS or hostname problem here. The ways to solve DNS issues on Linux is dependent on what sort of environment you are in (standalone machine, corporate, academic, etc) and what distro you are using. Use the tests in Admin Center to get you going in the right direction, either showing them to IT staff or looking at Ubuntu documentation on the web.

Plus de réponses (1)

Walter Roberson
Walter Roberson le 17 Juil 2012
Is "joe" defined by your DNS server, or at least in your /etc/hosts ? Note for this purpose that if your hosts file has a fully qualified name only and does not have the short alias used by your active hostname, then the fully qualified version will not be assumed.
Though really the details depend upon the distribution. See http://jblevins.org/log/hostname

Catégories

En savoir plus sur Startup and Shutdown dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by