Effacer les filtres
Effacer les filtres

Shutting down some CPUs

2 vues (au cours des 30 derniers jours)
M.R. Ebrahimi
M.R. Ebrahimi le 15 Avr 2021
Hi
I am running a MATLAB code in a 48 CPU server. I want to run only 8 CPUs. How can I set the number of used CPUs?
Thanks
  1 commentaire
Jan
Jan le 15 Avr 2021
On which operating system?

Connectez-vous pour commenter.

Réponses (1)

Raymond Norris
Raymond Norris le 15 Avr 2021
Try
maxNumCompThreads(8);

Catégories

En savoir plus sur Startup and Shutdown dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by