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

Fixed bug introduced in commit c9402d9e for local threads

parent 16a6eb64
Branches
Tags
1 merge request!358parallel bug fix
......@@ -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