How to use a Windows 7 MATLAB client on a Ubuntu based MATLAB cluster?
2 views (last 30 days)
I am running MATLAB R2013a on a Windows 7 computer and I am trying to connect to a MATLAB beowulf cluster using MATLAB R2013a and the MATLAB Job Scheduler (MJS) running on a Ubuntu 14.04.1 LTS system.
Win7 MATLAB discovers and adds the cluster to my cluster profiles. Using the validation tests, it passes the first four tests, but fails the last test, "MATLAB pool test (matlabpool)". Typing "matlabpool open" in the command window results in the same error given during the validation test which is:
Error using matlabpool (line 144)
Failed to open matlabpool. (For information in addition to the causing error, validate the
profile 'MJSProfile1' in the Cluster Profile Manager.)
Error using parallel.internal.pool.InteractiveClient>iThrowIfBadParallelJobStatus
The interactive communicating job errored with the following message:
fGroupUuid=5451eae9-8043-4ada-a10c-92085c32827b, fLabIndex=1, fNumberOfLabs=8} was
unable find the host for bowser:27371 due to a JVM UnknownHostException: null
Note that "bowser" is the hostname of the Windows 7 machine I am running MATLAB on.
I can successfully connect to, and use, the cluster from other machines using Ubuntu 14.04.1 LTS without any problems.
Why am I getting this error and what can I do to correct it?
Raymond Norris on 28 Aug 2014
The issue may be that the Linux cluster can't resolve bowser. Run the following before validation
If this works, then you'll need to be run it each time your start MATLAB before calling any PCT functions (matlabpool, parfor, etc.).
If it doesn't work, contact MathWorks Technical Support (<mailto:email@example.com firstname.lastname@example.org>) and they can help troubleshoot it.