Azzera filtri
Azzera filtri

Matlab configuration, using multicores

2 visualizzazioni (ultimi 30 giorni)
Gil
Gil il 21 Mar 2012
Risposto: Nadiia Huskova il 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í

Risposte (1)

Nadiia Huskova
Nadiia Huskova il 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.

Categorie

Scopri di più su Get Started with Optimization Toolbox in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by