Commit Graph

15320 Commits (62f608eb805822dbc166d579a54dda9ec2e2288a)

Author SHA1 Message Date
Sébastien Villemot 62f608eb80
Windows package: bump dependencies
For the time being, the HDF5 package is held back, because of this issue which
affects version 1.14.0:
https://github.com/msys2/MINGW-packages/issues/15449#issuecomment-1470098865
2023-03-15 17:05:53 +01:00
Sébastien Villemot 9c5604c30d
Windows package: ensure that the embedded MinGW compiler comes with all its dependencies 2023-03-15 17:04:32 +01:00
Sébastien Villemot 12008bc6eb
Windows package: statically link libssp inside MEX files
Since 3244340e7a, the MEX files are built with
-fstack-protector. But this added a dynamic link to libssp-0.dll on some MEX
files, making them unusable.
2023-03-15 17:02:49 +01:00
Sébastien Villemot dd93aa3cd8
Windows package: add comment on -fstack-protector-{strong,all} with Debian cross-compiler 2023-03-14 16:53:51 +01:00
Sébastien Villemot 9527624b8c
Merge branch 'slice_doc' of git.dynare.org:JohannesPfeifer/dynare
Ref. !2126
2023-03-14 15:36:28 +01:00
Sébastien Villemot cf0c285870
macOS package: replace another use of “nproc” by “sysctl -n hw.ncpu” 2023-03-14 15:33:31 +01:00
Johannes Pfeifer 82bd6829a6 manual: add guidance on number of draws in slice sampler 2023-03-13 15:34:03 -04:00
Sébastien Villemot ff318d1163
Merge branch 'model_diagnostics' of git.dynare.org:JohannesPfeifer/dynare
Ref. !2125
2023-03-13 17:59:43 +01:00
Sébastien Villemot 4c1af7890b
README.md: for macOS, recommend sysctl -n hw.ncpu instead of sysctl -n hw.physicalcpu
The number of logical cores may be greater than the number of physical cores,
for example on Intel CPUs with hyperthreading. Using all logical cores makes
more sense in this context.
2023-03-13 17:58:14 +01:00
Sébastien Villemot 7159a293d6
CI: adapt for new macOS runner
- enforce x86-64 architecture
- use “sysctl -n hw.ncpu” instead of “nproc” (which has not been installed in
  the new runner)
- use MATLAB R2022b for building with the latest ABI
2023-03-13 17:57:20 +01:00
Johannes Pfeifer 39ae080997 model_diagnostics.m: fix logic of Ramsey instrument checks
The mapping from economic to steady state instruments is not one-to-one. Trigger warnings instead of errors.
2023-03-13 10:39:06 -04:00
Stéphane Adjemian (Ryûk) 7583790851
Improve error message. 2023-03-09 11:25:04 +01:00
Stéphane Adjemian (Ryûk) a3b249c375
Update dseries submodule (fill_ method). 2023-03-08 18:16:11 +01:00
Stéphane Adjemian (Ryûk) cc0d22cf4c
Fix integration tests.
print_equations() has been replaced by search().
2023-03-06 17:17:31 +01:00
Stéphane Adjemian (Ryûk) cae7feeefb
Fix latex. 2023-03-05 18:10:33 +01:00
Stéphane Adjemian (Ryûk) a9ee96d441
Document new search matlab command. 2023-03-05 18:08:41 +01:00
Stéphane Adjemian (Ryûk) ae085b9add
Remove option --info from internals CLI.
The code will be removed later when all texinfo doc headers are rewritten.
2023-03-05 14:46:59 +01:00
Stéphane Adjemian (Ryûk) 0d39cab9e1
Add option to print parameter values. 2023-03-04 22:31:54 +01:00
Stéphane Adjemian (Ryûk) c006645c7f
Remove output argument. 2023-03-04 20:10:50 +01:00
Stéphane Adjemian (Ryûk) 2ab19c1aa9
Do not compute variables if they are not returned. 2023-03-04 20:10:06 +01:00
Stéphane Adjemian (Ryûk) 656a7bf867
Cosmetic changes. 2023-03-04 18:03:59 +01:00
Stéphane Adjemian (Ryûk) f6a76066f9
Remove warning. 2023-03-04 17:52:50 +01:00
Stéphane Adjemian (Ryûk) 0b9141fdca
Remove and rename routine (print_equations).
Also:

 - rename first input argument,
 - remove second argument (always expand expectations).
2023-03-04 17:49:33 +01:00
Stéphane Adjemian (Ryûk) a0d53277c1
Fix condition (variable name can have less than characters). 2023-03-04 17:13:45 +01:00
Sébastien Villemot 66abd09b87
Preprocessor: fix bytecode for block+mfs>0 in static model 2023-03-03 17:49:59 +01:00
Sébastien Villemot b669d5c0dc
Emacs mode: also autoload the mode for files with .dyn extension
[skip ci]
2023-03-03 16:00:16 +01:00
Sébastien Villemot 9598afcc46
Preprocessor update
– Performance improvement of chain rule derivation (for block decomposition)
– Bugfix in derivation of external functions (a priori without consequences)
– Misc improvements and simplifications
2023-03-02 18:27:30 +01:00
Sébastien Villemot f02d66ce7c
moment_function: remove unused function 2023-03-01 16:47:42 +01:00
Sébastien Villemot a2591c474e
selif: remove unused function 2023-03-01 16:44:05 +01:00
Sébastien Villemot c51223466c
README.md: bump to latest version of x13as (1.1-b59)
[skip ci]
2023-02-28 17:45:52 +01:00
Sébastien Villemot 7fcbef5293
README.md: mention M2 and M2 PRO chips in macOS section
[skip ci]
2023-02-28 17:05:38 +01:00
Sébastien Villemot c7d2ea0a62
Bytecode: remove meaningless initializations 2023-02-24 15:29:52 -05:00
Sébastien Villemot 325e6487d4
Bytecode: move computation routines out of the Evaluate class 2023-02-24 15:18:43 -05:00
Sébastien Villemot 17df930eb9
Bytecode: remove unused function 2023-02-24 15:01:35 -05:00
Sébastien Villemot 0e1678c13a
Bytecode: no longer have instruction pointer as a member variable of Evaluate class 2023-02-24 14:30:15 -05:00
Sébastien Villemot 13b3208cdb
Bytecode: move all logic for navigating through the .cod file into the Evaluate class 2023-02-23 17:37:08 -05:00
Sébastien Villemot aaab993ccf
Bytecode: merge CodeLoad class into Evaluate 2023-02-23 11:21:22 -05:00
Sébastien Villemot 895ce96c61
Bytecode: fix memory management for FBEGINBLOCK and FCALL tags
FCALL was not properly deallocated, hence leading to a memory leak.
Also simplify the handling of FBEGINBLOCK through a std::unique_ptr.
2023-02-21 16:58:45 -05:00
Sébastien Villemot 1ad6b29936
Bytecode: misc minor simplifications 2023-02-21 16:31:08 -05:00
Sébastien Villemot 24b2976ac2
Bytecode: move CodeLoad class out of the preprocessor 2023-02-21 16:02:21 -05:00
Sébastien Villemot 845eac99d3
bicgstab_: remove unused function 2023-02-17 22:01:32 -05:00
Sébastien Villemot f5523c7bab
bksupk: remove unused function 2023-02-17 22:01:32 -05:00
Sébastien Villemot 62805b7183
perfect_foresight_simulation + bksup0: remove unused functions 2023-02-17 22:01:32 -05:00
Sébastien Villemot f938014e84
bksup1: turn into a local function of sim1_lbj 2023-02-17 22:01:32 -05:00
Sébastien Villemot 24f689b2de
restricted_steadystate: turn into local function of evaluate_steady_state_file 2023-02-17 22:01:28 -05:00
Sébastien Villemot 6bddbca01d
bytecode_steadystate: turn into a local function of evaluate_steady_state 2023-02-17 22:01:25 -05:00
Sébastien Villemot 05ba2970be
Bytecode: diminish the number of data members in Evaluate class 2023-02-17 13:46:41 -05:00
Sébastien Villemot aee39d54ef
Manual: misc cosmetic fixes
[skip ci]
2023-02-17 11:19:17 -05:00
Sébastien Villemot 2a25119bb3
Manual: the preprocessor no longer generates a <modfile>.m, it’s been replaced by the driver file 2023-02-17 11:11:08 -05:00
Sébastien Villemot fc453a6e2f
Manual: remove spurious dashes
And other cosmetic fixes.
2023-02-16 17:13:38 -05:00