Filter löschen
Filter löschen

Matlab configuration, using multicores

2 Ansichten (letzte 30 Tage)
Gil
Gil am 21 Mär. 2012
Beantwortet: Nadiia Huskova am 19 Nov. 2018
I use CMA-ES algorithm to solve an optimization problem. I use a computer with 2 processors with 6 cores. But I don't know how to increase the performance of MATLAB. I would like to use all the capacity that my computer has. It seems that just one core is used when I run CMA-ES algorithm.
Does anyone know how to change the configuration of Matlab to work properly?
Thank you very much,
Gil Serrancolí

Antworten (1)

Nadiia Huskova
Nadiia Huskova am 19 Nov. 2018
Dear Gil,
there are few option in Matlab to use CMA ES in parallel way. For example, you can use construction parfor instead for in your code. Matlab automatically distributes tasks.
Usually it's the best way to make calculation faster. Another possibility - spmd.
Sincerely,
Nadiia.

Kategorien

Mehr zu Get Started with Optimization Toolbox finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by