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

fixed bug when one slave is local and others are remote

parent 75dd6f0d
No related branches found
No related tags found
No related merge requests found
......@@ -94,6 +94,11 @@ end
DirectoryName = CheckPath('metropolis');
RemoteFlag = 0;
for j=1:length(Parallel),
if Parallel(j).Local==0,
RemoteFlag = 1;
end
end
if whoiam
ifil=ifil(:,whoiam);
waitbarString = ['Please wait... Bayesian (posterior) subdraws (' int2str(fpar) 'of' int2str(B) ')...'];
......@@ -101,7 +106,6 @@ if whoiam
waitbarTitle=['Local '];
else
waitbarTitle=[Parallel(ThisMatlab).PcName];
RemoteFlag = 1;
end
fMessageStatus(0,whoiam,waitbarString, waitbarTitle, Parallel(ThisMatlab), MasterName, DyMo);
else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment