Hi,
in the previous releases of Dynare v4 there was a source folder for compiling the mex functions (qz etc.)
I cannot see it in the new release. Is this supposed to be the case or is my installation of Dynare (Ubuntu) incomplete?
Best,
Gianni
Hi,
in the previous releases of Dynare v4 there was a source folder for compiling the mex functions (qz etc.)
I cannot see it in the new release. Is this supposed to be the case or is my installation of Dynare (Ubuntu) incomplete?
Best,
Gianni
For Ubuntu, you no longer need to recompile anything.
We now provide standard Ubuntu packages (.deb), via the package manager. These packages contain everything you need (M-files, binaries for the preprocessor and the MEX files). Also note that you will automatically get new Dynare releases if you use that mechanism.
Everything is explained there:
dynare.org/manual/ch02s02.html#id382132 *
Note that you have to install two packages: the package “dynare” for the M-files, the preprocessor (and also the MEX files compiled for Octave), and a package “dynare-matlab74” or “dynare-matlab75” for the MEX files compiled for Matlab, depending on your Matlab version.
If you really want to recompile the preprocessor and the MEX files, pick the “.tgz” source file in the download section.
Best
Sébastien
NB: * new url
Hi Sébastien,
thanks for the update.
I tried to download the packages you mention, with the following problems:
Notice that if I use the old source folder of the previous svn release of Dynare, everything works fine.
Best regards
Gianni
[PS: As an aside, it would be great to have the option to re-compile the mex functions on one own machine…]
Hi,
Concerning the availability of the dynare-matlab7.5 package, there is a typo in the URL you wrote. Note that you normally don’t have to directly manipulate the URL; you should rather use your package manager as explained on the Wiki page. Note that yesterday I added the cryptographic key to get rid of security warnings. Everything is explained on:
dynare.org/manual/ch02s02.html#id382132 *
I have just reconfigured the package repository and uploaded dynare 4.0.1, so you should give it another try, by updating your package list with your package manager.
If this doesn’t solve your problem, I need the following informations to help you solve it:
Note that I built the packages with a Ubuntu Hardy 8.04, so I don’t see any reason why they should fail on another similar system, and other people reported successful installations on Ubuntu/Hardy. However, if you really need to recompile the package, this is perfectly possible. The procedure is explained at the bottom of the wiki page.
Best
Sébastien
NB: * new url
Hi,
I don’t think I changed anything.
I tried again with synaptic and it failed again. Indeed I use Matlab 2006a so the 2007b is no good for me on this machine. Still the 2007a is corrupted as Dynare crashes. The only way for Dynare to work fine is to compile the old scripts. This compilatio per se fails only on the simulation mex file with error
As for your questions
synaptic
I use 2006a
Hardy 8.04
Cheers
Gianni
Ok, this means that the binaries compiled with Matlab 7.4 (R2007a) don’t work with Matlab R2006a. We may therefore consider providing them in the future.
In the meantime, I suggest the following:
Let me know if this works
Best
Sébastien
Hi,
check out my other help message. When I tried to download the source file I got the same error regarding the non-existing URL. Did you fixed it in the last hour?
Gianni
See my reply your other post. In synaptic, you need to click on “Reload”.
Sébastien
Hi Sébastien,
you are great! Now the source files compile perfectly and Dynare works smoothly.
Thanks a million
Cheers
gianni