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 个评论

Adam
Adam 2016-7-18
编辑:Adam 2016-7-18
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

请先登录,再进行评论。

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Parallel Computing Fundamentals 的更多信息

提问:

2016-7-18

评论:

2016-7-18

Community Treasure Hunt

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

Start Hunting!

Translated by