Commit 9ca68984 authored by Marco Ratto's avatar Marco Ratto
Browse files

Fixed bug introduced in commit c9402d9e for local threads

parent 16a6eb64
...@@ -752,7 +752,7 @@ for j=1:totCPU, ...@@ -752,7 +752,7 @@ for j=1:totCPU,
indPC=min(find(nCPU>=j)); indPC=min(find(nCPU>=j));
load([fname,'_output_',int2str(j),'.mat'],'fOutputVar'); load([fname,'_output_',int2str(j),'.mat'],'fOutputVar');
delete([fname,'_output_',int2str(j),'.mat']); 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! % Check if input files have been updated!
OutputFileName=fOutputVar.OutputFileName; OutputFileName=fOutputVar.OutputFileName;
tmp0=''; tmp0='';
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment