Commit Graph

244 Commits (cf0c2858706d8201183527c0fab2a9b8bd10086d)

Author SHA1 Message Date
Sébastien Villemot 1a27ed9f38 OpenMP support:
- removed build_matlab_multithread.m and isopenmp MEX file
- introduced a new option "--enable-openmp" in configure script
- when openmp support is compiled in, the default is still one thread; the user can set the number of threads with "set_dynare_threads(n)"
- closes #68
2010-09-27 15:56:19 +02:00
Sébastien Villemot da1c031195 Build system: add new header for bytecode (see previous commit) 2010-09-24 12:59:46 +02:00
Houtan Bastani 1b05a5f276 SWZ: remove instances of mexErrMsgTxt 2010-09-23 10:43:58 +02:00
Houtan Bastani 18c9479176 SWZ: include in build system 2010-09-01 11:15:42 +02:00
Sébastien Villemot ad127052d8 Build system: display a warning when compiling for the Cygwin target 2010-08-24 16:24:03 +02:00
Sébastien Villemot 0893e963cb Build system: change the way we detect the GSL, to make it work when cross-compiling 2010-08-24 16:24:03 +02:00
Sébastien Villemot acf5451c1f Build system: rename 'loglikelihood' to 'logposterior' 2010-07-09 12:48:08 +02:00
George Perendia 50c1e0a8ec C++ Estimation DLL: update of core files and logposterior.cc removed, keeping loglikelihood.cc 2010-07-08 09:56:19 +01:00
Houtan Bastani ad28c2054d Add boost/math and boost/random to configure script for mex build system 2010-07-01 14:15:08 +02:00
Sébastien Villemot 04905660b8 Added new loglikelihood DLL (does not yet contain prior computation, only the likelihood) 2010-06-11 19:18:16 +02:00
Sébastien Villemot e347f2ae7a Build system: adding -Wall when building MEX files 2010-06-11 18:40:58 +02:00
Sébastien Villemot 9318856a4e SWZ: finalize build system for MEX by adding a test for GSL 2010-06-01 15:33:45 +02:00
Houtan Bastani 359b90d4fc use __APPLE__ as opposed to passing a MACOSX flag via make 2010-06-01 14:08:00 +02:00
Houtan Bastani 28602be1e8 include in build system 2010-06-01 11:18:55 +02:00
Sébastien Villemot 9e9eeb533b Build system: fixed minor bug in configure script 2010-02-19 11:51:09 +01:00
Sébastien Villemot ef521882cc Fixed 4.2 version numbers 2010-02-02 18:23:31 +01:00
Sébastien Villemot 00c73845e0 Build system: further fixes for possibly empty directories (needed because of Git migration) 2010-02-01 10:50:29 +01:00
Sébastien Villemot d6aa4f1329 Build system: create empty directories (needed because of Git migration) 2010-01-29 15:13:34 +01:00
sebastien b52ab3efcf Build system fix
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3331 ac1d8469-bf42-47a9-8791-bf33cf982152
2010-01-10 10:59:02 +00:00
sebastien 34012243d5 Fixes for Cygwin 1.7 (which has gcc/g++ version 4 by default)
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3320 ac1d8469-bf42-47a9-8791-bf33cf982152
2010-01-08 12:15:16 +00:00
sebastien 65fc856710 k_order_perturbation: renamed source files with *.cc and *.hh extensions, for compliance with Dynare coding standards + adapted the build system accordingly
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3260 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-17 11:00:50 +00:00
sebastien aa23ed73e9 preprocessor + bytecode DLL: various enhancements to block and bytecode options (changes by Ferhat)
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3244 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-16 13:21:31 +00:00
sebastien 95547b3d09 Build system: for MATLAB < 7.1, require that the user provides MEXEXT on the configure command line
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3190 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-02 13:42:25 +00:00
sebastien 03600d9131 k_order_perturbation DLL:
* no longer use mexPrintf()/mexErrMsgTxt() outside mexFunction(): use exceptions to report errors, in order to be able to integrate the code in a standalone executable
* fixed a few memory leaks (other still remain)
* fixed a buffer overflow issue in the filename of the dynamic MEX (using C++ string object)
* various cosmetic cleanups


git-svn-id: https://www.dynare.org/svn/dynare/trunk@3177 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-11-30 16:31:27 +00:00
sebastien 30d2f00cc2 Reorganized the directory hierarchy for storing MEX files for MATLAB:
* mex/matlab/ is now the default location
* removed mex/2007a, mex/2007b and mex/2009a-64bit
* on Windows platforms, use version specific subdirs of mex/matlab if present (called win32-6.5.1-7.4, win32-7.4-7.9, win64-7.2-7.4, win64-7.5-7.7, win64-7.8-7.9)


git-svn-id: https://www.dynare.org/svn/dynare/trunk@3123 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-11-04 10:56:37 +00:00
sebastien ba6c1da0ee Build system: minor fixes
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3119 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-11-03 12:48:26 +00:00
sebastien e5f31e4ed3 Build system:
* added dynare_simul_ DLL
* factorized in a library object the Dynare++ code shared between gensylv, k_order_perturbation and dynare_simul_


git-svn-id: https://www.dynare.org/svn/dynare/trunk@3114 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-11-02 12:04:07 +00:00
sebastien 11230eec3f Build system: added k_order_perturbation to the build_matlab script
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3106 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-10-30 17:29:50 +00:00
sebastien 9ab04f3323 Renamed kordepert to k_order_perturbation
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3070 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-10-23 09:07:47 +00:00
sebastien 343e0b3c7d Build system: refactored the build system for MEX files, using two sub-packages with their own configure scripts
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3019 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-10-02 17:22:19 +00:00
sebastien 17ab13de01 Kordepert: minor fixes for MinGW
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3013 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-10-02 11:51:10 +00:00
sebastien f9ccc49f14 Build system: use pdfetex instead of pdftex for sylvester.tex + other minor changes
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3010 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-10-02 10:29:54 +00:00
sebastien 1443f112bb * Added back korderpert DLL to build system
* Fixes to Dynare++ for special LAPACK/BLAS integers in MATLAB
* Fixes to korderpert DLL for cross-platform compatibility


git-svn-id: https://www.dynare.org/svn/dynare/trunk@3009 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-10-02 10:23:49 +00:00
sebastien dde3f3795f Build system:
* Simplified the way we deal with various Octave/MATLAB contexts from MEX files:
  - only three defines: MATLAB_MEX_FILE, MATLAB_VERSION (hex number) and OCTAVE_MEX_FILE
  - one header for MEX files: dynmex.h
  - headers for BLAS and LAPACK: dynblas.h and dynlapack.h (used from Dynare++ and the MEX files)
* Merged the two sources trees of sylvester library


git-svn-id: https://www.dynare.org/svn/dynare/trunk@3006 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-10-01 14:17:02 +00:00
sebastien 86f866a39e Build system: update for MATLAB MEX files under MacOS X
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2978 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-09-24 16:23:29 +00:00
sebastien 6a9485b4f0 Build system:
* disable building of k-order pert DLL for the moment
* rollback on the -fPIC flags for Dynare++: we can't use the same binary objects for standalone dynare++ and k-order DLL


git-svn-id: https://www.dynare.org/svn/dynare/trunk@2974 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-09-24 12:58:53 +00:00
sebastien f7a390264c k-order DLL: added files omitted in commit r2959
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2961 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-09-23 13:26:04 +00:00
sebastien 02640c3e43 k-order perturbation DLL:
* removed existing build system
* reorganized source: separated test files from the rest, removed obsolete test files
* incorporated the DLL and the standalone test executable to the new build system
* minor fixes to ensure compilation


git-svn-id: https://www.dynare.org/svn/dynare/trunk@2959 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-09-23 13:14:05 +00:00
sebastien 2ac1194d39 Build system: change the flag used for OpenMP compilation
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2950 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-09-18 10:34:04 +00:00
sebastien 612cf9fa9b Build system:
* always set -DNO_OPENMP
* fix for MEX/Octave with MinGW


git-svn-id: https://www.dynare.org/svn/dynare/trunk@2945 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-09-17 16:35:33 +00:00
sebastien a7e601989a Build system: added support for building MATLAB MEX files from Cygwin
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2938 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-09-17 12:05:01 +00:00
sebastien 31aff0e756 Various fixes to build system
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2937 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-09-17 08:14:44 +00:00
sebastien 203a5258b5 Build system: added support for MEX files under MATLAB (Linux-only at this time, need to specify MATLAB version manually)
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2935 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-09-16 16:52:22 +00:00
sebastien 83c3023274 Added build system for Octave MEX files
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2932 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-09-16 13:49:47 +00:00