regarding Distributed Computing Toolbox

조회 수: 5 (최근 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 CenterFile Exchange에서 MATLAB Parallel Server에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by