Commit Graph

15798 Commits (e549bbba7a96f822b8f8475041b4263467d2b609)

Author SHA1 Message Date
Sébastien Villemot e549bbba7a
Meson build system: testsuite now fully implemented
By the way, switch the CI to use the Meson testsuite, because some test files
have been modified and no longer work with the old build system.
2023-09-20 13:55:55 +02:00
Sébastien Villemot 01ae836a99
Meson build system / Octave: fix use_dll option with perfect_foresight_problem and k-order MEX
The MEX extension was not properly passed at compile time.

This is the same issue as 6af9b5f268 for MATLAB.
2023-09-20 11:58:23 +02:00
Sébastien Villemot ba0fef9879
Meson build system: meson ⩾ 0.64.0 is required 2023-09-20 11:16:04 +02:00
Sébastien Villemot d731cb18e9
Windows and macOS packages: add missing dynare_version.m file 2023-09-20 10:53:10 +02:00
Sébastien Villemot 6f5e346bf6
Merge branch 'preparations_irf_matching' of git.dynare.org:wmutschl/dynare
Ref. !2181
2023-09-20 10:17:14 +02:00
Sébastien Villemot 7f2483ed38
Merge branch 'additional_optimizer_steps_doc' of git.dynare.org:JohannesPfeifer/dynare
Ref. !2184
2023-09-20 10:16:08 +02:00
Sébastien Villemot 14a71a6d98
Merge branch 'additional_optimizer_steps' of git.dynare.org:JohannesPfeifer/dynare
Ref. !2178
2023-09-20 10:15:38 +02:00
Sébastien Villemot 44f307ce45
Merge branch 'dynare-complex_resid'
Ref. !2155
2023-09-20 10:09:07 +02:00
Johannes Pfeifer 87ce652088
Account for complex value during resid and steady 2023-09-20 10:08:53 +02:00
Johannes Pfeifer f6a8473144 estimation: support additional_optimizer_steps
Closes https://git.dynare.org/Dynare/dynare/-/issues/1573
2023-09-19 18:14:24 +02:00
Sébastien Villemot c2897c8f14
Source package: use the Meson build system 2023-09-19 17:41:40 +02:00
Sébastien Villemot a252daee51
Windows package: use the Meson build system
By the way, simplify the dependency build system by removing unused SLICOT
builds.
2023-09-19 17:14:43 +02:00
Johannes Pfeifer 8032aa6e7e Manual: correct entry on additional_optimizer_steps supporting strings 2023-09-19 14:34:49 +02:00
Sébastien Villemot bb55e9ec2f Merge branch 'Octave' into 'master'
Clean up code related to fixed Octave bugs

See merge request Dynare/dynare!2180
2023-09-19 11:39:30 +00:00
Willi Mutschler 330b10ec85
cosmetical changes to headers and comments 2023-09-19 13:26:33 +02:00
Willi Mutschler 649f668dd1
cosmetical: don't use hh for figure/plot/table handles
We use it to denote the hessian and even store it in many mat files.
2023-09-19 13:26:33 +02:00
Willi Mutschler 66e7233018
Fix encoding of parallel.tex 2023-09-19 13:26:33 +02:00
Willi Mutschler c8be1a3274
Refactor mode_check codes 2023-09-19 13:26:33 +02:00
Willi Mutschler a41fbdefbc
estimation: more flexible handling of displayed string in command window
Also removed estim_params_ as unused input argutment to CutSample
2023-09-19 13:26:33 +02:00
Willi Mutschler 9a4e022eb7
remove global from GetAllPosteriorDraws 2023-09-19 13:26:33 +02:00
Willi Mutschler 268d511e29
estimation: better organize files into folders (latex,graphs,output) 2023-09-19 13:26:33 +02:00
Willi Mutschler 80ce86baf8
Manual: clarify location of Geweke convergence diagnostic matrices 2023-09-19 13:26:33 +02:00
Willi Mutschler 8f650a9cca
Put raftery lewis convergence under oo_.convergence 2023-09-19 13:26:33 +02:00
Johannes Pfeifer 7df3ff5059 dynare_solve.m: fix logic of initial guess randomization which forgot case of imaginary numbers 2023-09-19 12:52:55 +02:00
Johannes Pfeifer b0358b9939 dynare_solve.m: add option to disable randomization of starting value 2023-09-19 12:52:54 +02:00
Johannes Pfeifer 62c3a14026 get_error_message.m: fix typo in error message 2023-09-19 12:52:53 +02:00
Johannes Pfeifer dafe3fbdb2 evaluate_steady_state.m: do not require second solver call if debug is requested
All output has already been computed before
2023-09-19 12:52:52 +02:00
Johannes Pfeifer 757b6e10ec display_static_residuals: make output more legible in presence of tags 2023-09-19 12:52:51 +02:00
Johannes Pfeifer 624eabe2e8 dynare_solve.m: improve warning message 2023-09-19 12:52:50 +02:00
Johannes Pfeifer 68ff5c4110 evaluate_steady_state.m: Filter out small complex residuals 2023-09-19 12:52:49 +02:00
Sébastien Villemot e335fed27b
macOS package: use the Meson build system
By the way, simplify the dependency build system by removing 32-bit
SLICOT (was only used for the Octave package), and the symlinks for MatIO and
GSL (no longer needed with Meson).
2023-09-18 16:57:32 +02:00
Sébastien Villemot d573ff1507
CI: build documentation using Meson 2023-09-18 15:16:26 +02:00
Sébastien Villemot 049609cbbb
Meson build system: do not build documentation by default
[skip ci]
2023-09-18 13:42:29 +02:00
Sébastien Villemot db677f1bab
Meson build system: add documentation 2023-09-18 10:41:17 +02:00
Sébastien Villemot 7072776a60
Build system / Manual: use variables for specifying the version number
Rather than using a generated file. This will ease the transition to Meson.
2023-09-18 10:41:14 +02:00
Sébastien Villemot 63333fe041
Remove unused bibliography files for Collard’s guide
Also add a dependency of dr.pdf on dr.bib.
2023-09-16 14:25:41 +02:00
Sébastien Villemot d57ff73763
Meson build system: add suite name(s) to the tests
By the way, rename a few targets and variables so that they use the “k_order”
prefix instead of “korder”, for consistency with other targets.
2023-09-16 14:25:41 +02:00
Sébastien Villemot 3e0999a0fb
Meson build system: use Fortran 2018 standard by default 2023-09-16 14:25:41 +02:00
Sébastien Villemot 8c5d6f5eae
libkordersim: ensure strict Fortran standard compliance
The “order” variable was used before being typed. This is apparently accepted
by the GNU Fortran dialect.
2023-09-16 14:25:41 +02:00
Sébastien Villemot 9e7e069aa8
Fortran: use standard-compliant ieee_is_nan() instead of GNU extension isnan() 2023-09-16 14:25:40 +02:00
Sébastien Villemot 8a79899189
Meson build system: implement most of the testsuite
The tests that are individually listed in {M,O}_TRS_FILES of tests/Makefile.am
are still missing.
2023-09-16 14:25:38 +02:00
Sébastien Villemot 755138fb84
Meson build system: fix ms-sbvar MEX, they would not contain a mexFunction()
[skip ci]
2023-09-14 18:55:29 +02:00
Johannes Pfeifer ff83c4aea7 evaluate_steady_state_file.m: Octave bug 52568 was fixed in Octave 6 2023-09-14 16:55:13 +02:00
Sébastien Villemot db331c53d4
Merge branch 'display_static_residuals' of git.dynare.org:JohannesPfeifer/dynare
Ref. !2176
2023-09-14 12:06:34 +02:00
Sébastien Villemot bea2d7905b
Merge branch 'dynare-bvar'
Ref. !2175
2023-09-14 12:05:59 +02:00
Johannes Pfeifer 14634946dc
🐛 bvar_irf: SquareRoot-option erroneously used Cholesky decomposition 2023-09-14 12:05:21 +02:00
Johannes Pfeifer 2b313b0308
BVAR: move to subfolder 2023-09-14 12:05:18 +02:00
Sébastien Villemot 126a1b74ea
Meson build system: fix compilation of k_order_perturbation MEX
[skip ci]
2023-09-13 18:30:25 +02:00
Johannes Pfeifer 838bb2f4b5 display_static_residuals.m: fix bug introduced in 4598dba40c 2023-09-13 15:26:05 +02:00
Sébastien Villemot e86b372464
Display more explicit error message when k_order_perturbation MEX fails 2023-09-13 15:06:51 +02:00