Commit b82bc058 authored by Marco Ratto's avatar Marco Ratto
Browse files

1) Fix for octave compatibility;

2) cleanup slavejob files
parent 2133ae43
......@@ -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
......
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