How to make matlab use more CPUs

조회 수: 10 (최근 30일)
Haleh
Haleh 2013년 11월 6일
댓글: Walter Roberson 2021년 2월 12일
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?

답변 (2개)

Andy
Andy 2013년 11월 6일
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
Raymond Norris 2021년 2월 12일
You need to provide more information on how you're running MATLAB on the server.
  1. Are you running through a scheduler (e.g. PBS)? If so, include a copy of the job script.
  2. Are you using cgroups?
  댓글 수: 3
Raymond Norris
Raymond Norris 2021년 2월 12일
Didn't bother to look at the post date. For some reason, it just popped up in my feed the other day.
Walter Roberson
Walter Roberson 2021년 2월 12일
Yup, someone posted an Answer to it, with the entire content of the Answer being the word "ok"

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by