the-configuration-file.rst
The configuration file
The configuration file is used to provide Dynare with information not related to the model (and hence not placed in the model file). At the moment, it is only used when using Dynare to run parallel computations.
On Linux and macOS, the configuration file is searched by default under
dynare/dynare.ini
in the configuration directories defined by the XDG
specification (typically $HOME/.config/dynare/dynare.ini
for the
user-specific configuration and /etc/xdg/dynare/dynare.ini
for the
system-wide configuration, the former having precedence over the latter). Under
Windows, the configuration file is searched by default in
%APPDATA%\dynare\dynare.ini
(typically
c:\Users\USERNAME\AppData\Roaming\dynare\dynare.ini
). You can specify a non
standard location using the conffile
option of the dynare
command (see
:ref:`dyn-invoc`).
The parsing of the configuration file is case-sensitive and it should take the following form, with each option/choice pair placed on a newline:
[command0]
option0 = choice0
option1 = choice1
[command1]
option0 = choice0
option1 = choice1
The configuration file follows a few conventions (self-explanatory
conventions such as USER_NAME
have been excluded for concision):
COMPUTER_NAME
Indicates the valid name of a server (e.g.localhost
,server.cepremap.org
) or an IP address.
DRIVE_NAME
Indicates a valid drive name in Windows, without the trailing
colon (e.g. C
).
PATH
Indicates a valid path in the underlying operating system
(e.g. /home/user/dynare/matlab/
).
PATH_AND_FILE
Indicates a valid path to a file in the underlying operating
system (e.g. /usr/local/MATLAB/R2023b/bin/matlab
).
BOOLEAN
Istrue
orfalse
.
Dynare Configuration
This section explains how to configure Dynare for general processing. Currently, there is only one option available.