How many batch jobs can be run at a time?

조회 수: 3 (최근 30일)
Sampath reddy
Sampath reddy 2012년 3월 5일
When a batch job is given, how many workers work on the job(if i have 4 labs)?? And at a instant how many batch jobs can be given and how?

답변 (1개)

Jason Ross
Jason Ross 2012년 3월 5일
To answer your first question ... it depends. You can have one worker per task or you can open a pool. There are examples of both in the "batch" documentation.
For your second question, if you exceed the amount of workers, the jobs will queue up and process as previous work finishes. You can monitor this using the Job Monitor, found under the "Parallel" menu.
You might also want to take a look at the jobs and tasks functionality if you need more control.
  댓글 수: 2
Sampath reddy
Sampath reddy 2012년 3월 6일
i have matlab 7.6.0.. in this there is no job monitor.. what to do??
Jason Ross
Jason Ross 2012년 3월 6일
1. Upgrade. :)
2. You can get the state of a job using the "state" command. http://www.mathworks.com/help/toolbox/distcomp/state.html

댓글을 달려면 로그인하십시오.

태그

Community Treasure Hunt

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

Start Hunting!

Translated by