필터 지우기
필터 지우기

Determine Number of Tasks and Cores to Use with FSOLVE

조회 수: 5 (최근 30일)
Mahmood Haddara
Mahmood Haddara 2022년 12월 25일
답변: Walter Roberson 2022년 12월 25일
I am using fsolve on a large system of nonlinear equations. To speed it up, I would like to submit the job to a computing cluster and take advantage of the "UseParallel" option of fsolve. However, (since I am new to parallel computing) I am not sure how many tasks and CPUs per task to request. I initially requested 1 task with 48 cores per task, and found it did not run significantly faster than my 8 core laptop (with "UseParallel" enabled). I then requested 8 tasks with 6 cores per task and found it ran moderately faster.
How can I determine the highest number of cores that my script can efficiently use, as well as what combination of tasks/cores per task I should request?

채택된 답변

Walter Roberson
Walter Roberson 2022년 12월 25일
You pretty much need trial and error to determine that.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 MATLAB Parallel Server에 대해 자세히 알아보기

제품


릴리스

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by