Commit Graph

11894 Commits (beb7d42d748f9f0f5216ed7aca93dceb4f73df2c)

Author SHA1 Message Date
Sébastien Villemot abc8431698
Remove instructions about builing under Windows Subsystem for Linux
See the discussion in http://eris.dynare.org/pipermail/dev/2018-November/005062.html
2018-11-12 15:36:31 +01:00
Sébastien Villemot c6f5c804d9
Gensylv MEX also needs MatIO (because Dynare++ code does) 2018-11-12 12:56:01 +01:00
Houtan Bastani 2c65f92c6c
preprocessor: submodule update. closes #1210 2018-11-09 15:13:08 +01:00
Sébastien Villemot 91a455f2c7
Update preprocessor submodule 2018-11-08 18:12:20 +01:00
Sébastien Villemot 331a27398a
Fix another memory leak in k-order DLL
Re Dynare/dynare#1490.
2018-11-08 17:30:48 +01:00
Sébastien Villemot 50a09a687e
C++11 modernization
Incidentally, fix a memory leak related to DynamicModelAC instantiation, using
a std::unique_ptr (see Dynare/dynare#1490).
2018-11-08 17:24:19 +01:00
Sébastien Villemot 7fd5f4bd6d
Fix for MATLAB location in README 2018-11-08 13:00:43 +01:00
Sébastien Villemot 9dfbb787b3
Further fix on slicot building under Windows 2018-11-08 12:56:17 +01:00
Sébastien Villemot b4dd46e8ea
Misc fixes to README 2018-11-08 12:50:59 +01:00
Houtan Bastani 2dcaff4f16
preprocessor: submodule update 2018-11-07 15:57:22 +01:00
Sébastien Villemot afc9f94854
On Windows, statically link the pthread library
Otherwise the DLL is dynamically linked against libwinpthread. This regression
was introduced by commit 671fe4bcd.
2018-11-07 14:38:04 +01:00
Sébastien Villemot f630bc31be
Add information about package upgrade under MSYS2 2018-11-06 18:03:51 +01:00
Sébastien Villemot b6f11063ca
Remove unfinished instructions for Fedora 2018-11-06 17:22:03 +01:00
Sébastien Villemot b9da355b1a
Update build instructions for Debian/Ubuntu 2018-11-06 17:08:49 +01:00
Sébastien Villemot abe8bee683
Bump required version for Bison 2018-11-06 17:08:49 +01:00
Sébastien Villemot 9a7ded24e8
Compilation instructions under Windows using MSYS2 2018-11-06 17:08:49 +01:00
Houtan Bastani e37549461b
doc: update mexext, matlabroot options 2018-11-06 16:41:35 +01:00
Sébastien Villemot 671fe4bcd4
Build system improvements on Windows (MinGW / MSYS2)
- Use the -static flag when linking Dynare++, so that shipping libquadmath and
  libgcc DLL in the installer is no longer needed.

- Use AM_CXXFLAGS and AM_LDFLAGS variables for changing flags, since CXXFLAGS
  and LDFLAGS are user variables. Also, this avoids passing these flags down to
  configure scripts in subdirectories.

- Check for the SZIP library in the configure test for the MatIO, this is
  needed under MSYS2.

- Statically link MatIO and GSL in MEX files for MATLAB, this is needed under
  MSYS2.
2018-11-06 12:17:56 +01:00
Sébastien Villemot 47596aa3e0
Update preprocessor submodule 2018-11-05 12:32:02 +01:00
Sébastien Villemot 6684cbd9a6
Update preprocessor submodule 2018-11-05 11:30:05 +01:00
Sébastien Villemot 40362789de
Revert "More fixes related to spaces in paths"
This commit was breaking the detection of slicot. My understanding is that
autoconf is not able to deal with spaces in paths, hence Windows users have not
choice but to use the 8.3 notation for MATLAB location.

This reverts commit 4ab79c55f0.
2018-10-31 18:00:52 +01:00
Sébastien Villemot 4ab79c55f0
More fixes related to spaces in paths 2018-10-31 16:19:47 +01:00
Sébastien Villemot 625d824bbe
MEX extension detection now robust to spaces in MATLAB path 2018-10-31 15:57:34 +01:00
Sébastien Villemot 096936be9c
The preprocessor now compiles the MEX when use_dll is specified
Update documentation accordingly (except on macOS where the solution has not
yet been implemented).

Also include MinGW in the Windows installer.
2018-10-29 14:41:34 +01:00
Sébastien Villemot 7d7409bee0
Windows installer: do not forget to uninstall the VERSION file 2018-10-29 14:40:01 +01:00
Sébastien Villemot bdc9794d0e
Use extends keyword (introduced in Gitlab 11.3) to simplify .gitlab-ci.yml 2018-10-29 11:28:53 +01:00
Sébastien Villemot cc4183d3a5
Fix for recent MATLABs under Windows 2018-10-26 15:02:26 +02:00
Sébastien Villemot 8cf2c9300e
Update preprocessor submodule 2018-10-26 11:13:22 +02:00
Sébastien Villemot 8cb51e26e6
options_.instruments is now a cell array
This fixes crashes under Octave (while MATLAB seems to accept array-indexing
with cell arrays).
2018-10-25 15:01:53 +02:00
Stéphane Adjemia (Scylla) 460dba40d7
Added integration test (estimated_params_init). 2018-10-25 10:33:31 +02:00
Stéphane Adjemia (Scylla) caac1502c3
Updated preprocessor submodule (fixes issue #1610). 2018-10-25 10:29:10 +02:00
Stéphane Adjemia (Scylla) 524085927d
Removed useless tag (data_type). 2018-10-24 18:45:38 +02:00
Stéphane Adjemia (Scylla) dcea7514d9
Merge branch 'master' into ecb-master 2018-10-24 18:31:31 +02:00
Stéphane Adjemia (Scylla) de0ed40f14
Updated preprocessor submodule. 2018-10-24 18:27:46 +02:00
Houtan Bastani 8a2c38cf6c olsgibbs: save fitted values in dataset; allow use of dictionary as in dyn_ols 2018-10-24 17:17:01 +02:00
Sébastien Villemot d5731ce18e
Submodules migrated to git.dynare.org
(cherry picked from commit 3263fdc9bc)
2018-10-24 15:41:43 +02:00
Stéphane Adjemia (Scylla) 2c890f924a
Removed useless tags. 2018-10-24 14:28:32 +02:00
Stéphane Adjemia (Scylla) 510bc2e299
Removed unused variable. 2018-10-24 12:08:00 +02:00
Stéphane Adjemia (Scylla) 1c1a3ea0a4
Removed tests on targets.
A target does not need to be a random walk. Also added a new integration
test (where the target is a constant, 0).
2018-10-24 12:06:14 +02:00
Sébastien Villemot c11cdff2c2 Update preprocessor submodule 2018-10-18 10:58:45 +02:00
Sébastien Villemot 3263fdc9bc Submodules migrated to git.dynare.org 2018-10-16 17:08:59 +02:00
Stéphane Adjemia (Scylla) d96740c2ef
Added integration tests (var and pac expectations). 2018-10-14 17:01:02 +02:00
Stéphane Adjemia (Scylla) a53c63d6d5
Added routines to print PAC_EXPECTATION and VAR_EXPECTATION in files.
Each new routine pac.print() and var_expectation.print(), creates two files
that can be included (using the macro language) in a mod file. The first
file, {pac,var}expectationmodename-parameters.inc saved under
{M_.fname}/model/{pac,var}expectationmodel, contains the declaration of the
parameters created for the expanded (var or pac) expectation model, with
calibrated values. The second file, {pac,var}expectationmodename-parameters.inc
saved in the same subfolder, contains the expanded version of the (pac or var)
expectation term as a linear combination of the variables in the companion
representation of the expectatino model.
2018-10-14 16:57:51 +02:00
Stéphane Adjemia (Scylla) 67e1126bb9
Updated preprocessor submodule.
Fixes var_expectation with trend_component model. The companion representation of the trend_component
model was not correctly expanded, the diff were not rewritten in levels.
2018-10-14 16:45:49 +02:00
Stéphane Adjemia (Scylla) 9358a1544b
Updated integration test (trends->targets). 2018-10-10 16:15:31 +02:00
Stéphane Adjemia (Scylla) d4bfd6c9f0
Another attempt to fix numerical accuracy issues in integration tests. 2018-10-06 21:44:58 +02:00
Stéphane Adjemia (Scylla) e5317b17de
Cosmetic change. 2018-10-06 17:52:58 +02:00
Stéphane Adjemia (Scylla) 108854a484
Bug fix. verbosity option was not honoured in simplex algorithm (8).
Thanks to Reuben for reporting.
2018-10-06 17:50:37 +02:00
Stéphane Adjemia (Scylla) 9a84129707 Added integration for the bayesian estimation of a single equation.
Uses a Gibbs sampling algorithm.
2018-10-06 16:59:00 +02:00
Stéphane Adjemia (Scylla) dfafe86246 Save teh posterior mean of the slope parameters as a column vector. 2018-10-06 16:55:42 +02:00