2011-09-27 06:35:23 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= dynare
|
2019-02-10 17:59:22 +00:00
|
|
|
DISTVERSION= 4.5.7
|
2019-04-12 06:36:31 +00:00
|
|
|
PORTREVISION= 3
|
2011-09-27 06:35:23 +00:00
|
|
|
CATEGORIES= math
|
2012-10-17 05:37:34 +00:00
|
|
|
MASTER_SITES= http://www.dynare.org/release/source/
|
2011-09-27 06:35:23 +00:00
|
|
|
|
2018-03-12 19:20:32 +00:00
|
|
|
MAINTAINER= fernape@FreeBSD.org
|
2011-09-27 06:35:23 +00:00
|
|
|
COMMENT= Software platform for handling a wide class of economic models
|
|
|
|
|
2017-08-12 17:21:42 +00:00
|
|
|
LICENSE= GPLv3
|
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
|
2018-06-22 01:06:59 +00:00
|
|
|
ONLY_FOR_ARCHS= amd64 i386
|
|
|
|
ARCH_amd64= 64
|
|
|
|
ARCH_i386= 32
|
|
|
|
PLIST_SUB= ARCH=${ARCH_${ARCH}}
|
|
|
|
|
2016-04-01 14:16:16 +00:00
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/include/boost/unordered_set.hpp:devel/boost-libs \
|
|
|
|
ctangle:devel/cweb
|
|
|
|
LIB_DEPENDS= libumfpack.so:math/suitesparse \
|
2017-08-12 17:21:42 +00:00
|
|
|
libmatio.so:math/matio \
|
|
|
|
libhdf5.so:science/hdf5 \
|
|
|
|
libopenblas.so:math/openblas \
|
|
|
|
libfftw3_threads.so:math/fftw3 \
|
2018-02-10 18:01:20 +00:00
|
|
|
libfftw3f_threads.so:math/fftw3-float
|
2011-09-27 06:35:23 +00:00
|
|
|
|
math/dynare: Update from 4.5.1 to 4.5.3
This release is compatible with MATLAB versions 7.3 (R2006b) to 9.3 (R2017b)
and with GNU Octave versions 4.2.
Here is a list of the problems identified in version 4.5.1 and that have been
fixed in version 4.5.2:
- Fixed bug in perfect foresight solver:
+ If expected shocks were declared after the terminal period, as specified
by the `periods` option, Dynare was crashing.
+ Models declared with the `linear` option were crashing if exogenous
variables were present with a lead or lag.
- After ML or Bayesian estimation when the smoother option or `mh_replic=0`
were not specified, not all smoothed measurement errors were displayed.
- Fixed error in reference manual about the `conditional_forecasts` command.
- Fixed smoother behaviour, provide informative error instead of crashing when
model cannot be solved.
- The `nopathchange` preprocessor option was always triggered, regardless of
whether it was passed or not.
- When `ramsey_policy` is used, allow state variables to be set in `histval`
block.
- `histval` erroneously accepted leads, leading to cryptic crashes.
- The prior MC draws from previous runs were not deleted, potentially
resulting in loading stale files.
- `estim_params_` was being declared `global` more than once.
- Fixed crashes happening when simulating linear models with order>1.
- Make empirical moments independent of `simul_replic`, as stated in the
reference manual, by outputting moments computed with the first simulated
sample.
- The `prior_function` required a preceding `estimation`-command to properly
set up the prior.
- If the mode for a parameter was at exactly 0, `mode_check` was crashing.
- Fixed `get_posterior_parameters`-routine which should not do more than
getting parameters. As a consequence, the `shock_decomposition`-command
did not correctly set the `parameter_set` for use in subsequent function
calls if shocks are correlated or measurement error is present.
- Fixed bug in Ramsey problem with constraints both on a policy instrument and
another variable. Note that the constraint on a variable that is not an
instrument of the Ramsey problem must be written with an equation tag in the
model block.
- Fixed bug in Ramsey problem with constraints on policy instrument.
- Fixed crash with optimizer 5 when not used with DSGE model at order 1.
- Fixed mex file used for third order approximation (was crashing on
Matlab/Windows 7).
- `isfile` routine was failing with MATLAB older than R2016b. This bug
did not affect Octave.
PR: 223430
Submitted by: fernando.apesteguia@gmail.com (maintainer)
Approved by: tcberner (mentor)
MFH: 2017Q4
Differential Revision: https://reviews.freebsd.org/D13058
2017-12-19 18:01:43 +00:00
|
|
|
USES= fortran gmake localbase pkgconfig shebangfix tar:xz
|
2018-03-14 06:39:56 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2017-08-12 18:05:42 +00:00
|
|
|
SHEBANG_FILES= matlab/modules/reporting/success.sh
|
2011-09-27 06:35:23 +00:00
|
|
|
|
math/dynare: Update from 4.5.1 to 4.5.3
This release is compatible with MATLAB versions 7.3 (R2006b) to 9.3 (R2017b)
and with GNU Octave versions 4.2.
Here is a list of the problems identified in version 4.5.1 and that have been
fixed in version 4.5.2:
- Fixed bug in perfect foresight solver:
+ If expected shocks were declared after the terminal period, as specified
by the `periods` option, Dynare was crashing.
+ Models declared with the `linear` option were crashing if exogenous
variables were present with a lead or lag.
- After ML or Bayesian estimation when the smoother option or `mh_replic=0`
were not specified, not all smoothed measurement errors were displayed.
- Fixed error in reference manual about the `conditional_forecasts` command.
- Fixed smoother behaviour, provide informative error instead of crashing when
model cannot be solved.
- The `nopathchange` preprocessor option was always triggered, regardless of
whether it was passed or not.
- When `ramsey_policy` is used, allow state variables to be set in `histval`
block.
- `histval` erroneously accepted leads, leading to cryptic crashes.
- The prior MC draws from previous runs were not deleted, potentially
resulting in loading stale files.
- `estim_params_` was being declared `global` more than once.
- Fixed crashes happening when simulating linear models with order>1.
- Make empirical moments independent of `simul_replic`, as stated in the
reference manual, by outputting moments computed with the first simulated
sample.
- The `prior_function` required a preceding `estimation`-command to properly
set up the prior.
- If the mode for a parameter was at exactly 0, `mode_check` was crashing.
- Fixed `get_posterior_parameters`-routine which should not do more than
getting parameters. As a consequence, the `shock_decomposition`-command
did not correctly set the `parameter_set` for use in subsequent function
calls if shocks are correlated or measurement error is present.
- Fixed bug in Ramsey problem with constraints both on a policy instrument and
another variable. Note that the constraint on a variable that is not an
instrument of the Ramsey problem must be written with an equation tag in the
model block.
- Fixed bug in Ramsey problem with constraints on policy instrument.
- Fixed crash with optimizer 5 when not used with DSGE model at order 1.
- Fixed mex file used for third order approximation (was crashing on
Matlab/Windows 7).
- `isfile` routine was failing with MATLAB older than R2016b. This bug
did not affect Octave.
PR: 223430
Submitted by: fernando.apesteguia@gmail.com (maintainer)
Approved by: tcberner (mentor)
MFH: 2017Q4
Differential Revision: https://reviews.freebsd.org/D13058
2017-12-19 18:01:43 +00:00
|
|
|
INFO= dynare
|
2012-01-12 06:55:35 +00:00
|
|
|
|
2014-01-19 12:29:37 +00:00
|
|
|
OPTIONS_DEFINE= OCTAVE MATLAB
|
|
|
|
OCTAVE_DESC= Enable compilation of MEX files for Octave
|
|
|
|
MATLAB_DESC= Enable compilation of MEX files for MATLAB
|
2012-10-17 05:37:34 +00:00
|
|
|
OPTIONS_DEFAULT= OCTAVE
|
math/dynare: Update from 4.5.1 to 4.5.3
This release is compatible with MATLAB versions 7.3 (R2006b) to 9.3 (R2017b)
and with GNU Octave versions 4.2.
Here is a list of the problems identified in version 4.5.1 and that have been
fixed in version 4.5.2:
- Fixed bug in perfect foresight solver:
+ If expected shocks were declared after the terminal period, as specified
by the `periods` option, Dynare was crashing.
+ Models declared with the `linear` option were crashing if exogenous
variables were present with a lead or lag.
- After ML or Bayesian estimation when the smoother option or `mh_replic=0`
were not specified, not all smoothed measurement errors were displayed.
- Fixed error in reference manual about the `conditional_forecasts` command.
- Fixed smoother behaviour, provide informative error instead of crashing when
model cannot be solved.
- The `nopathchange` preprocessor option was always triggered, regardless of
whether it was passed or not.
- When `ramsey_policy` is used, allow state variables to be set in `histval`
block.
- `histval` erroneously accepted leads, leading to cryptic crashes.
- The prior MC draws from previous runs were not deleted, potentially
resulting in loading stale files.
- `estim_params_` was being declared `global` more than once.
- Fixed crashes happening when simulating linear models with order>1.
- Make empirical moments independent of `simul_replic`, as stated in the
reference manual, by outputting moments computed with the first simulated
sample.
- The `prior_function` required a preceding `estimation`-command to properly
set up the prior.
- If the mode for a parameter was at exactly 0, `mode_check` was crashing.
- Fixed `get_posterior_parameters`-routine which should not do more than
getting parameters. As a consequence, the `shock_decomposition`-command
did not correctly set the `parameter_set` for use in subsequent function
calls if shocks are correlated or measurement error is present.
- Fixed bug in Ramsey problem with constraints both on a policy instrument and
another variable. Note that the constraint on a variable that is not an
instrument of the Ramsey problem must be written with an equation tag in the
model block.
- Fixed bug in Ramsey problem with constraints on policy instrument.
- Fixed crash with optimizer 5 when not used with DSGE model at order 1.
- Fixed mex file used for third order approximation (was crashing on
Matlab/Windows 7).
- `isfile` routine was failing with MATLAB older than R2016b. This bug
did not affect Octave.
PR: 223430
Submitted by: fernando.apesteguia@gmail.com (maintainer)
Approved by: tcberner (mentor)
MFH: 2017Q4
Differential Revision: https://reviews.freebsd.org/D13058
2017-12-19 18:01:43 +00:00
|
|
|
OPTIONS_SUB= yes
|
2011-09-27 06:35:23 +00:00
|
|
|
|
2014-01-19 12:29:37 +00:00
|
|
|
MATLAB_CONFIGURE_ENABLE= matlab
|
2019-03-17 16:46:47 +00:00
|
|
|
OCTAVE_BROKEN= Does not build after octave upgrade in r495225
|
2014-01-19 12:29:37 +00:00
|
|
|
OCTAVE_CONFIGURE_ENABLE= octave
|
2018-03-20 22:26:35 +00:00
|
|
|
OCTAVE_LIB_DEPENDS= liboctave.so:math/octave
|
2018-03-14 06:39:56 +00:00
|
|
|
OCTAVE_USES= compiler:c++14-lang
|
|
|
|
OCTAVE_VARS= CXXFLAGS=--std=c++14 # https://github.com/DynareTeam/dynare/issues/1599
|
2011-09-27 06:35:23 +00:00
|
|
|
|
|
|
|
post-configure:
|
|
|
|
@${ECHO_MSG} ""
|
|
|
|
@${ECHO_MSG} ""
|
|
|
|
@${ECHO_MSG} "*******************************************************************************"
|
|
|
|
@${ECHO_MSG} "Follow instructions at http://www.freebsd.org/doc/handbook/linuxemu-matlab.html"
|
|
|
|
@${ECHO_MSG} "on how to install MATLAB on FreeBSD"
|
|
|
|
@${ECHO_MSG} "*******************************************************************************"
|
|
|
|
@${ECHO_MSG} ""
|
|
|
|
@${ECHO_MSG} ""
|
|
|
|
|
math/dynare: Update from 4.5.1 to 4.5.3
This release is compatible with MATLAB versions 7.3 (R2006b) to 9.3 (R2017b)
and with GNU Octave versions 4.2.
Here is a list of the problems identified in version 4.5.1 and that have been
fixed in version 4.5.2:
- Fixed bug in perfect foresight solver:
+ If expected shocks were declared after the terminal period, as specified
by the `periods` option, Dynare was crashing.
+ Models declared with the `linear` option were crashing if exogenous
variables were present with a lead or lag.
- After ML or Bayesian estimation when the smoother option or `mh_replic=0`
were not specified, not all smoothed measurement errors were displayed.
- Fixed error in reference manual about the `conditional_forecasts` command.
- Fixed smoother behaviour, provide informative error instead of crashing when
model cannot be solved.
- The `nopathchange` preprocessor option was always triggered, regardless of
whether it was passed or not.
- When `ramsey_policy` is used, allow state variables to be set in `histval`
block.
- `histval` erroneously accepted leads, leading to cryptic crashes.
- The prior MC draws from previous runs were not deleted, potentially
resulting in loading stale files.
- `estim_params_` was being declared `global` more than once.
- Fixed crashes happening when simulating linear models with order>1.
- Make empirical moments independent of `simul_replic`, as stated in the
reference manual, by outputting moments computed with the first simulated
sample.
- The `prior_function` required a preceding `estimation`-command to properly
set up the prior.
- If the mode for a parameter was at exactly 0, `mode_check` was crashing.
- Fixed `get_posterior_parameters`-routine which should not do more than
getting parameters. As a consequence, the `shock_decomposition`-command
did not correctly set the `parameter_set` for use in subsequent function
calls if shocks are correlated or measurement error is present.
- Fixed bug in Ramsey problem with constraints both on a policy instrument and
another variable. Note that the constraint on a variable that is not an
instrument of the Ramsey problem must be written with an equation tag in the
model block.
- Fixed bug in Ramsey problem with constraints on policy instrument.
- Fixed crash with optimizer 5 when not used with DSGE model at order 1.
- Fixed mex file used for third order approximation (was crashing on
Matlab/Windows 7).
- `isfile` routine was failing with MATLAB older than R2016b. This bug
did not affect Octave.
PR: 223430
Submitted by: fernando.apesteguia@gmail.com (maintainer)
Approved by: tcberner (mentor)
MFH: 2017Q4
Differential Revision: https://reviews.freebsd.org/D13058
2017-12-19 18:01:43 +00:00
|
|
|
.include <bsd.port.mk>
|