Commit Graph

11082 Commits (18faa9733c8131e93634cb746ad6f592f7551100)

Author SHA1 Message Date
Sébastien Villemot 18faa9733c
Further updates related to minimal MATLAB version bump 2018-11-13 18:29:20 +01:00
Sébastien Villemot 7a75872f72
Modernization: use tilde (~) syntax for ignored output arguments 2018-11-13 18:02:09 +01:00
Sébastien Villemot ce49cd95df
Add missing iscolumn and ismatrix for MATLAB < R2010b
Also fix a bug in isrow (it was not checking the rank of the array).
2018-11-13 16:59:27 +01:00
Sébastien Villemot 736d43c4e6
Bump minimal MATLAB version requirement to 7.9 (R2009b) 2018-11-13 15:59:16 +01:00
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) de0ed40f14
Updated preprocessor submodule. 2018-10-24 18:27:46 +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) 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
Houtan Bastani 2d674e0c55 update year in license file 2018-10-05 23:07:28 +02:00
Stéphane Adjemian (Charybdis) 084b7ac537
Changed optimization algorithm in integration tests.
fs2000_uncorr_ME_missing was failing on some servers due to a numerical
precision issue. It appears that the problem drops off if the smoothed
variables are computed on another point (given by another optimization
algorithm).
2018-10-04 12:02:31 +02:00
Stéphane Adjemian (Charybdis) 6a847931dc
Dynare computes the excess kurtosis.
See https://forum.dynare.org/t/simulated-kurtosis-reported-incorrectly/12534
2018-10-03 23:22:33 +02:00
Stéphane Adjemian (Charybdis) 03bd2b73e6
Fixed integration test for the automatic tuning of mh_jscale. 2018-10-03 18:21:16 +02:00
Sébastien Villemot ffb36e5713 Remove obsolete kludges for MinGW 2018-10-02 17:10:36 +02:00
Sébastien Villemot 8f6b89ab56 Gitlab CI: include test results at 2nd level of the filesystem hierarchy 2018-10-02 15:51:55 +02:00
Sébastien Villemot 24cb1c0719 Provisions for MATLAB R2018b (9.5) 2018-10-01 18:26:03 +02:00
Sébastien Villemot c6a17abc72 Testsuite: suppress MATLAB splash screen when generating .m.tls file 2018-10-01 16:40:26 +02:00
Sébastien Villemot 59642c3312 C output of preprocessor now splits generated fcts into several smaller fcts
Adapt the k-order DLL as a consequence.
2018-10-01 16:13:12 +02:00