Commit 41c59778 authored by Marco Ratto's avatar Marco Ratto

For slave processes on the local machine, impose the same dynare path as the master.

parent c0cb3dd4
...@@ -43,6 +43,10 @@ for j=1:length(options_.parallel), ...@@ -43,6 +43,10 @@ for j=1:length(options_.parallel),
options_.parallel(j).MatlabOctavePath = 'matlab'; options_.parallel(j).MatlabOctavePath = 'matlab';
end end
end end
if options_.parallel(j).Local && isempty(options_.parallel(j).DynarePath),
dynareroot = strrep(which('dynare'),'dynare.m','');
end end
Markdown is supported
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