regarding Distributed Computing Toolbox

3 次查看(过去 30 天)
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 中查找有关 Downloads 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by