Sébastien Villemot
113cfb9c47
Merge branch 'macos-installer' of git.dynare.org:wmutschl/dynare
...
Ref. !2197
2023-10-17 09:26:47 -04:00
Sébastien Villemot
9a0462a8a6
Bytecode: remove a couple of useless casts
2023-10-16 18:06:42 -04:00
Sébastien Villemot
06a7acf19b
Bytecode: enforce consistent typing of size variables
2023-10-16 18:00:11 -04:00
Sébastien Villemot
651fed87be
Bytecode: remove warnings about narrowing (-Wnarrowing)
2023-10-16 17:58:36 -04:00
Sébastien Villemot
b0fa610357
Bytecode: remove warnings about uninitialized variables (-Wmaybe-uninitialized)
...
By the way, in the dynamic case, ensure that solve_algo variable corresponds to
options_.solve_algo; it would previously correspond to
options_.stack_solve_algo, while there is already a separate stack_solve_algo
variable for that purpose.
2023-10-16 17:43:20 -04:00
Willi Mutschler
fb63a8eadb
macOS installer: fix typo in welcome page
2023-10-16 22:12:09 +02:00
Sébastien Villemot
eae9902cb8
Bytecode: restrict scope of some variables
2023-10-16 15:39:13 -04:00
Sébastien Villemot
3e5591d41f
New “static_mfs” option to the “model” block (and the “model_options” command)
2023-10-16 11:57:02 -04:00
Sébastien Villemot
4875554a39
Perfect foresight homotopy: make marginal linearization more robust
...
For marginal linearization, an extra simulation is needed. This extra
simulation is first computed using the first simulation as guess value. If that
does not work, the present commits adds an additional attempt for computing
that extra simulation, using a full homotopy loop from the beginning.
As a consequence, the present commits puts the homotopy loop in a dedicated
function.
2023-10-13 15:31:44 -04:00
Sébastien Villemot
2ae485705e
Perfect foresight homotopy: turn a nested function into a local one
...
The behaviour of local functions is easier to understand, since they do not
have access to the workspace of the caller.
2023-10-13 14:40:45 -04:00
Sébastien Villemot
4f74ceb937
Testsuite: fix issue with Octave in a Wayland desktop session
...
If under a Wayland desktop session, some graphics would be displayed on the
screen, despite Octave being run in the virtual X11 frame buffer (xvfb).
Moreover, some unexplained random crashes would occur.
This commit ensures that Wayland is never used when running the testsuite.
By the way, add a command to explain why xvfb-run is needed and the
--no-window-system option cannot be run (see commit
96346b77e5
).
2023-10-13 14:39:55 -04:00
Sébastien Villemot
cc7c024389
Perfect foresight homotopy: display the full output of every iteration
...
As a consequence, print the full iterations summary table after each iteration.
2023-10-13 09:19:10 -04:00
Sébastien Villemot
9ebd8a8372
Make perfect foresight hotomopy loop more readable
...
Only modify oo_ when the homotopy procedure is finished, now that oo_ is no
longer an input to perfect_foresight_solver_core.
By the way, fix the treatment of the exogenous steady state (it is now set
in a consistent way with the endogenous steady state, if the shock is not
simulated up to 100%).
Also fix the initial guess when doing a second attempt at recomputing the
terminal steady state and failing (in the absence of a permanent shock). It was
supposed to use the initial steady state as an initial guess for that second
attempt (through oo_.steady_state), but since that latter variable was modified
in the loop, it would actually correspond to the same initial guess as in the
first attempt.
2023-10-13 09:16:37 -04:00
Sébastien Villemot
e26f3f5d06
Build system: remove trailing space in parsed Octave version
2023-10-12 16:00:09 -04:00
Sébastien Villemot
a6eb943aae
Remove oo_ as an input argument to perfect_foresight_solver_core
2023-10-12 15:44:53 -04:00
Sébastien Villemot
cd17a2dd6d
CI: reenable running of test_matlab job by default
...
It had been inadvertently disabled in commit
16be379493
.
2023-10-12 15:02:55 -04:00
Sébastien Villemot
20e1540892
Merge branch 'macos-installer' into 'master'
...
Improvements to macOS installer
Closes #1893 , #1790 , and #1894
See merge request Dynare/dynare!2149
2023-10-12 18:37:00 +00:00
Sébastien Villemot
e4a4d2d8e6
Bytecode MEX: get M_ and options_ through input arguments rather than as global variables
2023-10-11 18:50:32 -04:00
Sébastien Villemot
b59dc2cf1a
det_cond_forecast: fix bug with bytecode+block
...
The plan must immediately follow the “extended_path” string in the input
arguments of bytecode. Bug introduced in f84753025d
.
2023-10-11 18:50:32 -04:00
Sébastien Villemot
88146bcc6f
solve_block_decomposed_problem: drop oo_ as an input argument
2023-10-11 18:50:32 -04:00
Sébastien Villemot
a241aa2bd7
Drop (almost empty) initvalf.m wrapper
2023-10-11 18:50:32 -04:00
Sébastien Villemot
f94e7ae9a6
Perfect foresight homotopy: display duration of every iteration
2023-10-11 18:50:32 -04:00
Sébastien Villemot
b4e2a0be48
Manual: fix typo in name of perfect_foresight_with_expectation_errors_solver
2023-10-11 18:50:31 -04:00
Stéphane Adjemian (Ryûk)
2c923c613b
Closes #1835 .
2023-10-11 21:40:59 +02:00
Willi Mutschler
16be379493
CI: add job to create arm64 macOS pkg
2023-10-11 17:47:10 +02:00
Willi Mutschler
987c6f2e00
macOS installer: improve reference manual
2023-10-11 17:34:43 +02:00
Willi Mutschler
a3b05f6d74
macOS installer: improve welcome and conclusion of installer
...
[skip ci]
2023-10-11 17:34:43 +02:00
Willi Mutschler
6d2958625d
macOS installer: force non-admin installs
...
[skip ci]
2023-10-11 17:34:43 +02:00
Willi Mutschler
3d057a6605
macOS installer: fix typo
2023-10-11 17:34:43 +02:00
Willi Mutschler
5213adc0ad
macOS installer: clarify Xcode CLT license in conclusion page
2023-10-11 17:34:43 +02:00
Willi Mutschler
cb0ece6d82
manual: fix typo
...
[skip ci]
2023-10-11 17:34:43 +02:00
Willi Mutschler
d5649a53fa
macOS built script: make shellcheck happy
...
Added double quotes to variables
2023-10-11 17:34:43 +02:00
Willi Mutschler
bb3aa0a206
macOS installer: cosmetical changes
2023-10-11 17:34:43 +02:00
Willi Mutschler
cc9102248c
macOS installer: improve sed command to get GCC version
2023-10-11 17:34:43 +02:00
Willi Mutschler
6e98e9849f
macOS installer: add instructions if /Applications/Dynare is owned by root
2023-10-11 17:34:43 +02:00
Willi Mutschler
cdd632ed07
macOS installer doc: fix capitalization of GCC and path to Clang
2023-10-11 17:34:43 +02:00
Willi Mutschler
01c1df6c93
README: improve macos compilation instructions
2023-10-11 17:34:43 +02:00
Willi Mutschler
81b2fe4c88
manual: change macOS version
2023-10-11 17:34:43 +02:00
Willi Mutschler
158abbd0fd
macOS installer: create both arm64 and x86_64 packages
2023-10-11 17:34:43 +02:00
Willi Mutschler
83910ddae3
macOS installer: don't require admin + ability to change install path
...
id="org.dynare.VERSION_NO_SPACE" fixes #1790 , i.e old Dynare versions will not get uninstalled.
2023-10-11 17:34:43 +02:00
Willi Mutschler
d480bbdcac
manual: workaround if MATLAB does not see Xcode license agreement
...
because MATLAB checks the directory of Xcode and not of the Command Line Tools
2023-10-11 17:34:43 +02:00
Willi Mutschler
de5b37fca7
macOS installer: remove gcc option and local homebrew install
...
Fixes #1893
Closes #1894
Explain how to get Xcode CLT and gcc via homebrew in installer at the end using a conclusion.html file.
Clarify this also in the manual.
2023-10-11 17:34:43 +02:00
Sébastien Villemot
9d95dadb13
macOS package: another workaround for XCode 15
2023-10-11 11:09:07 -04:00
Sébastien Villemot
c1a46fed91
CI: another workaround for macOS with XCode 15
2023-10-11 11:01:16 -04:00
Stéphane Adjemian (Argos)
06926e0153
Bug fix (missing semicolon).
2023-10-11 15:47:57 +02:00
Sébastien Villemot
cfb8a1d15a
Merge branch 'linker-issue-macos' of git.dynare.org:wmutschl/dynare
...
Ref. !2194
2023-10-11 09:35:05 -04:00
Sébastien Villemot
cf9ea686ef
Merge branch 'dynare-newrat'
...
Ref. !2193
2023-10-11 09:33:33 -04:00
Johannes Pfeifer
a00eb5e1de
stoch_simul.m: add nomodelsummary option
2023-10-11 09:31:40 -04:00
Johannes Pfeifer
cbf57b1af6
set_state_space.m: remove unused options_ input argument
2023-10-11 09:30:45 -04:00
Johannes Pfeifer
328f6f3229
check.m and model_diagnostics.m: use consistent global naming
2023-10-11 09:26:05 -04:00