Installing the Dynare 4.1.0 Package on Mac OS X 10.5 or higher
- Download and run the appropriate Dynare Package for your system; OS X v10.5 should download the 32-bit package while OS X v10.6 are free to choose between the 32-bit and the 64-bit packages (unless you will be using Dynare with Octave, which only supports 32-bit).
- Install Dynare by double-clicking on the package and following the installation instructions.
Matlab Setup
Once installation is complete, open Matlab. Go to File->Set Path... and add the full path to the DYNARE-4.1.0/ installation folder. If you have followed the standard installation (i.e., not changed the default installation location), this will be /Applications/DYNARE-4.1.0.
Within the installation folder, navigate to mex/sources. In the standard installation, this will be /Applications/DYNARE-4.1.0/mex/sources.
- At the Matlab prompt, run
>> build_matlab
Once this has finished running, go to File->Set Path... and add the path to the matlab/ subfolder under the installation folder. In the standard installation, this will be /Applications/DYNARE-4.1.0/matlab.
Octave Setup
Download and install the latest Octave Mac Os X binary and add /Applications/Octave.app/Contents/Resources/bin to your search path. Add the following lines to the /Applications/Octave.app/Contents/Resources/bin/mkoctfile-3.2.3 file after the set -e statement at the top of the file
CFLAGS="-arch i386 ${CFLAGS}" FFLAGS="-arch i386 ${FFLAGS}" CPPFLAGS="-arch i386 ${CPPFLAGS}" CXXFLAGS="-arch i386 ${CXXFLAGS}" LDFLAGS="-arch i386 ${LDFLAGS}"
NB: Regardless of your OS X version, you must use 32-bit Dynare instead of 64-bit Dynare with Octave, as it does not yet provide 64-bit support.
Documentation
Documentation can be found in the doc/ folder under the installation directory (the default is /Applications/DYNARE-4.1.0/doc). The User Guide (located by default in /Applications/DYNARE-4.1.0/doc/userguide/UserGuide.pdf) is a particularly helpful starting place. Errata for the User Guide can be found here.