Writes the number of temporary terms of the planner objective function derivatives objective_tmp_nbr in the driver.m file.
Useful for the k-order approximations of welfare.
For the time being, the preprocessor will refuse that this option be used with
any command other than estimation.
By the way, remove occbin_likelihood and occbin_smoother options to estimation.
Ref. dynare#569
— drop Windows 32-bit support
— drop -fno-omit-frame-pointer compilation flag under GNU/Linux
— drop -static-libstdc++ flag under Windows
— no longer link to -lstdc++ under GNU/Linux and macOS
— gracefully fail when 'mexext' value is unknown
If the old file and the new contents shared a common prefix, then the output in
the generated file would be truncated at the start.
Ref. DynareJulia/Dynare.jl#1
— rename the files with camel case
— encapsulate the functions with modules
— change the signature of function <MODFILE>_dynamic_set_series!, by removing
the output argument and appending the exclamation mark, since this function
modifies one of its arguments, and for symmetry with the static version
Ref. DynareJulia/Dynare.jl#1
Writes the number of non-zero derivatives of the planner objective function NNZDerivatives_objective in the driver.m file. Useful for the k-order approximations of welfare.
This option was treated as a numeric value: it was a hack to ensure that the
name of the dseries object was printed without quotes in the driver file.
However, that would make the JSON output synctically incorrect.
This commits removes the hack, and treats the “series” option as a string
value (in the same way as for the “data” command). A modification of the MATLAB
code will thus be needed to accomodate the change.
— add “-s” to LDFLAGS instead of manually calling strip
— on GNU/Linux, do not pass “-static” to LDFLAGS. We can dynamically link
against glibc, since in Artifacts.toml we explicitly mention that we compile
for a glibc system (and not musl)
— use --host=i686-linux-gnu to compile for GNU/Linux 32-bit, instead of passing “-m32”
N.B.: Under Debian, g++-i686-linux-gnu must be installed. Otherwise this will
silently use the 64-bit compiler
— for symmetry, use --host=x86_64-linux-gnu for GNU/Linux 64-bit
— on macOS, pass “-static-libgcc” through LDFLAGS rather than CXXFLAGS; this
requires setting CC to gcc-10
— use better names for the jobs