Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
matlabpool under DCT

Subject: matlabpool under DCT

From: Gene

Date: 2 Nov, 2007 18:13:03

Message: 1 of 2

Hi
I recently installed R2007b under Mac OS10.5. While I can
run parallel tasks using 'createTask' I'm having trouble
trying to start matlabpool (to run a code with 'parfor'
loops). Here's what happens:
 -----
>> clear all
>> matlabpool
To learn more about the capabilities and limitations of
matlabpool, distributed
arrays, and associated parallel algorithms, use doc matlabpool

We are very interested in your feedback regarding these
capabilities.
Please send it to parallel_feedback@mathworks.com.

Submitted parallel job to the scheduler, waiting for it to
start.
Performing parallel job cleanup...
Done.
??? Error using ==>
distcomp.interactiveclient.pGetSockets>iThrowIfBadParallelJobStatus
at 128
The interactive parallel job errored with the following message:

Error using ==> feval
Lab 1 on host ecliff failed to recognize the host name
emcliff where the MATLAB client is running.

Error in ==> matlabpool at 88
        client.start('matlabpool', numlabs, config, 'nogui');
---

The hostname for my machine is ecliff.xxx...
and my username on the Mac OS is emcliff

I noted there is a JobStartup.m in
/MATLAB_R2007b/toolbox/distcomp/user
but several hack attempts haven't solved my problem.

Thanks for any help

Subject: matlabpool under DCT

From: Narfi

Date: 3 Nov, 2007 00:38:49

Message: 2 of 2

Gene,

For some reason, the MATLAB client believed the hostname of
your machine to be emcliff. Executing dctconfig without any
arguments in a new MATLAB session shows you the short
hostname that the DCT is getting for your machine.

I presume that you only have the toolbox and are trying to
use the local workers that come with the DCT. Assuming this
to be the case, start a new MATLAB session, execute
dctconfig('hostname', 'localhost');
then run the matlabpool command.

This overrides the short hostname that the DCT is getting
for your machine, and leads the local workers to contact the
client on localhost.

Best,

Narfi

"Gene " <ecliff@vt.edu> wrote in message
<fgfpbf$qkc$1@fred.mathworks.com>...
> Hi
> I recently installed R2007b under Mac OS10.5. While I can
> run parallel tasks using 'createTask' I'm having trouble
> trying to start matlabpool (to run a code with 'parfor'
> loops). Here's what happens:
> -----
> >> clear all
> >> matlabpool
> To learn more about the capabilities and limitations of
> matlabpool, distributed
> arrays, and associated parallel algorithms, use doc
matlabpool
>
> We are very interested in your feedback regarding these
> capabilities.
> Please send it to parallel_feedback@mathworks.com.
>
> Submitted parallel job to the scheduler, waiting for it to
> start.
> Performing parallel job cleanup...
> Done.
> ??? Error using ==>
>
distcomp.interactiveclient.pGetSockets>iThrowIfBadParallelJobStatus
> at 128
> The interactive parallel job errored with the following
message:
>
> Error using ==> feval
> Lab 1 on host ecliff failed to recognize the host name
> emcliff where the MATLAB client is running.
>
> Error in ==> matlabpool at 88
> client.start('matlabpool', numlabs, config, 'nogui');
> ---
>
> The hostname for my machine is ecliff.xxx...
> and my username on the Mac OS is emcliff
>
> I noted there is a JobStartup.m in
> /MATLAB_R2007b/toolbox/distcomp/user
> but several hack attempts haven't solved my problem.
>
> Thanks for any help

Tags for this Thread

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us