regarding Distributed Computing Toolbox

3 ビュー (過去 30 日間)
Hsinho
Hsinho 2012 年 9 月 13 日
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?

回答 (0 件)

カテゴリ

Help Center および File ExchangeDownloads についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by