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-bf33cf982152time-shift
parent
b181e6c0af
commit
111d0b0c2c
|
@ -67,7 +67,7 @@ for b = fblck:nblck,
|
||||||
% keyboard;
|
% keyboard;
|
||||||
waitbarString = ['Please wait... Metropolis-Hastings (' int2str(b) '/' int2str(options_.mh_nblck) ')...'];
|
waitbarString = ['Please wait... Metropolis-Hastings (' int2str(b) '/' int2str(options_.mh_nblck) ')...'];
|
||||||
waitbarTitle=['Metropolis-Hastings ',options_.parallel(ThisMatlab).PcName];
|
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
|
end
|
||||||
isux = 0;
|
isux = 0;
|
||||||
|
@ -103,7 +103,7 @@ for b = fblck:nblck,
|
||||||
elseif mod(j,50)==0 & whoiam,
|
elseif mod(j,50)==0 & whoiam,
|
||||||
% keyboard;
|
% keyboard;
|
||||||
waitbarString = [ '(' int2str(b) '/' int2str(options_.mh_nblck) ') ' sprintf('%f done, acceptation rate %f',prtfrc,isux/j)];
|
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
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -159,7 +159,7 @@ for b = fblck:nblck,
|
||||||
end
|
end
|
||||||
record.Seeds(b).Normal = randn('state');
|
record.Seeds(b).Normal = randn('state');
|
||||||
record.Seeds(b).Unifor = rand('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.
|
end% End of the loop over the mh-blocks.
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue