Skip to content
Snippets Groups Projects
Commit d458ce3b authored by Marco Ratto's avatar Marco Ratto
Browse files

Fixed bug introduced in commit c9402d9e for local threads

(cherry picked from commit 9ca68984)
parent bdea24fc
Branches
Tags
No related merge requests found
......@@ -752,7 +752,7 @@ for j=1:totCPU,
indPC=min(find(nCPU>=j));
load([fname,'_output_',int2str(j),'.mat'],'fOutputVar');
delete([fname,'_output_',int2str(j),'.mat']);
if isfield(fOutputVar,'OutputFileName'),
if isfield(fOutputVar,'OutputFileName') && Parallel(indPC).Local==0,
% Check if input files have been updated!
OutputFileName=fOutputVar.OutputFileName;
tmp0='';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment