parallel computing toolbox - how to directly talk to the Workers?
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Dusko Vujadinovic
am 16 Jul. 2021
Kommentiert: Dusko Vujadinovic
am 19 Jul. 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 Kommentare
Akzeptierte Antwort
Raymond Norris
am 16 Jul. 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 Kommentare
Raymond Norris
am 16 Jul. 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.
Weitere Antworten (0)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!