parallel computing toolbox - how to directly talk to the Workers?
2 views (last 30 days)
Show older comments
Dusko Vujadinovic
on 16 Jul 2021
Commented: Dusko Vujadinovic
on 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 Comments
Accepted Answer
Raymond Norris
on 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 Comments
Raymond Norris
on 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.
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!