Installing Dynare on Mandriva 2009

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.

Installing Dynare on Mandriva 2009

Postby kalagman » Fri Apr 17, 2009 3:16 pm

Hello!

I would just like to ask if anyone has tried installing Dynare in Mandriva 2009. I tried following the installation instructions for Ubuntu and Debian but no success so far.

Thank you

Sincerely,
Karl
kalagman
 
Posts: 2
Joined: Wed Apr 15, 2009 8:29 pm

Re: Installing Dynare on Mandriva 2009

Postby MichelJuillard » Sat Apr 18, 2009 6:58 pm

I don't have access to Mandriva, but what kind of error message are you getting?

Best

Michel
MichelJuillard
 
Posts: 680
Joined: Thu Nov 18, 2004 10:51 am

Re: Installing Dynare on Mandriva 2009

Postby kalagman » Sun Apr 19, 2009 3:06 am

Thanks Michel for the reply. Dynare finally worked in Mandriva 2009. Here is the step by step summary of the methods for future reference:

1. Download the latest version of Dynare ( Dynare-4.0.3). Unzip it.
2. In the console as a root user, copy the contents to /lib/dynare. (cp -R /home/dynare/* lib/dynare)
3. $ cd lib/dynare/preprocessor.
4. $ make

If there is error in compiling, read this carefully ([1])
If there is no error read the link as well to better understand what is happening :), then proceed to step 5.

5. Launch Matlab Application then from the command window go to lib/dynare/mex/sources.
6. Type in matlab console: build_matlab

This will compile the different dynamic libraries according to your processor specifications. [1]

7. mv MATLAB_PATH/sys/os/glnx86/libgcc_s.so.1 MATLAB_PATH/sys/os/glnx86/libgcc_s.so.1.cache

This deletes the gcc library distributed (and used by default) by matlab (GCC 4.1.1). Mandriva 2009 uses GCC 4.3.2. This removes the compatibility issues. [2]

8. add the correct path at run time. [3] Type in matlab console: addpath /lib/dynare/matlab.

This should be working by now. Try and test it.

9. You should be in this current directory (in matlab): lib/dynare/doc/userguide/models.
10. Try running this mod file: dynare fs2000ns.mod

Enjoy!

Sincerely,
Karl


References:
[1] http://www.christophecahn.me/?p=12
[2] http://www.dynare.org/DynareWiki/BuildingPreprocessor
[3] http://www.dynare.org/DynareWiki/Instal ... anOrUbuntu
kalagman
 
Posts: 2
Joined: Wed Apr 15, 2009 8:29 pm


Return to Dynare help

Who is online

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