How to make matlab use more CPUs
Mostrar comentarios más antiguos
Dear all, I am running matlab on a linux server which has 64 free CPUs but when I run matlab it uses only 4 CPUs. How can I make matlab to use at leat 12 CPUs?
Respuestas (2)
Andy
el 6 de Nov. de 2013
0 votos
I am surprised you are managing to use 4 CPUs but then my only experience is with desktop PCs not servers. To use more more you will probably need the Parallel Computing Toolbox. http://www.mathworks.co.uk/products/parallel-computing/
Raymond Norris
el 12 de Feb. de 2021
0 votos
You need to provide more information on how you're running MATLAB on the server.
- Are you running through a scheduler (e.g. PBS)? If so, include a copy of the job script.
- Are you using cgroups?
3 comentarios
Walter Roberson
el 12 de Feb. de 2021
Note this was a 2013 question!
Back then, you needed a special license to use more than 4 CPUs with Parallel Computing Toolbox.
Raymond Norris
el 12 de Feb. de 2021
Didn't bother to look at the post date. For some reason, it just popped up in my feed the other day.
Walter Roberson
el 12 de Feb. de 2021
Yup, someone posted an Answer to it, with the entire content of the Answer being the word "ok"
Categorías
Más información sobre Startup and Shutdown en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!