Set up Dynare++

This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location where you will have to reset your password.
Forum rules
This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location (https://forum.dynare.org) where you will have to reset your password.

Set up Dynare++

Postby superztt » Thu Jul 16, 2015 12:20 am

I think I have a problem to setup the dynare++.

What I did:
I added dynare++ subdirectory and mex directory to where I saved the mod file I want to run. The mod file is the example1 in the dynare tutorial. Then I type in " dynare++ example.mod" in matlab command window. But it says too many inputs.

Can anyone help? Btw, I use windows 7. Thanks!
superztt
 
Posts: 58
Joined: Sat Apr 26, 2014 8:24 pm

Re: Set up Dynare++

Postby jpfeifer » Thu Jul 16, 2015 2:52 pm

------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany

Re: Set up Dynare++

Postby superztt » Fri Jul 17, 2015 2:47 am

Thank you, jpfeifer! There is some progress by using "!dynare++ example.mod". But another problem comes out. I am not sure what I did wrong.

I first put the following documents in the same file, including the example. mod. Then add that file to the matlab path. Under the path, I ran "!dynare++ example.mod". But, matlab kept showing "busy" without further results. I bet something was wrong. I aimed to run "plot(dyn_irfp_EPS_mean(dyn_i_K,:))" for the simulation of IRFs.

dynare++.exe
dynare_simul.m
dynare_simul.mexw32
example.mod

superztt
 
Posts: 58
Joined: Sat Apr 26, 2014 8:24 pm

Re: Set up Dynare++

Postby jpfeifer » Fri Jul 17, 2015 8:41 am

Please describe in more detail what exactly you are doing and provide all files.
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany

Re: Set up Dynare++

Postby superztt » Fri Jul 17, 2015 3:01 pm

I want to use dynare++ to get some irfs from a higher order approximation. So I was using the example1 from the "DSGE Models with Dynare++. A Tutorial" to learn how to do.

what I did:
I first set up dynare++. I put the documents as attached in the same file, including the example. mod. Then add that file to the matlab path.
Under the path, I ran "!dynare++ example.mod". But, matlab kept showing "busy" without further results.
I was to planning to run "plot(dyn_irfp_EPS_mean(dyn_i_K,:))" for the simulation of IRFs.



[q uote="jpfeifer"]Please describe in more detail what exactly you are doing and provide all files.[/quote]
Attachments
dynare_simul.m
Beside the two uploaded, there are also dynare++.exe and dynare_simul.mexw32. But I cannot upload them. I don't know why. They both are from the dynare package downloaded from Dynare website for installation.
(4.99 KiB) Downloaded 48 times
example.mod
(739 Bytes) Downloaded 48 times
superztt
 
Posts: 58
Joined: Sat Apr 26, 2014 8:24 pm

Re: Set up Dynare++

Postby jpfeifer » Fri Jul 17, 2015 4:29 pm

So when you say "file" you actually mean "Folder" I guess. As you are using order=7, it might take some time to run. On my 16GB RAM machine, it runs, but takes about 10 minutes. So wait at least 20 minutes to see whether there really is a problem (or use a lower order). After that time, take a look at the jnl-file created in the folder when you run Dynare++. If it keeps growing, Dynare++ is still busy.
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany


Return to Dynare help

Who is online

Users browsing this forum: Google [Bot] and 7 guests