regarding Distributed Computing Toolbox

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?

Antworten (0)

Kategorien

Mehr zu MATLAB Parallel Server finden Sie in Hilfe-Center und File Exchange

Produkte

Gefragt:

am 13 Sep. 2012

Community Treasure Hunt

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

Start Hunting!

Translated by