Commit 111d0b0c authored by ratto's avatar ratto
Browse files

1) Full parallel structure passed to fmessage status;

2) unix path  syntax;


git-svn-id: https://www.dynare.org/svn/dynare/trunk@2699 ac1d8469-bf42-47a9-8791-bf33cf982152
parent b181e6c0
......@@ -67,7 +67,7 @@ for b = fblck:nblck,
% keyboard;
waitbarString = ['Please wait... Metropolis-Hastings (' int2str(b) '/' int2str(options_.mh_nblck) ')...'];
waitbarTitle=['Metropolis-Hastings ',options_.parallel(ThisMatlab).PcName];
fMessageStatus(0,b,waitbarString, waitbarTitle, options_.parallel(ThisMatlab).Local, MasterName, DyMo);
fMessageStatus(0,b,waitbarString, waitbarTitle, options_.parallel(ThisMatlab), MasterName, DyMo);
end
isux = 0;
......@@ -103,7 +103,7 @@ for b = fblck:nblck,
elseif mod(j,50)==0 & whoiam,
% keyboard;
waitbarString = [ '(' int2str(b) '/' int2str(options_.mh_nblck) ') ' sprintf('%f done, acceptation rate %f',prtfrc,isux/j)];
fMessageStatus(prtfrc,b,waitbarString, waitbarTitle, options_.parallel(ThisMatlab).Local, MasterName, DyMo)
fMessageStatus(prtfrc,b,waitbarString, waitbarTitle, options_.parallel(ThisMatlab), MasterName, DyMo)
end
end
......@@ -159,7 +159,7 @@ for b = fblck:nblck,
end
record.Seeds(b).Normal = randn('state');
record.Seeds(b).Unifor = rand('state');
OutputFileName(jloop,:) = {[MhDirectoryName,'\'], [ModelName '_mh*_blck' int2str(b) '.mat']};
OutputFileName(jloop,:) = {[MhDirectoryName,'/'], [ModelName '_mh*_blck' int2str(b) '.mat']};
end% End of the loop over the mh-blocks.
......
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