Fixed bug in remote parallel execution introduced by previous commit b7133ebeb5

time-shift
Marco Ratto 2011-04-06 14:24:04 +02:00
parent 4c6a01da2e
commit 8b44731ef0
2 changed files with 24 additions and 2 deletions

View File

@ -82,7 +82,18 @@ if whoiam
end
MhDirectoryName = myinputs.MhDirectoryName;
% MhDirectoryName = myinputs.MhDirectoryName;
if strcmpi(type,'posterior')
MhDirectoryName = CheckPath('metropolis');
elseif strcmpi(type,'gsa')
if options_.opt_gsa.pprior
MhDirectoryName = CheckPath(['GSA' filesep 'prior']);
else
MhDirectoryName = CheckPath(['GSA' filesep 'mc']);
end
else
MhDirectoryName = CheckPath('prior');
end
RemoteFlag = 0;

View File

@ -95,7 +95,18 @@ if whoiam
Parallel=myinputs.Parallel;
end
DirectoryName = myinputs.DirectoryName;
% DirectoryName = myinputs.DirectoryName;
if strcmpi(type,'posterior')
DirectoryName = CheckPath('metropolis');
elseif strcmpi(type,'gsa')
if options_.opt_gsa.pprior
DirectoryName = CheckPath(['GSA',filesep,'prior']);
else
DirectoryName = CheckPath(['GSA',filesep,'mc']);
end
elseif strcmpi(type,'prior')
DirectoryName = CheckPath('prior');
end
RemoteFlag = 0;
if whoiam