dynare issueshttps://git.dynare.org/Dynare/dynare/issues2019-08-14T12:33:09Zhttps://git.dynare.org/Dynare/dynare/issues/1482No rule to make target `../../../../dynare++/kord/faa_di_bruno.cpp', needed b...2019-08-14T12:33:09ZStéphane Adjemianstepan@dynare.orgNo rule to make target `../../../../dynare++/kord/faa_di_bruno.cpp', needed by `libdynare___a-faa_di_bruno.o'. Stop.*Created by: barrymoo*
## Details
OS: RHEL 7 (Kernel 3.10.0-514.6.1)
GCC Version: Red Hat 4.8.5-11
Attachments: `config.log` and `make.log`
## Configuration Script
``` bash
#!/usr/bin/env bash
module purge
module load boost/1.62.0 mkl/2017.1.132
autoreconf -si
MATLAB_VERSION=R2017a \
./configure \
--with-matlab=/ihome/crc/install/matlab/R2017a \
--disable-octave \
--enable-openmp \
--prefix=/ihome/crc/install/dynare/4.5.0
make &> make.log
```
## Error
``` bash
$ tail make.log
ln -s -f /ihome/crc/build/dyndare/dynare-4.5.0/mex/build/matlab/bytecode/$p $p; \
done
make[2]: Leaving directory `/ihome/crc/build/dyndare/dynare-4.5.0/mex/build/matlab/bytecode'
Making all in libdynare++
make[2]: Entering directory `/ihome/crc/build/dyndare/dynare-4.5.0/mex/build/matlab/libdynare++'
make[2]: *** No rule to make target `../../../../dynare++/kord/faa_di_bruno.cpp', needed by `libdynare___a-faa_di_bruno.o'. Stop.
make[2]: Leaving directory `/ihome/crc/build/dyndare/dynare-4.5.0/mex/build/matlab/libdynare++'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/ihome/crc/build/dyndare/dynare-4.5.0/mex/build/matlab'
make: *** [all-recursive] Error 1
```
## Notes
I tried both the 4.5.0 release and the 4.6-unstable git repo. Any help is appreciated.*Created by: barrymoo*
## Details
OS: RHEL 7 (Kernel 3.10.0-514.6.1)
GCC Version: Red Hat 4.8.5-11
Attachments: `config.log` and `make.log`
## Configuration Script
``` bash
#!/usr/bin/env bash
module purge
module load boost/1.62.0 mkl/2017.1.132
autoreconf -si
MATLAB_VERSION=R2017a \
./configure \
--with-matlab=/ihome/crc/install/matlab/R2017a \
--disable-octave \
--enable-openmp \
--prefix=/ihome/crc/install/dynare/4.5.0
make &> make.log
```
## Error
``` bash
$ tail make.log
ln -s -f /ihome/crc/build/dyndare/dynare-4.5.0/mex/build/matlab/bytecode/$p $p; \
done
make[2]: Leaving directory `/ihome/crc/build/dyndare/dynare-4.5.0/mex/build/matlab/bytecode'
Making all in libdynare++
make[2]: Entering directory `/ihome/crc/build/dyndare/dynare-4.5.0/mex/build/matlab/libdynare++'
make[2]: *** No rule to make target `../../../../dynare++/kord/faa_di_bruno.cpp', needed by `libdynare___a-faa_di_bruno.o'. Stop.
make[2]: Leaving directory `/ihome/crc/build/dyndare/dynare-4.5.0/mex/build/matlab/libdynare++'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/ihome/crc/build/dyndare/dynare-4.5.0/mex/build/matlab'
make: *** [all-recursive] Error 1
```
## Notes
I tried both the 4.5.0 release and the 4.6-unstable git repo. Any help is appreciated.https://git.dynare.org/Dynare/dynare/issues/1469Compile fail w/ fix2019-06-19T15:37:42ZStéphane Adjemianstepan@dynare.orgCompile fail w/ fix*Created by: cstackpole*
Greetings,
Had issues compiling the last few daily's. Ended up with a bunch of errors about comparisons between signed and unsigned integers. @almightybeeij helped me figure out it was a missing include.
In preprocessor/ModelTree.cc there is a missing line.
`#include <boost/range/empty.hpp>`
Thanks!*Created by: cstackpole*
Greetings,
Had issues compiling the last few daily's. Ended up with a bunch of errors about comparisons between signed and unsigned integers. @almightybeeij helped me figure out it was a missing include.
In preprocessor/ModelTree.cc there is a missing line.
`#include <boost/range/empty.hpp>`
Thanks!Houtan BastaniHoutan Bastanihttps://git.dynare.org/Dynare/dynare/issues/1463Errors in code in mh_optimal_bandwidth.m2019-06-19T15:37:42ZStéphane Adjemianstepan@dynare.orgErrors in code in mh_optimal_bandwidth.m*Created by: spcatterall*
It appears to me that there is an error in line 146 of mh_optimal_bandwidth.m:
`g3 = abs(2*correction*k6(0)/(mu21*Itilda4*correction))^(1/9);`
This line should be identical to line 113:
`g3 = abs(2*correction*k6(0)/(mu21*Itilda4*number_of_draws))^(1/9);`
Also, all references to 'n' in lines 135-152 should be replaced by 'number_of_draws'.
[I've recently written code in R which performs the same function as mh_optimal_bandwidth.m and I've read the paper underpinning these methods. I came across this matlab code during a google search.]*Created by: spcatterall*
It appears to me that there is an error in line 146 of mh_optimal_bandwidth.m:
`g3 = abs(2*correction*k6(0)/(mu21*Itilda4*correction))^(1/9);`
This line should be identical to line 113:
`g3 = abs(2*correction*k6(0)/(mu21*Itilda4*number_of_draws))^(1/9);`
Also, all references to 'n' in lines 135-152 should be replaced by 'number_of_draws'.
[I've recently written code in R which performs the same function as mh_optimal_bandwidth.m and I've read the paper underpinning these methods. I came across this matlab code during a google search.]https://git.dynare.org/Dynare/dynare/issues/1492Third order does not work with official stable OS X package (4.5.1)2019-06-19T15:37:42ZStéphane Adjemianstepan@dynare.orgThird order does not work with official stable OS X package (4.5.1)I obtain the following error message:
```matlab
Invalid MEX-file '/Applications/Dynare/4.5.1/matlab/../mex/matlab/osx/k_order_perturbation.mexmaci64': Missing dependent shared libraries:
'@rpath/libhdf5.6.dylib' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '__DefaultRuneLocale' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '__Unwind_Resume' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '___bzero' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '___cxa_atexit' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '___maskrune' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '___memcpy_chk' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '___powidf2' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '___stack_chk_fail' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '___stack_chk_guard' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '___stderrp' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '___stdoutp' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '___vsnprintf_chk' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_abort' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_asctime_r' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_calloc' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_clock' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_ctime' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_dlclose' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_dlerror' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_dlopen' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_dlsym' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_drand48' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_exit' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_fclose' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_feof' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_fflush' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_floor' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_fopen' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_fprintf' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_fread' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_free' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_fseek' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_ftell' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_fwrite' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_getloadavg' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_getrusage' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_gettimeofday' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_localtime_r' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_log' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_malloc' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_memcpy' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_memmove' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_memset' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_mktemp' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_pow' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_printf' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_pthread_attr_destroy' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_pthread_attr_init' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_pthread_attr_setdetachstate' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_pthread_cond_broadcast' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_pthread_cond_destroy' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_pthread_cond_init' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_pthread_cond_wait' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_pthread_create' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_pthread_exit' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_pthread_join' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_pthread_mutex_init' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_pthread_mutex_lock' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_pthread_mutex_unlock' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_putchar' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_puts' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_remove' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_rename' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_round' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_sprintf' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_srand48' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_strcat' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_strcmp' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_strcpy' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_strdup' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_strlen' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_strncpy' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_sysconf' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_time' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_uname' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_vasprintf' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'.
Error in k_order_pert (line 57)
[err, g_0, g_1, g_2, g_3, derivs] = k_order_perturbation(dr, ...
Error in stochastic_solvers (line 96)
[dr,info] = k_order_pert(dr,M_,options_);
Error in resol (line 144)
[dr,info] = stochastic_solvers(dr,check_flag,M,options,oo);
Error in stoch_simul (line 84)
[oo_.dr,info,M_,options_,oo_] = resol(0,M_,options_,oo_);
```
Note however that if Dynare is installed through Homebrew, there is no such problems with `k_order_perturbation` Mex file. @houtanb Is it possible to have access to the code generating the package?I obtain the following error message:
```matlab
Invalid MEX-file '/Applications/Dynare/4.5.1/matlab/../mex/matlab/osx/k_order_perturbation.mexmaci64': Missing dependent shared libraries:
'@rpath/libhdf5.6.dylib' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '__DefaultRuneLocale' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '__Unwind_Resume' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '___bzero' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '___cxa_atexit' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '___maskrune' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '___memcpy_chk' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '___powidf2' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '___stack_chk_fail' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '___stack_chk_guard' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '___stderrp' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '___stdoutp' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '___vsnprintf_chk' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_abort' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_asctime_r' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_calloc' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_clock' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_ctime' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_dlclose' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_dlerror' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_dlopen' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_dlsym' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_drand48' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_exit' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_fclose' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_feof' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_fflush' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_floor' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_fopen' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_fprintf' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_fread' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_free' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_fseek' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_ftell' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_fwrite' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_getloadavg' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_getrusage' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_gettimeofday' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_localtime_r' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_log' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_malloc' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_memcpy' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_memmove' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_memset' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_mktemp' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_pow' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_printf' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_pthread_attr_destroy' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_pthread_attr_init' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_pthread_attr_setdetachstate' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_pthread_cond_broadcast' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_pthread_cond_destroy' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_pthread_cond_init' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_pthread_cond_wait' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_pthread_create' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_pthread_exit' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_pthread_join' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_pthread_mutex_init' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_pthread_mutex_lock' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_pthread_mutex_unlock' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_putchar' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_puts' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_remove' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_rename' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_round' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_sprintf' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_srand48' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_strcat' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_strcmp' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_strcpy' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_strdup' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_strlen' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_strncpy' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_sysconf' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_time' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_uname' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'
Missing symbol '_vasprintf' required by '/Applications/Dynare/4.5.1/mex/matlab/osx/k_order_perturbation.mexmaci64'.
Error in k_order_pert (line 57)
[err, g_0, g_1, g_2, g_3, derivs] = k_order_perturbation(dr, ...
Error in stochastic_solvers (line 96)
[dr,info] = k_order_pert(dr,M_,options_);
Error in resol (line 144)
[dr,info] = stochastic_solvers(dr,check_flag,M,options,oo);
Error in stoch_simul (line 84)
[oo_.dr,info,M_,options_,oo_] = resol(0,M_,options_,oo_);
```
Note however that if Dynare is installed through Homebrew, there is no such problems with `k_order_perturbation` Mex file. @houtanb Is it possible to have access to the code generating the package?Houtan BastaniHoutan Bastanihttps://git.dynare.org/Dynare/dynare/issues/1487Potentially make empirical moments independent of simul_replic2019-06-19T15:37:42ZJohannes Pfeifer Potentially make empirical moments independent of simul_replicWe currently rely on the last simulated series for computing moments. If `simul_replic` is increased, the moments will therefore change. I would propose to output the first instead of the last run in `simult.m`. That way, the results would always be the same. Of course, this would entail some loss of backward compatibility. I would accept this, because in principle any replication for the moments should do and the manual states that `simul_replic` is not used for moment computation. Related to https://forum.dynare.org/t/impact-of-simul-replic-option-on-empirical-moments/10553/4We currently rely on the last simulated series for computing moments. If `simul_replic` is increased, the moments will therefore change. I would propose to output the first instead of the last run in `simult.m`. That way, the results would always be the same. Of course, this would entail some loss of backward compatibility. I would accept this, because in principle any replication for the moments should do and the manual states that `simul_replic` is not used for moment computation. Related to https://forum.dynare.org/t/impact-of-simul-replic-option-on-empirical-moments/10553/4https://git.dynare.org/Dynare/dynare/issues/1478Configure Windows Installer to allow silent install2019-10-23T14:40:47ZJohannes Pfeifer Configure Windows Installer to allow silent installThis is a feature request from a university wanting to do an unattended installation of Dynare on a computer pool. The NSIS installer we use seems to not be configured for silent installs, i.e. passing '/D /d=test_directory' does not work.
We should follow the instructions at http://nsis.sourceforge.net/Docs/Chapter4.html#silent t to allow for this.
This is a feature request from a university wanting to do an unattended installation of Dynare on a computer pool. The NSIS installer we use seems to not be configured for silent installs, i.e. passing '/D /d=test_directory' does not work.
We should follow the instructions at http://nsis.sourceforge.net/Docs/Chapter4.html#silent t to allow for this.
Sébastien VillemotSébastien Villemothttps://git.dynare.org/Dynare/dynare/issues/1476create our own version of the Matlab table command2018-11-08T11:46:00ZHoutan Bastanicreate our own version of the Matlab table command`table` was provided in Matlab R2013b. Doing this will allow us to have consistent-looking output`table` was provided in Matlab R2013b. Doing this will allow us to have consistent-looking outputHoutan BastaniHoutan Bastanihttps://git.dynare.org/Dynare/dynare/issues/1454Make dynare_version and ver_less_than work with Master2019-06-19T15:37:43ZJohannes Pfeifer Make dynare_version and ver_less_than work with Master`dynare_version.m` on the unstable version returns strings like `master-2017-05-18-95da783`. This way of providing a version number is not compatible with our functions like `ver_greater_than`, which rely on purely numeric output. But MacroModelBase relies on `dynare_version.m``dynare_version.m` on the unstable version returns strings like `master-2017-05-18-95da783`. This way of providing a version number is not compatible with our functions like `ver_greater_than`, which rely on purely numeric output. But MacroModelBase relies on `dynare_version.m`Stéphane Adjemianstepan@dynare.orgStéphane Adjemianstepan@dynare.orghttps://git.dynare.org/Dynare/dynare/issues/1453Fix bug introduced in issue 13362019-06-19T15:37:44ZJohannes Pfeifer Fix bug introduced in issue 1336In 7829a252387d6da559b37b37797bf5fa4330f6ad related to https://github.com/DynareTeam/dynare/issues/1336 we set `order=1` locally in `stochastic_solvers`. While that speeds up the solution, the subsequent functions do not know that `order` was locally changed. That crashes e.g. `disp_dr` and `th_autocovariances`, because they are looking for `dr.ghs2` which would be there at `order=2`In 7829a252387d6da559b37b37797bf5fa4330f6ad related to https://github.com/DynareTeam/dynare/issues/1336 we set `order=1` locally in `stochastic_solvers`. While that speeds up the solution, the subsequent functions do not know that `order` was locally changed. That crashes e.g. `disp_dr` and `th_autocovariances`, because they are looking for `dr.ghs2` which would be there at `order=2`https://git.dynare.org/Dynare/dynare/issues/1452Update info for building from source2019-06-19T15:37:44ZJohannes Pfeifer Update info for building from sourceParticularly on Mac when not using homebrew (e.g. for own branches), some package versions may be too new. For example, Bison 3 does not work. Instead one needs 2.7 or so. According to @houtanb one can use
```
brew tap homebrew/versions
brew install homebrew/versions/bison27
brew link --force bison27
```
But the `readme.md` only states one needs `Bison, version 2.5 or later`, which is not correct. A similar issue may be true for `Flex`
Particularly on Mac when not using homebrew (e.g. for own branches), some package versions may be too new. For example, Bison 3 does not work. Instead one needs 2.7 or so. According to @houtanb one can use
```
brew tap homebrew/versions
brew install homebrew/versions/bison27
brew link --force bison27
```
But the `readme.md` only states one needs `Bison, version 2.5 or later`, which is not correct. A similar issue may be true for `Flex`
Houtan BastaniHoutan Bastanihttps://git.dynare.org/Dynare/dynare/issues/1439Fix bytecode memory problem introduced in #14202019-06-19T15:37:44ZJohannes Pfeifer Fix bytecode memory problem introduced in #1420#1420 changed the memory allocation. Since then `ramst_normcdf_and_friends_static` fails with
```
Fatal error in bytecode: mxMalloc: out of memory 352 bytes required at line 1915 in function Init_GE (file ../../../sources/bytecode/SparseMatrix.cc
```#1420 changed the memory allocation. Since then `ramst_normcdf_and_friends_static` fails with
```
Fatal error in bytecode: mxMalloc: out of memory 352 bytes required at line 1915 in function Init_GE (file ../../../sources/bytecode/SparseMatrix.cc
```FerhatMihoubiFerhatMihoubihttps://git.dynare.org/Dynare/dynare/issues/1437Speed of Kalman filter in unstable vs 4.4.32019-06-19T15:37:44ZJohannes Pfeifer Speed of Kalman filter in unstable vs 4.4.3Joris reports at http://www.dynare.org/phpBB3/viewtopic.php?f=1&t=6373&start=15#p37426 that 4.4.3 runs Bayesian estimation a lot faster than the current master. Profiling `fs2000.mod`, the culprit seems to be https://github.com/DynareTeam/dynare/pull/1088/commits/05fc096569e15e89d8d13b08799321c0313b168d where we made the Kalman filter more robust against ill-conditioned matrices. This seems to have considerable computational costs, because the function is called so often. I wonder if switching to the univariate filter if problems appear is not the better default.
Joris reports at http://www.dynare.org/phpBB3/viewtopic.php?f=1&t=6373&start=15#p37426 that 4.4.3 runs Bayesian estimation a lot faster than the current master. Profiling `fs2000.mod`, the culprit seems to be https://github.com/DynareTeam/dynare/pull/1088/commits/05fc096569e15e89d8d13b08799321c0313b168d where we made the Kalman filter more robust against ill-conditioned matrices. This seems to have considerable computational costs, because the function is called so often. I wonder if switching to the univariate filter if problems appear is not the better default.
Stéphane Adjemianstepan@dynare.orgStéphane Adjemianstepan@dynare.orghttps://git.dynare.org/Dynare/dynare/issues/1438Write a unit test for mjdgges (m implementation)2018-09-11T15:00:44ZStéphane Adjemianstepan@dynare.orgWrite a unit test for mjdgges (m implementation)Based on matrices E and D from the example contributed by @JohannesPfeifer in #1154.Based on matrices E and D from the example contributed by @JohannesPfeifer in #1154.Stéphane Adjemianstepan@dynare.orgStéphane Adjemianstepan@dynare.orghttps://git.dynare.org/Dynare/dynare/issues/1434Check ksstat option of sensitivity2019-06-19T15:37:44ZJohannes Pfeifer Check ksstat option of sensitivityIt seems to be superseded by e.g. `pvalue_ks`. See http://www.dynare.org/phpBB3/viewtopic.php?f=1&t=17952
While it appears in `stab_map_.m` is seems to not be used at all.It seems to be superseded by e.g. `pvalue_ks`. See http://www.dynare.org/phpBB3/viewtopic.php?f=1&t=17952
While it appears in `stab_map_.m` is seems to not be used at all.https://git.dynare.org/Dynare/dynare/issues/1425create interface for initial_condition_decomposition2019-06-19T15:37:44ZHoutan Bastanicreate interface for initial_condition_decompositionSee #1421See #14214.5Houtan BastaniHoutan Bastanihttps://git.dynare.org/Dynare/dynare/issues/1414command options should be made local, and a new syntax should provide persist...2019-11-21T08:36:41ZHoutan Bastanicommand options should be made local, and a new syntax should provide persistent optionsAllow users the possibility to bypass the current situation where an option set in one command is perpetuated into other commands when the user doesn't explicitly pass the option again. e.g. In the following case, the second call to `command` will have options 1, 2, and 3 set even though only 1 and 3 were passed:
```
command(option1, option2);
command(option1, option3);
```
Introduce a new syntax such as
```
command(option1, option2);
command!(option1, option3);
```
which would tell the preprocessor to reset all command-specific options to their defaults before writing output. To do this, every command's options must be local to a substructure of `options_` (i.e. `options_.command.option1`, `options_.command.option2`, etc.)Allow users the possibility to bypass the current situation where an option set in one command is perpetuated into other commands when the user doesn't explicitly pass the option again. e.g. In the following case, the second call to `command` will have options 1, 2, and 3 set even though only 1 and 3 were passed:
```
command(option1, option2);
command(option1, option3);
```
Introduce a new syntax such as
```
command(option1, option2);
command!(option1, option3);
```
which would tell the preprocessor to reset all command-specific options to their defaults before writing output. To do this, every command's options must be local to a substructure of `options_` (i.e. `options_.command.option1`, `options_.command.option2`, etc.)Houtan BastaniHoutan Bastanihttps://git.dynare.org/Dynare/dynare/issues/1415rewrite dyn_saveas, dyn_figure to take the options they need as arguments2019-06-19T15:37:44ZHoutan Bastanirewrite dyn_saveas, dyn_figure to take the options they need as argumentsThis is a first step in the long road to completing #1414This is a first step in the long road to completing #14144.5Houtan BastaniHoutan Bastanihttps://git.dynare.org/Dynare/dynare/issues/1410Make master mex-files compatible with Matlab R2017a and adjust installer for ...2019-06-19T15:37:44ZJohannes Pfeifer Make master mex-files compatible with Matlab R2017a and adjust installer for WindowsFollowing the discussion in #1225, Matlab R2017a seems to require a change in mex-file compilation.
This also implies that the commit https://github.com/DynareTeam/dynare/commit/4f3b35acbaaa23ad81d5200f68eacbbd9c9b98b6 is not correct, because we need a different set of 64bit mex-files going forward, starting with version `9.2`.Following the discussion in #1225, Matlab R2017a seems to require a change in mex-file compilation.
This also implies that the commit https://github.com/DynareTeam/dynare/commit/4f3b35acbaaa23ad81d5200f68eacbbd9c9b98b6 is not correct, because we need a different set of 64bit mex-files going forward, starting with version `9.2`.https://git.dynare.org/Dynare/dynare/issues/1407Keep track of whether smoother results are in logs and adjust smoother2histva...2019-11-26T15:21:02ZJohannes Pfeifer Keep track of whether smoother results are in logs and adjust smoother2histval accordinglySee !1396 See !1396 https://git.dynare.org/Dynare/dynare/issues/1406Add interface for #13722019-06-19T15:37:44ZStéphane Adjemianstepan@dynare.orgAdd interface for #1372@houtanb To identify the needed modifications look at #1372 and the new entries in the reference manual.@houtanb To identify the needed modifications look at #1372 and the new entries in the reference manual.4.5Houtan BastaniHoutan Bastani