use_dll installation

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.

use_dll installation

Postby Daniel Bendel » Thu Apr 02, 2015 11:30 am

Dear Dynare Users,

have someone be able to use the "use_dll" option?
I have followed the steps described here: http://www.dynare.org/DynareWiki/Config ... ompilation

I have installed Microsoft Windows SDK. But when I run "mex -setup" I get the following error message:

"Der Befehl "C:\Program" ist entweder falsch geschrieben oder
konnte nicht gefunden werden."

I think it has to do with the fact that in the path there is a blank. But I do not know how I can solve this problem.

Any suggestions?

Best,
Daniel
Germany, Cologne
Daniel Bendel
 
Posts: 134
Joined: Tue Nov 15, 2011 1:06 pm
Location: Cologne, Germany

Re: use_dll installation

Postby jpfeifer » Thu Apr 02, 2015 6:10 pm

Check whether you installed the correct version, particularly considering your Matlab version (64 vs. 32 bit): http://de.mathworks.com/support/compilers/R2015a/index.html
Note also that for older versions of Matlab, the detection might not work.
------------
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: use_dll installation

Postby Daniel Bendel » Thu Apr 02, 2015 6:45 pm

Okay. I have Matlab R2011a (64bit). Does it mean use_dll will not work? Or what should I do?

(In general: I want to use the dll option, hoping that it will speed up the computation. My model has 71 equation. Can I expect that it will run faster? I solve with order 3. Or should I use dynare++? But when I use dynare++ on a very simple model, it is also very slow for higher order. What is the advantage of using dynare++?)

Again many thanks in advance!!

(I also have another question: I'm doing the following steps:
1. run the dynare mod file with a simulation length of 10000 and order 3.
2. Calculate the kurtosis of one simulated variable say output.
3. As a check I then use:
[oo_.dr,info,M_,options_,oo_] = resol(0,M_,options_,oo_);
y_ = simult_(oo_.dr.ys,oo_.dr,shocks,options_.order);
shocks is equal to oo_.exo_simul.
3. Form y_ is again calculate the kurtosis of the output.
BUT: the values of the both kurtosis are NOT exactly the same. Why??)
Germany, Cologne
Daniel Bendel
 
Posts: 134
Joined: Tue Nov 15, 2011 1:06 pm
Location: Cologne, Germany

Re: use_dll installation

Postby jpfeifer » Thu Apr 02, 2015 7:14 pm

See http://de.mathworks.com/support/compilers/R2011a/win64.html. It seems you need to install Microsoft Visual C++ 2010 Express as well (and in the correct order)

Regarding your second question: Most probably because of the burnin in options_.drop.
------------
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 10 guests