Matlab Parpool on Cluster

I requested 300 workers on the cluster but using parpool('local',320,'IdleTimeout', 300). However, it prints >> >> Starting parallel pool (parpool) using the 'local' profile ... connected to 12 workers.
How do I use all of the workers?
Thanks!
Yang

4 Comments

Adam
Adam on 18 Jul 2016
Edited: Adam on 18 Jul 2016
Do you have 300 workers in your local pool? That sounds like a rather large amount! You can ask your pool for as many workers as you want, but it will only give you as many as it has.
e.g. I used to set mine to ask for 100 because I didn't want to limit on deployed machines to the number of cores I used to have on my own machine when building an executable. It would still only open 8 cores though if that is how many I had.
Thank you for help! I want to run Matlab on a cluster having 1600 cores not on my own laptop. Do you think I can use "local" to request 300 workers? Thanks!
As far as I am aware "local" means your own computer. You have to setup a network cluster if you want to use other computers too, but that isn't something I am familiar with as I only use a local pool.
Thanks! I will let you know once I figure out how to use it on remote linux cluster

Sign in to comment.

Answers (0)

Categories

Asked:

on 18 Jul 2016

Commented:

on 18 Jul 2016

Community Treasure Hunt

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

Start Hunting!