Commit Graph

35 Commits (356fe7b248c808da195f037a52c0e9a66218822f)

Author SHA1 Message Date
sebastien 98de32dfcb build_matlab: fix for 64-bit Mac (thanks to Jacob Smith for reporting)
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3371 ac1d8469-bf42-47a9-8791-bf33cf982152
2010-01-22 09:14:09 +00:00
sebastien cda4f57a7c build_matlab.m: add support for 64-bit Mac Intel
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3368 ac1d8469-bf42-47a9-8791-bf33cf982152
2010-01-19 11:21:58 +00:00
sebastien e7adf28fbd A few more copyright fixes
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3316 ac1d8469-bf42-47a9-8791-bf33cf982152
2010-01-08 09:54:43 +00:00
sebastien 1d64cb1ef9 build_matlab.m: activate POSIX threads on Linux and Mac OS
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3304 ac1d8469-bf42-47a9-8791-bf33cf982152
2010-01-06 09:40:45 +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 f3549b4c64 Beautified MEX source code
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3251 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-16 17:18:38 +00:00
sebastien cdbbc97fc7 build_matlab.m: fixes for MSVC (object files have extension .obj)
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3130 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-11-06 11:32:08 +00:00
sebastien 93b4e4c74d build_matlab.m: added building of dynare_simul_ + factorized compilation of libdynare++ (fixes trac issue #50)
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3129 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-11-06 11:14:19 +00:00
sebastien 8bfc97626f build_matlab.m: reverted back to r3123 version
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3127 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-11-05 10:04:00 +00:00
george 91df747554 Minor updates
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3124 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-11-04 17:20:35 +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 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 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 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
ferhat 5a3ce36245 add isempty to regexp to get a boolean answer for a 32 bits system
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2893 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-09-03 15:49:07 +00:00
sebastien e426a0214e Added new directory "mex/2009a-64bit" for 64-bit platforms using MATLAB 7.8 (R2009a) (MEX binary compatibility has been broken in R2009a for 64-bit platforms)
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2891 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-09-03 13:09:34 +00:00
ferhat 9f45200924 simulate.dll has been replaced by bytecode.dll
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2881 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-09-02 14:40:54 +00:00
michel 25aa38f9c4 4.1: fixed problem with mwSignedIndex. Despite the fact that mwSignedIndex appeared
in Matlab version 7.3, Matlab Lapack library only uses it from version 7.8
     (needs to be merged in 4.0)


git-svn-id: https://www.dynare.org/svn/dynare/trunk@2565 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-07 21:13:05 +00:00
stepan fe7c01675a Changes related to the multithreaded mex files (part I).
* Removed from build_matlab.m the compilation of mex files with openmp.
* Added build_matlab_multithread.m (where openmp is used if availabe).
* Cosmetic changes.


git-svn-id: https://www.dynare.org/svn/dynare/trunk@2549 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-03 11:01:55 +00:00
sebastien 535274d3ad trunk:
- build_matlab.m: mwSignedIndex actually appeared in Matlab 7.3 (like mwSize and mwIndex)
- mjdgges.c: use a typedef instead of a #define for mwSignedIndex


git-svn-id: https://www.dynare.org/svn/dynare/trunk@2540 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-03-31 08:49:36 +00:00
michel adc5d60e23 v4.1: fixed build_matlab.m and mjdgges.c for Matlab (7.8) r2009a
added new macro NWSIGNEDINDEX_NOT_DEFINED (necessary in 64bit environments)


git-svn-id: https://www.dynare.org/svn/dynare/trunk@2539 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-03-30 20:13:22 +00:00
stepan 860dca071a v4.1: Removed debug flags. Added optimization flags. (=> Increase the
speed of A_times_B_kronecker_C by a factor 2).


git-svn-id: https://www.dynare.org/svn/dynare/trunk@2473 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-03-15 22:30:00 +00:00
stepan 34f1a39428 v4.1: Parallelization of A_times_B_kronecker_C.cc using OpenMp if
available. Due  to incompabilities between the optimized MKL (blas)
library shipped with matlab and the free OpenMp library (libgomp), the dgemm
routine is replaced by nested loops.


git-svn-id: https://www.dynare.org/svn/dynare/trunk@2471 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-03-14 22:35:44 +00:00
sebastien 70b870ef74 trunk mex/sources: fixed build files for the removing of preprocessor/include/
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2461 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-03-13 14:58:25 +00:00
stepan c8a86252c7 v4.1: Added the possibility of multithreading for some mex files
(OpenMp is used).


git-svn-id: https://www.dynare.org/svn/dynare/trunk@2453 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-03-11 14:57:34 +00:00
stepan 9016f3bb4a v4.1:: Removed path to BLAS for the compilation sparse_hessian_times_B_kronecker_C.
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2436 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-02-25 11:37:34 +00:00
sebastien 9149a9ca88 trunk mex/sources/build_matlab.m:
* activate -largeArrayDims option for PCWIN64 platform
* some code factorization


git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2287 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-12-04 15:45:55 +00:00
michel 76d79b295d adding instructions for PCWIN64
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2286 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-12-03 20:58:34 +00:00
sebastien 1e251c4ba5 trunk build_matlab.m: fixed compilation issue
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2189 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-10-22 15:42:02 +00:00
sebastien 03ac5d9032 trunk: changes to MEX build system
* build_matlab.m no longer exits after compilation
* added a new build_matlab_debian.m script for Debian packaging
* fixed copyright notice of build scripts
* cosmetic changes


git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2085 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-09-19 10:45:07 +00:00
adjemian af34f4d529 Fixed a compilation problem with mex (version 2008a) which does not seem to understand wildcard character *.
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2082 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-09-18 12:56:31 +00:00
sebastien ddaaf9e1e3 v4 matlab:
* added a function matlab_ver_less_than() for testing Matlab version
* updated dynare_config.m and build_matlab.m accordingly
* removed tests to check whether we are older than Matlab 6.5 (R13), since we don't support those old versions anymore
* removed a few unnecessary uses of eval()


git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1936 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-07-07 17:08:55 +00:00
sebastien d86885ea75 v4 mex: fixed error in build_matlab.m
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1905 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-06-28 11:00:13 +00:00
sebastien d3e739d9be v4 mex: fixed compilation for Octave/Windows/MSVC2008
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1904 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-06-27 23:22:52 +00:00
sebastien d64d9fe734 v4 mex:
* renamed build.m to build_matlab.m, and made various enhancements
* this script now makes Matlab quit after compilation (necessary for autobuilding)


git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1901 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-06-24 18:53:26 +00:00