How to see the source codes of 'dynare_m.exe'?

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.

How to see the source codes of 'dynare_m.exe'?

Postby flyingpig » Tue Nov 13, 2012 1:36 pm

Hi, I am considerabily curious to know the source codes of 'dynare_m.exe'. Is there any way to read the source codes of it? Is it complied by C or MATLAB? Thanks! :?:
flyingpig
 
Posts: 17
Joined: Mon Mar 05, 2012 8:59 am

Re: How to see the source codes of 'dynare_m.exe'?

Postby peter487 » Tue Nov 13, 2012 1:56 pm

For the source code see
https://www.dynare.org/trac/browser/preprocessor

For some info see preprocessor.pdf shipped with Dynare (in the doc folder)
peter487
 
Posts: 14
Joined: Thu Sep 13, 2012 3:26 pm

Re: How to see the source codes of 'dynare_m.exe'?

Postby HoutanBastani » Tue Nov 13, 2012 5:49 pm

You can also download a nightly source snapshot here http://www.dynare.org/snapshot/source/. The preprocessor subdirectory contains the C++ code that is compiled into dynare_m.
Best,
Houtan
HoutanBastani
 
Posts: 197
Joined: Fri Jan 22, 2010 4:11 pm
Location: Paris, France

Re: How to see the source codes of 'dynare_m.exe'?

Postby flyingpig » Thu Nov 29, 2012 1:21 pm

HoutanBastani wrote:You can also download a nightly source snapshot here http://www.dynare.org/snapshot/source/. The preprocessor subdirectory contains the C++ code that is compiled into dynare_m.


Hi, thanks for the answer. I have one more question, is the data flow mainly run by dynare_m.exe, I mean this cpp execution file connection all Matlab functions together? Is any computation part written in this file? :?:
flyingpig
 
Posts: 17
Joined: Mon Mar 05, 2012 8:59 am

Re: How to see the source codes of 'dynare_m.exe'?

Postby SébastienVillemot » Wed Jan 09, 2013 4:45 pm

The only significant computation done in the preprocessor is the computing of analytical derivatives of the model equations. The rest of the preprocessor is essentially about parsing the MOD file and making various checks.

The rest of the computation is done either in M-files, or in MEX-files.
Sébastien Villemot
Economist at OFCE – Sciences Po
SébastienVillemot
 
Posts: 706
Joined: Fri Dec 07, 2007 2:29 pm
Location: Paris, France

Re: How to see the source codes of 'dynare_m.exe'?

Postby simpak » Fri Jun 21, 2013 5:37 am

flyingpig wrote:Hi, I am considerabily curious to know the source codes of 'dynare_m.exe'. Is there any way to read the source codes of it? Is it complied by C or MATLAB? Thanks! :?:


I am curious too, to know the source codes of dynare_m.exe :)
simpak
 
Posts: 1
Joined: Fri Jun 21, 2013 5:35 am


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 7 guests