UseParallel feature of fmincon

This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location where you will have to reset your password.
Forum rules
This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location (https://forum.dynare.org) where you will have to reset your password.

UseParallel feature of fmincon

Postby trdl » Tue Mar 07, 2017 6:03 pm

Hello,

Using dynare 4.4.3 and matlab 2016b, I'm trying to use the "UseParallel" feature of fmincon in order to estimate a SW-type of DSGE with mode_compute = 1. Unfortunately the estimation stops after 1 iteration (whatever the model/ the initial point).

I found on the internet that the issue might be linked to the use of global variables (post of Sep 3 2015 here https://github.com/DynareTeam/dynare/issues/1051). Did you manage to circumvent the issue? Did someone test the "UseParallel" feature of fmincon?

Thanks in advance,

Kind regards,

Thomas
trdl
 
Posts: 2
Joined: Tue Mar 07, 2017 5:55 pm

Re: UseParallel feature of fmincon

Postby jpfeifer » Wed Mar 08, 2017 8:26 am

Please try the unstable version of Dynare and report back.
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany

Re: UseParallel feature of fmincon

Postby trdl » Wed Mar 08, 2017 11:08 am

Thanks for your quick reply.

Testing with the unstable version "master-2017-03-07-7341ca4", I encounter the following error (log file and mod file are in attachments) when using the 'UseParallel' feature of fmincon:

Error using dsge_likelihood (line 326)
Reference to non-existent field 'vobs'.

Without the parallel feature, the estimation works fine with the unstable version.

Regards,

Thomas
Attachments
usmodel_est_70_13.txt
log file
(5.32 KiB) Downloaded 97 times
usmodel_est_70_13.mod
mod file
(7.44 KiB) Downloaded 73 times
trdl
 
Posts: 2
Joined: Tue Mar 07, 2017 5:55 pm

Re: UseParallel feature of fmincon

Postby jpfeifer » Wed Mar 08, 2017 1:00 pm

We are investigating the issue: https://github.com/DynareTeam/dynare/issues/1400
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 7 guests