|
|
matlabpool opens only 2 workers on intel core i7
Hello,
as i want to test the parallel computing i just tried to open a matlabpool with 4 workers on my Intel core i7 running on windows7 32 Bit with the following result:
matlabpool open local 4
Starting matlabpool using the 'local' configuration ... stopped.
??? Error using ==> matlabpool at 127
Failed to start matlabpool.
This is caused by:
You requested a minimum of 4 workers, but the scheduler's ClusterSize property is currently set to allow a maximum of 2 workers. The default value
for ClusterSize with a local scheduler is the number of cores on the local machine. To run a parallel job with more tasks than this, increase the
ClusterSize property setting in the local configuration.
i was just surprised and tried to find the 4 cores with findresource:
findresource
ans =
Local Scheduler Information
===========================
Type : local
ClusterOsType : pc
ClusterSize : 2
how can i use all 4 cores of my pc?
thanks for any hint
kinor
|
|
0
|
|
|
|
Reply
|
kinor
|
2/10/2011 4:53:03 PM |
|
well.. for ur local scheduler, the number of workers available to schedule is stored as 2. so u have to change that. to do that follow the below..
go to parallel manu-> manage configuration. it will show the configuration manager dialog box. right click local manager->properties. in the property dialog box go to scheduler tab. then set the number of workers available to schedule as 4(as ur desire). then click ok.. now u can check ur cluster size with the findResource command.
if again it shows the cluster size as 2, then use this command after setting the local configuration property..
matlabpool open
then check ur cluster size
|
|
0
|
|
|
|
Reply
|
kalaiselvi
|
2/11/2011 12:16:38 AM
|
|
kalaiselvi <kalaiselvim@tce.edu> wrote in message <132960583.75588.1297401428635.JavaMail.root@gallium.mathforum.org>...
> well.. for ur local scheduler, the number of workers available to schedule is stored as 2. so u have to change that. to do that follow the below..
>
> go to parallel manu-> manage configuration. it will show the configuration manager dialog box. right click local manager->properties. in the property dialog box go to scheduler tab. then set the number of workers available to schedule as 4(as ur desire). then click ok.. now u can check ur cluster size with the findResource command.
>
> if again it shows the cluster size as 2, then use this command after setting the local configuration property..
>
> matlabpool open
>
> then check ur cluster size
Hi Kalaiselvi
that's it!
Thank you very much!
Cheers
kinor
|
|
0
|
|
|
|
Reply
|
kinor
|
2/11/2011 9:01:06 AM
|
|
Thanks !! this was very useful
kalaiselvi <kalaiselvim@tce.edu> wrote in message <132960583.75588.1297401428635.JavaMail.root@gallium.mathforum.org>...
> well.. for ur local scheduler, the number of workers available to schedule is stored as 2. so u have to change that. to do that follow the below..
>
> go to parallel manu-> manage configuration. it will show the configuration manager dialog box. right click local manager->properties. in the property dialog box go to scheduler tab. then set the number of workers available to schedule as 4(as ur desire). then click ok.. now u can check ur cluster size with the findResource command.
>
> if again it shows the cluster size as 2, then use this command after setting the local configuration property..
>
> matlabpool open
>
> then check ur cluster size
|
|
0
|
|
|
|
Reply
|
aboutfunk (2)
|
5/15/2011 9:53:02 AM
|
|
|
3 Replies
247 Views
(page loaded in 0.116 seconds)
|
|
|
|
|
|
|
|
|