Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Note potential problems if DynareOBC is on Google Drive or similar #27

Open
dedav514 opened this issue Dec 21, 2020 · 5 comments
Open

Comments

@dedav514
Copy link

Hi,
I'm trying to run the the example from the Iacoviello-Guerrieri model but I keep getting the following error:
Error using copyfile
No matching files were found.

Error in dynareOBCCore (line 181)
copyfile( SteadyState2MFileName, 'dynareOBCTemp2_steadystate2.m', 'f' );

Error in dynareOBCSetup (line 297)
dynareOBC_ = dynareOBCCore( InputFileName, basevarargin, dynareOBC_, @()
EnforceRequirementsAndGeneratePath( Update, OriginalPath, CurrentFolder, dynareOBCPath,
InputFileName, varargin{:} ) );

Error in dynareOBC (line 711)
dynareOBCSetup( OriginalPath, CurrentFolder, dynareOBCPath, InputFileName, varargin{:} );

Error in ReplicateFigure3 (line 1)
dynareOBC GI2017.mod ShockSequenceFile=ShockSequenceP.mat MLVSimulationMode=1

Error in RunExample (line 11)
ReplicateFigure3;

I followed the installation instructions so I don't think this error is coming from that. I'd greatly appreciate your help with resolving this issue.

@tholden
Copy link
Owner

tholden commented Dec 21, 2020

What version of Dynare are you using? DynareOBC works better with Dynare 4.5.x.
What happens when you run "dynare GI2017".

@dedav514
Copy link
Author

Thanks for your prompt reply Tom. I'm using Dynare 4.5.7. When I run "dynare GI2017, I get:
**There are 16 eigenvalue(s) larger than 1 in modulus
for 16 forward-looking variable(s)

The rank condition is verified.

Error using varlist_indices (line 62)
The following symbols are not endogenous variables: irf1 irf2 irf3 irf4

Error in stoch_simul (line 64)
[i_var,nvar,index_uniques] = varlist_indices(var_list,M_.endo_names);

Error in GI2017 (line 503)
info = stoch_simul(var_list_);

Error in dynare (line 235)
evalin('base',fname) ;**

When I run dynareOBC GI2017, I get:
**There are 16 eigenvalue(s) larger than 1 in modulus
for 16 forward-looking variable(s)

The rank condition is verified.

Total computing time : 0h00m01s
Note: 1 warning(s) encountered in the preprocessor

Running ww_ifort_redist_intel64_2018.3.210.msi.

DynareOBC needs to restart MATLAB. DynareOBC will attempt to continue after MATLAB is restarted.
If you are repeatedly seeing this message, please try restarting your machine.

Press return to continue, or c then return to cancel.**
Thanks,
Nadav

@tholden
Copy link
Owner

tholden commented Dec 21, 2020

The final message makes it clear that DynareOBC is not fully installed. Do you have admin rights on that machine? Have you installed Gurobi or similar?

@dedav514
Copy link
Author

Thanks Tom. I do have admin rights as well as Gurobi installed. What likely caused the problem was the fact that I placed dynareOBC in my google drive folder instead of a local one (as explicitly pointed out in the instructions). I corrected for this and it works fine now. My apologies for missing this and bothering you with what turned out to be a very straightforward issue.

@tholden
Copy link
Owner

tholden commented Dec 23, 2020

Good to know you've fixed it. I should note potential problems with Google Drive.

@tholden tholden changed the title Error in 'Performing second dynare run to get the steady-state' Note potential problems if DynareOBC is on Google Drive or similar Dec 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants