parallel computing toolbox - how to directly talk to the Workers?
2 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
Raymond Norris
2021-7-16
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 个评论
Raymond Norris
2021-7-16
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.
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!