Changing number of workers while running simulations?

7 vues (au cours des 30 derniers jours)
Bruce Vernham
Bruce Vernham le 22 Oct 2018
Commenté : Bruce Vernham le 8 Nov 2018
I am using parsim to run my simulink model with multiple parameters variations on multiple workers.
Is it possible for me to change number of workers while the simulations are in progress?

Réponse acceptée

Rahul Kumar
Rahul Kumar le 31 Oct 2018
Hi Bruce,
Unfortunately, it is currently not possible to change the number of workers while the simulations are in progress. parsim uses a parallel pool to run simulations. Once the parallel pool is created the number of workers cannot be changed.
Could you please provide more details of why you need to change the number of workers during simulations so that we can add this capability in the future?
Thanks, Rahul
  1 commentaire
Bruce Vernham
Bruce Vernham le 8 Nov 2018
Hello Rahul,
Thank you for replying. This need arises when we are running co-simulations with other software(as slave), which has fixed number of solver licenses. Availability of other software licenses changes with time. If number of worker could be changed with while the simulations are running, we could have more workers when demand for other software licenses is less, and vice versa.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Run Multiple Simulations dans Help Center et File Exchange

Produits


Version

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by