Commit Graph

11747 Commits (35acc111ffb28fe6b0b8214f1a11d6049a3ac9f3)

Author SHA1 Message Date
Sébastien Villemot 35acc111ff
Windows package: fix random build failure due to race condition
The MEX files are built out-of-tree (because we want to do them in parallel).
This would create a potential race condition if several builds want to create
the symlinks under mex/matlab/ or mex/octave/.

The solution is to disable those symlinks for out-of-tree builds.
2019-09-04 11:39:52 +02:00
Sébastien Villemot 677caab21e
Remove obsolete file from .gitignore 2019-09-04 11:14:22 +02:00
Sébastien Villemot 844690b805
Windows package: tell zip to be less verbose 2019-09-04 08:54:01 +02:00
Sébastien Villemot f8c95effd5
Windows package: update versions of several dependencies
Do not update OpenBLAS to 0.3.7, because that version fails to build when
LAPACKE is not requested.
2019-09-03 21:36:50 +02:00
Sébastien Villemot ac0339c287
Windows package: add x13as 2019-09-03 21:36:50 +02:00
Sébastien Villemot bae1fa255a
Add scripts and CI job for building Windows package
The scripts are based the former “dynare-build” project. They have been
overhauled and simplified.

Building a Windows package (both installer and zip archive) is as easy as
running “make -C windows” (provided the right Debian packages are installed,
use the “windows/install-packages.sh” script for that purpose).

The layout of MEX files for Octave in the package has been
changed (mex/octave/win32/ and mex/octave/win64/ instead of mex/octave32/ and
mex/octave/), for consistency with MATLAB MEX.
2019-09-03 21:36:47 +02:00
Sébastien Villemot 33f19d35d9 Merge branch 'conditional_forecast' into 'master'
imcforecast.m: Make code robust to 1 period

See merge request Dynare/dynare!1659
2019-09-03 08:38:59 +00:00
Johannes Pfeifer fc9197a9a1 imcforecast.m: Make code robust to 1 period
When using 1 period, the second dimension was a singleton that was removed as well by squeeze, resulting in a column vector when a row vector/matrix was expected. Fixes https://forum.dynare.org/t/problem-with-the-conditional-forecast-in-dynare-4-5-7/14385/2
2019-09-02 18:47:46 +02:00
Houtan Bastani 6b9a86b039
doc: include example of compiled report 2019-09-02 12:26:16 +02:00
Houtan Bastani fa72933027
doc: update for changes in reporting submodule introduced in cf1e88c4a1 2019-09-02 11:48:53 +02:00
Sébastien Villemot cf1e88c4a1
Update reporting submodule 2019-08-30 14:27:40 +02:00
Houtan Bastani 87fd09081b
doc: fix typos 2019-08-29 15:53:18 +02:00
Houtan Bastani 489634b648
doc: internal link doesn’t work when broken across two lines 2019-08-28 18:24:18 +02:00
Houtan Bastani 3e7921d61d
doc: add missing value for `json` option 2019-08-28 11:08:25 +02:00
Houtan Bastani 1e8b00babf
doc: remove warning from compilation by using anonymous reference instead (two underscores instead of one) 2019-08-27 12:37:56 +02:00
Houtan Bastani 51d2f71514
submodule update: preprocessor + doc 2019-08-27 12:23:05 +02:00
Houtan Bastani 0e8bb324ca
doc: remove line as table of contents appear before this 2019-08-27 10:45:36 +02:00
Sébastien Villemot 87723301d5
Update preprocessor submodule 2019-08-22 17:03:19 +02:00
Sébastien Villemot b73f5b7816
Compatibility fix for Octave 5
The sleep() function has been removed in favor of pause().
2019-08-22 17:03:19 +02:00
Houtan Bastani 5994321cd7
preprocessor: submodule update 2019-08-19 16:58:14 +02:00
Sébastien Villemot 776792e15c
Update preprocessor submodule 2019-08-14 17:39:06 +02:00
Sébastien Villemot af3250797e
Update preprocessor submodule
The minimum required version of Bison is now 3.2
2019-08-14 11:23:48 +02:00
Sébastien Villemot 5d2a077a56 Merge branch 'remove_kstate' into 'master'
Remove kstate in dyn_second_order_solver

See merge request Dynare/dynare!1656
2019-08-13 10:55:48 +00:00
Houtan Bastani 83f809e048
small fixes 2019-08-12 11:40:40 -04:00
Sébastien Villemot 4e3490f9cf Merge branch 'NK_steady_state' into 'master'
NK_baseline_steadystate.m: Cosmetic changes

See merge request Dynare/dynare!1658
2019-08-12 08:56:06 +00:00
Johannes Pfeifer 2d03ca3e62 NK_baseline_steadystate.m: Cosmetic changes 2019-08-10 09:02:27 +02:00
Houtan Bastani b6cbfb56d1
preprocessor: submodule update and doc update 2019-08-08 10:27:56 -04:00
Houtan Bastani ea06dfbcd5
add tests for casting and range in macro processor 2019-08-07 11:30:16 -04:00
Houtan Bastani b33900b86c
preprocessor: submodule update and doc update 2019-08-07 11:11:24 -04:00
Houtan Bastani 7efacbc478
doc: macro processor integer range with user-defined increment 2019-08-06 17:31:00 -04:00
Houtan Bastani a59732cd69
doc: new built-in function cbrt 2019-08-06 17:26:51 -04:00
Houtan Bastani 885a206400
preprocessor: submodule update and doc update 2019-08-06 17:08:45 -04:00
Houtan Bastani 452dc3ceb5
preprocessor: submodule update and doc update 2019-08-06 12:11:14 -04:00
Houtan Bastani 1501032a3f
replace use of old-style casts 2019-07-30 15:15:23 -04:00
Houtan Bastani 53ae549350
histval_file: small changes 2019-07-29 10:48:49 -04:00
Houtan Bastani 908950f121
replace getfield/setfield with dynamic fields 2019-07-25 14:28:35 -04:00
Willi Mutschler 052d304789
Remove kstate in dyn_second_order_solver
kstate is not needed anymore as all information is found in M_.lead_lag_incidence
See Dynare/dynare#1653
2019-07-16 10:33:02 +02:00
Sébastien Villemot f95cf18b45
Update preprocessor submodule 2019-07-12 16:23:43 +02:00
Sébastien Villemot 512f37ae85
Update manual following the move of LaTeX files generated by preprocessor 2019-07-11 17:40:28 +02:00
Sébastien Villemot fe165c2430
LaTeX files generated by the preprocessor are now under <basename>/latex/ 2019-07-11 17:35:30 +02:00
Sébastien Villemot 4030169db9
k_order_perturbation MEX: number of threads is now configurable 2019-07-09 17:33:14 +02:00
Sébastien Villemot 5b6c3bb452
k_order_perturbation MEX: small simplification in handling of NameLists 2019-07-09 17:33:14 +02:00
Sébastien Villemot aaaa897a2a
k_order_perturbation MEX: improve input handling and sanitization 2019-07-09 17:33:05 +02:00
Sébastien Villemot f8af21819e
Simplify the interface to perfect_foresight_problem MEX 2019-07-09 14:33:17 +02:00
Sébastien Villemot 984c60acb9
Various improvements related to the MEX R2018a API
— Use MX_HAS_INTERLEAVED_COMPLEX for testing for the new API

— Use the typed access functions under the new API, with one exception: we do
  not use mxGetDoubles() instead of mxGetPr(), because it would just complexif
  the code without any value added

For more details, see:
https://fr.mathworks.com/help/matlab/matlab_external/upgrade-mex-files-to-use-interleaved-complex.html
2019-07-09 11:54:12 +02:00
Sébastien Villemot 5a4f706272
Preprocessor submodule update 2019-07-05 17:49:38 +02:00
Sébastien Villemot 2ad6b31d76
Option endogenous_terminal_period is only available for stack_solve_algo=0 2019-07-04 18:37:27 +02:00
Sébastien Villemot 29396b0cda
Improve comment about oo_.dr.kstate 2019-07-04 18:37:23 +02:00
Sébastien Villemot ca20cfe6f1
Update preprocessor submodule
[skip ci]
2019-07-04 15:53:38 +02:00
Sébastien Villemot febf248f17
Manual, macro-processor: fix explanation for interaction between brackets and colon notation
Ref preprocessor#6

[skip ci]
2019-07-03 17:45:23 +02:00