Commit Graph

15853 Commits (ceff825ed4bd0c3d50adc12199f2be98eb28df47)

Author SHA1 Message Date
Sébastien Villemot ceff825ed4
Fix typo 2023-09-27 13:24:51 +02:00
Sébastien Villemot befe645728
Simplify function for getting the path to MEX files
This function could optionally modify the path, but that possibility was never
used.
2023-09-27 13:24:51 +02:00
Sébastien Villemot 432fd2d1b1
aggregate: Octave compatibility fix
The textscan() function under Octave does not accept delimiters specified as a
cell array.
2023-09-27 12:27:47 +02:00
Sébastien Villemot 2993c79a85
Preprocessor update
– fix illegal memory access when doing Ramsey
– use same default variable cleaning rule under Octave as under MATLAB ⩾ 8.6
2023-09-27 12:27:28 +02:00
Sébastien Villemot 50319b7620
Build system: fix compilation of MS-SBVAR MEX under Linux+Octave
Add the -Bsymbolic linker flag. This ensures that the main() symbols defined in
both MS-SBVAR MEX won’t step on each other.
2023-09-27 11:41:14 +02:00
Sébastien Villemot b65f641b72 Merge branch 'doc' into 'master'
Documentation: parallel SingleCompThread option

See merge request Dynare/dynare!2186
2023-09-27 06:59:15 +00:00
Willi Mutschler 2c2d93f36b
doc: clarify SingleCompThread option
[skip ci]
2023-09-27 08:22:28 +02:00
Sébastien Villemot 64f47723bf
Testsuite: fix batch arguments for old MATLAB under Linux 2023-09-26 16:55:05 +02:00
Sébastien Villemot 01833b8a76
Testsuite: factorization between MATLAB and Octave 2023-09-26 15:59:38 +02:00
Sébastien Villemot 82a2aeaae4
Block trust region MEX: gracefully handle the singular Jacobian case
When the Jacobian of the problem is singular, compute a solution to the least
squares problem instead of crashing.

Closes #1889
2023-09-26 15:30:33 +02:00
Sébastien Villemot c4a5c36c52
Merge branch 'dynare-dynare_estimation_1'
Ref. !2182
2023-09-25 17:18:07 +02:00
Johannes Pfeifer 9b86dd4c33
bug: simul_backward_model_init.m: fix error message 2023-09-25 17:17:37 +02:00
Johannes Pfeifer 13bf261088
prior_posterior_statistics_core.m: remove unused variables 2023-09-25 17:17:37 +02:00
Johannes Pfeifer 710a5fba52
slice: cosmetic changes 2023-09-25 17:17:37 +02:00
Johannes Pfeifer 6d8927775b
Remove unused steadystate_partial option and related inline function restricted_steadystate.m 2023-09-25 17:17:37 +02:00
Johannes Pfeifer bf7ac27fd7
prior_posterior_statistics_core.m: consolidate both forecast functions into one inline function 2023-09-25 17:17:37 +02:00
Johannes Pfeifer dc9560e610
selec_posterior_draws.m: remove global variables 2023-09-25 17:17:37 +02:00
Johannes Pfeifer b4104584a2
gmhmaxlik_core.m: remove unused global variables 2023-09-25 17:17:37 +02:00
Johannes Pfeifer 71b63c6e8e
Remove unused lik_algo-option 2023-09-25 17:17:37 +02:00
Johannes Pfeifer 8da98057b9
Have computation of decision rules and smoother only input and output required arguments instead of full oo_ and M_ 2023-09-25 17:17:34 +02:00
Sébastien Villemot 7557dfb70d
Meson: add install rules 2023-09-25 16:38:29 +02:00
Johannes Pfeifer 4fa5df0c24 simult.m: remove oo_ as input and output 2023-09-25 12:08:47 +02:00
Johannes Pfeifer 22c0f2279f non_linear_dsge_likelihood.m: rename variables 2023-09-25 12:08:45 +02:00
Johannes Pfeifer 01f29784d7 bug: initialize undefined variable in OccBin smoother 2023-09-25 12:08:44 +02:00
Johannes Pfeifer b5880e0e56 bug: minus_logged_prior_density.m: fix reading out of error codes 2023-09-25 12:08:43 +02:00
Johannes Pfeifer 5231fc04c1 Remove global variables from prior_posterior_statistics.m and PosteriorIRF.m 2023-09-25 12:08:41 +02:00
Johannes Pfeifer 782a2e8d69 dynare_estimation_1.m: move display and storing of classical smoother to separate function 2023-09-25 12:08:40 +02:00
Stéphane Adjemian (Ryûk) 6417520c09
Allow cherrypicking and aggregation with PAC/MCE. 2023-09-23 17:43:19 +02:00
Stéphane Adjemian (Ryûk) 8d7a5e69d7
Return Computing and preprocessing time. 2023-09-22 22:29:42 +02:00
Sébastien Villemot bdb385d17c
README.md: recommend pkgconf instead of pkg-config in MSYS2 2023-09-22 14:41:50 +02:00
Sébastien Villemot 9a1f150e38
Merge branch 'default_mode_compute' of git.dynare.org:JohannesPfeifer/dynare
Ref. !2160
2023-09-22 14:35:45 +02:00
Sébastien Villemot b8412aba10
Meson: enable -Wold-style-cast warning when warning_level⩾2 2023-09-22 14:33:14 +02:00
Sébastien Villemot b117e2a540
Preprocessor: warnings removed 2023-09-22 14:32:48 +02:00
Sébastien Villemot bf9434f95f
Remove warnings about cast between incompatible function types (-Wcast-function-type) under Windows 2023-09-22 14:22:47 +02:00
Sébastien Villemot 9f3f1b00c6
MS-SBVAR MEX: remove all compilation warnings at warning_level=2 2023-09-22 13:56:51 +02:00
Sébastien Villemot 1e290daa44
Meson: add a few notes 2023-09-22 13:56:45 +02:00
Sébastien Villemot f4bcecc0d2
Add note about static_assert being a keyword in C23 2023-09-22 13:36:01 +02:00
Sébastien Villemot 4f1e5e1bc2
MS-SBVAR MEX: fixes related to C linkage (extern "C")
Also fix or remove various #ifdefs, and remove unused “int constant_seed”.
2023-09-22 13:31:44 +02:00
Sébastien Villemot 4a68cfcbd6
MS-SBVAR MEX: remove warning related to function not returning (-Wreturn-type) 2023-09-22 13:22:35 +02:00
Sébastien Villemot c424366440
CI: bump to MATLAB R2023b 2023-09-22 10:52:57 +02:00
Sébastien Villemot 7eb1959f66
Provisions for MATLAB R2023b 2023-09-22 10:49:27 +02:00
Sébastien Villemot 491c8785a9
README.md: add pkg-config dependency under MSYS2
[skip ci]
2023-09-20 18:41:49 +02:00
Sébastien Villemot d36b82e47c
README.md: fix name of meson package under MSYS2 2023-09-20 18:23:58 +02:00
Sébastien Villemot a54b29a384
Remove warnings about uninitialized stuff (-Wuninitialized)
I have no idea why moving these statements around removes the warnings (at
least under GCC 13). Probably an issue internal to GCC.
2023-09-20 17:38:58 +02:00
Sébastien Villemot 605ed45811
Meson: add extra Fortran warnings only if warning_level ⩾ 2 2023-09-20 17:16:24 +02:00
Sébastien Villemot 70866c7b70
Remove warnings about comparison of integer expressions of different signedness (-Wsign-compare) 2023-09-20 16:48:29 +02:00
Sébastien Villemot f23dd8c981
Remove warnings about impure functions that might not be evaluated (-Wfunction-elimination)
Mark various MATLAB/MEX primitives as pure.
2023-09-20 16:46:10 +02:00
Sébastien Villemot e0bc9f29a1
Remove warnings about unused parameters (-Wunused-parameter) 2023-09-20 16:30:02 +02:00
Sébastien Villemot 6dd55726e6
Drop autoconf/automake build system 2023-09-20 15:33:44 +02:00
Sébastien Villemot 83e1b307d2
Update build instructions for Meson 2023-09-20 15:13:55 +02:00