How to enable parallel computing?
古いコメントを表示
Hi, I'm trying to improve fsolve execution with parallel computing, by implementing this instruction:
options = optimoptions('fsolve','Display','none','Algorithm','trust-region','UseParallel',true);
However, I get this warning during each iteration:
Warning: Unable to create a parallel pool. Continuing with evaluations in serial. To avoid this warning, set the 'UseParallel' option to false.
I think it's possible to use parallel computing, since I'm using a 4 core CPU (AMD Ryzen 5 3500U). I tried to enable all cores manually, but the warning persists.
How to solve it? Thank you!
4 件のコメント
Rik
2022 年 7 月 15 日
Do you have the Parallel Computing Toolbox?
Jan
2022 年 7 月 15 日
What does this mean: " I tried to enable all cores manually"?
Elia Paini
2022 年 7 月 15 日
Rik
2022 年 7 月 15 日
Not every task can be sped up by throwing more cores at the problem.
If you want help with your specific task, you will have to post details about your specific task.
回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Set Optimization Options についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!