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

1) Fix for octave compatibility;

2) cleanup slavejob files
(cherry picked from commit b82bc058)
parent ae5e9904
Branches
Tags
1 merge request!3454.3: cherry-picked Parallel debug and several fixes of GSA toolbox
......@@ -39,7 +39,7 @@ end
s=warning('off');
if partial==1
save('slaveParallel_break','partial')
save('slaveParallel_break.mat','partial')
for indPC=1:length(Parallel),
if (Parallel(indPC).Local==0),
dynareParallelSendFiles('slaveParallel_break.mat',TmpFolder,Parallel(indPC));
......@@ -63,12 +63,14 @@ for indPC=1:length(Parallel),
if (Parallel(indPC).Local==0),
dynareParallelDelete( 'slaveParallel_input*.mat',TmpFolder,Parallel(indPC));
end
%else
delete( 'slaveParallel_input*.mat');
delete( 'slaveJob*.mat');
pause(1)
delete(['slaveParallel_*.log']);
%end
delete ConcurrentCommand1.bat;
end
while(1)
......@@ -76,7 +78,6 @@ while(1)
for indPC=1:length(Parallel),
if (Parallel(indPC).Local==0),
dynareParallelRmDir(TmpFolder,Parallel(indPC)),
end
end
break
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment