regarding Distributed Computing Toolbox

3 views (last 30 days)
Hsinho
Hsinho on 13 Sep 2012
Hi,
Hope my question is appropriate to raise here.
I prepare a M-file to assign a job with 8 tasks to 8 cores on the cluster. The first 3 lines are as followed.
sched = findResource('scheduler','type','local');
job01 = createJob(sched);
set(job01,'FileDependencies',{'/folder/glob/user/1'})
The problem I have is that if more than one job were submitted and initiated at the same time, there will be an error message either on 'findResource' or on 'FileDependencies.'
If the jobs were submitted in every one minute, there is NO this kind of message.
It seems the simultaneous initiation causes the problem.
Is there anything that I can do to prepare a proper M-file to avoid this problem?

Answers (0)

Categories

Find more on Downloads in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!