parallel computing toolbox - how to directly talk to the Workers?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Dusko Vujadinovic
le 16 Juil 2021
Commenté : Dusko Vujadinovic
le 19 Juil 2021
I see for example that the Batch/Workers concept allows to sumbit the jobs to the scheduler which, in turn, schedules the jobs to the available workers(cores). Is there a way that user can skip the scheduler and talk to the workers directly? In other words I am looking how to simply statically map the jobs to the cores, to have full control what is going on rather that letting Matlab scheduler to do that under the hood.
0 commentaires
Réponse acceptée
Raymond Norris
le 16 Juil 2021
You can use different schedulers; however, you need to call the parpool command to start workers. In order to start the workers, they need to be scheduled to run. Hence the need for MATLAB to interface with a scheduler.
3 commentaires
Raymond Norris
le 16 Juil 2021
If you have your own scheduler (e.g. PBS), then this link should help
However, if you don't have a scheduler already, then I would suggest keeping with the MATLAB job scheduler rather than managing a scheduler solely for the purpose of MATLAB.
Plus de réponses (0)
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!