Commit Graph

1775 Commits (b92b48c58ed16ff47bcc78d9031723d0f81c2fc5)

Author SHA1 Message Date
ratto c68ea2110a - Parallel info passed outside options_ structure;
- optional use of remote Mh folder;

git-svn-id: https://www.dynare.org/svn/dynare/trunk@2692 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-05-27 06:50:07 +00:00
ratto 7c07a0dab5 Included check for existence of structure of Global variables
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2691 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-05-27 06:48:07 +00:00
ratto 490fc6a900 Single structure in output
(OutputFileName included in the structure).

git-svn-id: https://www.dynare.org/svn/dynare/trunk@2690 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-05-27 06:46:47 +00:00
sebastien 0acc298758 trunk preprocessor BlockTriangular.cc: fixed misleading error message
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2689 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-05-25 09:46:40 +00:00
george 2ff545e6c7 update makefiles
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2688 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-05-23 21:43:39 +00:00
george 7d0c11a05a update makefiles
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2687 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-05-23 21:42:39 +00:00
george b69eebfa5e Adding kalman filter files
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2686 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-05-23 21:36:49 +00:00
michel 02c7b204d8 4.1: allow smoother computation when mode_compute=0
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2685 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-05-23 15:49:00 +00:00
michel 10f712268e v4.1: header + reindent
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2684 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-05-20 16:28:46 +00:00
sebastien d0c00a740b trunk manual: fixed synopsis for prior_analysis, posterior_analysis, unit_root_vars
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2682 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-05-19 16:07:29 +00:00
sebastien 6f5d4b3c95 trunk: fixed several copyright headers
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2681 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-05-19 08:57:07 +00:00
michel fb494361e2 4.1: corrected typo in file include name
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2680 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-05-18 05:02:20 +00:00
michel 12cf9afce4 4.1: header, indentation, Unix format
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2679 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-05-16 07:37:30 +00:00
ferhat 1a058fea4f - Bugs correction in the new block decomposition (incorporating the feedback variables)
- First draft of DynamicModel.cc files with feedback variables. 
TODO : 
- reduction of the Jacobian matrix 
- symbolic normalization of equations
- application to the binary code evaluation (simulate.dll).

git-svn-id: https://www.dynare.org/svn/dynare/trunk@2678 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-05-15 22:41:51 +00:00
ratto 2d846f0da7 1) Fixed problems in file exchange when multiple computers are used at the same time;
2) contains traps for unix, with commented instructions to be `translated' appropriately for the unix environment.

git-svn-id: https://www.dynare.org/svn/dynare/trunk@2677 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-05-15 16:38:18 +00:00
ratto 7243a36938 Parallelized version with main and core routine.
1) Contains a trap such that for unix systems no parallel computation is done, for the moment.
2) _core routine uses and stores independent seeds for each chain;
3) Seeds for each chain are stored in record.
4) when no parallel option is chosen, usual serial functionality is kept.

git-svn-id: https://www.dynare.org/svn/dynare/trunk@2676 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-05-15 16:36:51 +00:00
ratto c8329915b2 Seeds are always initialized and stored for each chain independently
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2675 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-05-15 16:33:20 +00:00
ferhat 7384613258 Correction of few bugs in DynamicModel and BlockTriangular
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2674 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-05-13 22:16:51 +00:00
michel 58e512dd49 4.1: correcting a rarely occuring bug
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2672 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-05-13 19:58:28 +00:00
ferhat 25ca5d3ee8 New implementation of block decomposition & feedback variables using Boost for DynamicModel
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2671 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-05-12 23:03:40 +00:00
michel 2eed8a5fb2 4.1: corrected bug in initialization of horizon for case: 'simul'
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2669 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-05-12 20:34:23 +00:00
michel 33b9537149 v4.1: added to preprocessor int NNZDerivatives[3] with number of non-zeros derivatives at order 1, 2, and 3
used it to initialize sparse g2 and g3 in Matlab <modfile>_dynamic.m


git-svn-id: https://www.dynare.org/svn/dynare/trunk@2668 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-05-12 20:32:27 +00:00
stepan ec4b45cc7c Bug correction (condition info==19 was not used in DsgeLikelihood and DsgeVarLikelihood).
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2667 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-05-12 11:38:06 +00:00
ratto 74a2ffcd95 Implements new features:
-) defines globals;
-) passes local variables as argument to the core function;
-) retrieves output structure and passes to the MasterThread.

git-svn-id: https://www.dynare.org/svn/dynare/trunk@2666 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-05-08 15:25:33 +00:00
ratto 41f59bfb51 Initialize parallel structure at 0.
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2665 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-05-08 15:23:51 +00:00
ratto e13b3917fb Utility converting structure fields in local variables with the same name as fields
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2664 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-05-08 15:23:18 +00:00
ratto b9eb917797 Message passing utility for parallel computing.
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2663 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-05-08 15:22:32 +00:00
stepan 3dc04fba5f Save intermediary results of the MH-based optimization routine.
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2662 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-05-07 15:20:08 +00:00
sebastien f06a89697d trunk preprocessor:
* change the way we check for success of strtod() in NumericalConstants::AddConstant, because of Windows compatibility problem
* reverted r2660 changeset


git-svn-id: https://www.dynare.org/svn/dynare/trunk@2661 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-05-07 08:50:59 +00:00
michel 6258410a83 4.1: added -DNDEBUG in Makefile.in to avoid assert() problem under Windows. This is a quick fix that needs to be redone correctly
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2660 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-05-07 07:46:02 +00:00
george 473b4d9a2f just formatting changes
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2659 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-05-06 10:10:27 +00:00
george aa3b7c78f3 added returning g_0 for extracting ghs2
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2658 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-05-05 20:22:33 +00:00
george 1b2b16db13 Extracting ghs2 from g_0
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2657 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-05-05 20:19:45 +00:00
michel 1b7df60410 4.1: initializing M_.params = [] for the case where there are no parameters declared in the model
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2656 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-05-04 19:31:48 +00:00
sebastien 077e61e2c2 trunk preprocessor:
* fixed bug with normcdf() when converting to static model
* fixed description of derivative computation


git-svn-id: https://www.dynare.org/svn/dynare/trunk@2655 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-05-04 12:59:21 +00:00
sebastien 44c864f9f7 trunk preprocessor: added new statements "write_latex_dynamic_model" and "write_latex_static_model" which list model equations in LaTeX code
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2654 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-30 13:14:33 +00:00
sebastien e96420b3a7 trunk preprocessor: cosmetic changes
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2653 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-30 13:05:21 +00:00
sebastien bacbd603fd trunk preprocessor:
* removed obsolete output type CDynamicSparseDLL
* probably fixed a bug in BlockTriangular::Reduce_Blocks_and_type_determination


git-svn-id: https://www.dynare.org/svn/dynare/trunk@2652 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-29 14:16:14 +00:00
sebastien e9f59ebd51 trunk read_variables.m: fixed Octave compatibility problem
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2651 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-29 13:22:06 +00:00
george cc477a360d No functional changes, just clearing up
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2650 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-29 11:37:16 +00:00
sebastien b8a8bd0068 trunk preprocessor: enforce impossibility of mixing deterministic and stochastic statements, even in Sparse/SparseDLL modes
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2649 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-29 11:35:44 +00:00
sebastien 008fbff5c0 trunk dynare_config.m:
* fixed bug with Octave (under Octave, exist() return 2 instead of 3 if given the FULL path of a MEX)
* remove the path to MEX files if no MEX detected


git-svn-id: https://www.dynare.org/svn/dynare/trunk@2648 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-29 11:35:05 +00:00
sebastien c431ca637c trunk preprocessor: in NumericalConstants
* fixed bug introduced in r2642 with NaN
* added a check to verify that the conversion to double succeeded (use strtod() instead of atof())
* store the double values in a vector


git-svn-id: https://www.dynare.org/svn/dynare/trunk@2647 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-29 11:05:40 +00:00
stepan 349630ba85 If option mode_file is used in the estimation command, replace the covariance of the
jumping distribution by an identity matrix when the covariance matrix obtained with 
a previous call to another optimization routine is not positive definite.  



git-svn-id: https://www.dynare.org/svn/dynare/trunk@2646 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-28 22:38:38 +00:00
sebastien 6a4a414a3b trunk preprocessor:
* finished normalization algorithm
* added routine for computing the equations which are already in normalized form


git-svn-id: https://www.dynare.org/svn/dynare/trunk@2645 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-28 17:11:48 +00:00
george afb3cba759 Rationalised loops
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2644 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-28 17:03:54 +00:00
sebastien 920e21561b trunk preprocessor: added method VariableNode::get_symb_id()
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2643 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-28 17:03:21 +00:00
sebastien 84ba1aff7c trunk preprocessor: use assert() function at several places
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2642 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-28 16:21:39 +00:00
sebastien bc86ddc1a2 trunk preprocessor: small simplification of the Makefile
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2641 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-28 16:16:12 +00:00
sebastien a7e32f5025 trunk preprocessor: added two more symbolic simplication rules, particularly useful for the static model
* x-x=0
* x/x=1


git-svn-id: https://www.dynare.org/svn/dynare/trunk@2640 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-28 16:04:29 +00:00