Edit example1 but "Create Process Failed"

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.

Edit example1 but "Create Process Failed"

Postby mpeng » Fri Jul 11, 2014 8:16 pm

I am new to the dynare . As a test, I was trying to edit the example1 file. It gave me an error message saying that CreaProcess Failed" ,, "Cannot create Child Process". Any help please , thanks a lot !
mpeng
 
Posts: 4
Joined: Fri Jul 11, 2014 6:45 pm

Re: Edit example1 but "Create Process Failed"

Postby jpfeifer » Mon Jul 14, 2014 1:15 pm

Please provide more information. Which operating system are you using?
------------
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: Edit example1 but "Create Process Failed"

Postby mpeng » Mon Jul 14, 2014 2:01 pm

Window 7
mpeng
 
Posts: 4
Joined: Fri Jul 11, 2014 6:45 pm

Re: Edit example1 but "Create Process Failed"

Postby jpfeifer » Mon Jul 14, 2014 2:10 pm

Did you try reinstalling Dynare?
------------
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: Edit example1 but "Create Process Failed"

Postby mpeng » Mon Jul 14, 2014 3:50 pm

I downloaded a lower version of Octave and that particular error disappeared ; However, it gaves me another error message saying that a calling function could not find a mex file (as in the libary or depednents)
mpeng
 
Posts: 4
Joined: Fri Jul 11, 2014 6:45 pm

Re: Edit example1 but "Create Process Failed"

Postby jpfeifer » Mon Jul 14, 2014 4:06 pm

That indicates a problem with your installation of the mex-files during the installation process. Try a full installation. Also, which Matlab are you running? Is your system 64 or 32bit?
------------
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: Edit example1 but "Create Process Failed"

Postby mpeng » Mon Jul 14, 2014 4:13 pm

Thanks, I don't have Matlab running. My system is 64. What do you mean by full installation?
mpeng
 
Posts: 4
Joined: Fri Jul 11, 2014 6:45 pm

Re: Edit example1 but "Create Process Failed"

Postby jpfeifer » Tue Jul 15, 2014 7:49 am

Are you using Octave? Which version?
------------
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: Edit example1 but "Create Process Failed"

Postby cm3wong0303 » Wed Jul 16, 2014 6:40 am

HI, I am also a new user of dynare and facing the same problem as mpeng in trying to run the examples provided by dynare.

I am using Octave 3.8.1 (MinGW) for Window 7 with 64 bit, and the dynare version i am using is dynare 4.4.2.

The octave system returns following statement when i type in command "dynare example1".

Configuring Dynare ...
[mex] Generalized QZ.
[mex] Sylvester equation solution.
[mex] Kronecker products.
[mex] Sparse kronecker products.
[mex] Local state space iteration (second order).
[mex] Bytecode evaluation.
[mex] k-order perturbation solver.
[mex] k-order solution simulation.
[mex] Quasi Monte-Carlo sequence (Sobol).
[mex] Markov Switching SBVAR.

Starting Dynare (version 4.4.2).
Starting preprocessing of the model file ...
Found 6 equation(s).
Evaluating expressions...done
Computing static model derivatives:
- order 1
Computing dynamic model derivatives:
- order 1
- order 2
Processing outputs ...done
Preprocessing completed.
Starting MATLAB/Octave computing.

error: dyn_first_order_solver: could not find library or dependents: d:\dynare\4.4.2\matlab\../mex/octave\mjdgges
.mex
error: called from:
error: d:\dynare\4.4.2\matlab\dyn_first_order_solver.m at line 216, column 39
error: d:\dynare\4.4.2\matlab\stochastic_solvers.m at line 217, column 18
error: d:\dynare\4.4.2\matlab\resol.m at line 137, column 14
error: d:\dynare\4.4.2\matlab\stoch_simul.m at line 88, column 34
error: d:\dynare\work\example1.m at line 153, column 6
error: d:\dynare\4.4.2\matlab\dynare.m at line 180, column 1

I check that the mjdgges.mex file exists in the location \mex\octave folder.
And when i adopt the 3.6.4 version of octave to run this command, this problem is gone.

Thank you for your help.
cm3wong0303
 
Posts: 1
Joined: Wed Jul 16, 2014 6:23 am

Re: Edit example1 but "Create Process Failed"

Postby SébastienVillemot » Wed Jul 16, 2014 2:09 pm

Hi,

The binary for Dynare 4.4.2 is only compatible with Octave 3.6.1, not 3.8.1. You can download the right version of Octave on the Dynare website.

The upcoming Dynare 4.4.3 release will be compatible with Octave 3.8.1.

Best,
Sébastien Villemot
Economist at OFCE – Sciences Po
SébastienVillemot
 
Posts: 706
Joined: Fri Dec 07, 2007 2:29 pm
Location: Paris, France

Re: Edit example1 but "Create Process Failed"

Postby Petryk » Sat Feb 27, 2016 10:33 am

Dear All,

I had the same problem with Octave/Dynare but now with Dynare 4.4.3 and Octave 3.8.1 (from Dynare website not Octave!) everything works like a charm:)

Don't forget to run in Octave command window
addpath c:\dynare\4.4.3\matlab

Thank you all for help!

P
Petryk
 
Posts: 4
Joined: Mon Jan 19, 2015 2:09 pm


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 12 guests