Fixed bug in remote parallel execution introduced by previous commit b7133ebeb5
parent
4c6a01da2e
commit
8b44731ef0
|
@ -82,7 +82,18 @@ if whoiam
|
||||||
end
|
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;
|
RemoteFlag = 0;
|
||||||
|
|
||||||
|
|
|
@ -95,7 +95,18 @@ if whoiam
|
||||||
Parallel=myinputs.Parallel;
|
Parallel=myinputs.Parallel;
|
||||||
end
|
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;
|
RemoteFlag = 0;
|
||||||
if whoiam
|
if whoiam
|
||||||
|
|
Loading…
Reference in New Issue