Thread Subject: matlabpool

Subject: matlabpool

From: Juliette Salexa

Date: 7 Aug, 2009 20:57:03

Message: 1 of 5

This is probably a really ignorant quesiton,
but applying the command: MATLABPOOL on my computer gives the result:
Connected to a matlabpool session with 4 labs.

But I only have a duo-core processor.
Where are these other 2 "labs" coming from ??

Subject: matlabpool

From: Juliette Salexa

Date: 8 Aug, 2009 20:17:17

Message: 2 of 5

I wasn't really looking for an exhaustive explanation here,
I'm just not sure what "labs" are .. and although I read the documentaiton for matlabpool, I found no definition of the word "lab" .. I originally thought "labs" were procesors, but considering that I just have a dual core processor it puzzles me how I could be connected to 4 labs!

Subject: matlabpool

From: arun

Date: 8 Aug, 2009 21:26:02

Message: 3 of 5

On Aug 8, 10:17 pm, "Juliette Salexa" <juliette.physic...@gmail.com>
wrote:
> I wasn't really looking for an exhaustive explanation here,
> I'm just not sure what "labs" are .. and although I read the documentaiton for matlabpool, I found no definition of the word "lab" .. I originally thought "labs" were procesors, but considering that I just have a dual core processor it puzzles me how I could be connected to 4 labs!

strange:
>> matlabpool
Starting matlabpool using the 'local' configuration ... connected to 2
labs.

if I explicitly try to open 4, I get the error
>> matlabpool local 4
Starting matlabpool using the 'local' configuration ... stopped.

??? Error using ==> matlabpool at 104
Failed to start matlabpool.
This is caused by:
You requested a minimum of 4 workers, but the scheduler's ClusterSize
property is set to only allow a
maximum of 2 workers.

This would suggest you are either connected to a cluster or you have
already configured the "configurations manager" with a different
profile.
See here:http://www.mathworks.com/access/helpdesk/help/toolbox/
distcomp/f5-16141.html

best, arun.

Subject: matlabpool

From: Juliette Salexa

Date: 9 Aug, 2009 20:58:01

Message: 4 of 5

Thanks Arun,

I acutally figured out just now that the number of 'labs' (whatever that is) you can have running in your 'matlabpool' has nothing to do with whether you have a single-core or multi-core processor.

I'm running a parallel job right now with four 'labs' , and I'm looking at my CPU usage.
It looks like all four 'labs' are working on just one of my two CPUs, occupying 16 threads each:

CPU1: 0%
CPU2: 100%
-matlab.exe - 16 threads - 24.5%
-matlab.exe - 16 threads - 24.5%
-matlab.exe - 16 threads - 24.5%
-matlab.exe - 16 threads - 24.5%
-Mozilla Firefox - 23 threads - 1.58%

So I think you can set your matlab to run as many 'labs' as you wish [ you just have to manually change the 'maximum allowed' ]

Subject: matlabpool

From: Steven Lord

Date: 10 Aug, 2009 03:11:33

Message: 5 of 5


"Juliette Salexa" <juliette.physicist@gmail.com> wrote in message
news:h5nd8p$nod$1@fred.mathworks.com...
> Thanks Arun,
>
> I acutally figured out just now that the number of 'labs' (whatever that
> is) you can have running in your 'matlabpool' has nothing to do with
> whether you have a single-core or multi-core processor.

A "lab" is a worker that can communicate with other workers directly.

http://www.mathworks.com/access/helpdesk/help/toolbox/distcomp/glossary.html#f4-7673

--
Steve Lord
slord@mathworks.com

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

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.

Tag Activity for This Thread
Tag Applied By Date/Time
matlabpool Sprinceana 7 Aug, 2009 17:01:53
reference Sprinceana 7 Aug, 2009 17:01:53
rssFeed for this Thread

Contact us at files@mathworks.com