Unfortunately, I don’t know the answer. Do you have access to a machine with a different graphics driver?
I don’t. Do you obtain different result running the file (not freezing after first chart pops up)?
Yes, after switching to software OpenGL so as to not rely on the Intel Driver on my Laptop, I can run the code, at least from the command line of Octave.
Do you mean I should open “Octave CLI”, rather than “Octave GUI” on the desktop? I have two icons for Octave…
Yes, I use the Command Line Interface (CLI). It tends to provide an error message before entering the infinite loop.
Using CLI, I obtained two identical error messages:
GL2PS warning: Unknown token in buffer
GL2PS warning: Unknown token in buffer
Otherwise, nothing changes (I.e. everything freezes after first figure pops up).
I got that exact error message with the Hardware OpenGL. It vanished with the software version as mentioned in
I switched from system to software OpenGL, and then ran the code in CLI, but everything freezes after first figure pops up.
I am out of ideas. It seems to work for other people: Octave not responding after running example1 - #3 by MicWal
So the best thing would be trying this on another computer…
Dear professor,
I contacted an IT department at my university in order to try to install Dynare there and run the program, since it doesn’t work on my computer, but it works with other people, but they asked me what are the requirements for computer in order to run the code. Do you have any suggestion, regarding RAM, processor, graphics card etc.?
Dynare should work on pretty much any recent computer. Take what you can get. Only avoid Intel Graphics drivers.
I tried setting OpenGL Switcher to software, but after running my Dynare model file, again everything freezes after first chart pops up..
.
Can you try changing the figure type using
graph_format = pdf
Do you mean entering this line in Octave? If so, I obtain error message:
graph_format = pdf
error: ‘pdf’ undefined near line 1, column 16
The ‘pdf’ function belongs to the statistics package from Octave Forge
which you have installed but not loaded. To load the package, run ‘pkg
load statistics’ from the Octave prompt.
Please read https://www.octave.org/missing.html to learn how you can
contribute missing functionality.
No, as an option to stoch_simul
.
I replaced stoch_simul with stoch_simul(graph_format = pdf) but still everything freezes. I will try to find computer without Intel graphics driver.
Hello, a professor at my university told me that Dynare works fine and that the problem is with graphics and that I should try something else, like GNU Plot. I don’t know the programming language of GNU Plot, so I wanted to ask if you think this may help (I still have Intel’s graphics driver) and if you could even tell me what code to enter in GNU Plot (Octave code doesn’t work) Thank you!
Can you try the Dynare unstable version with stoch_simul(graph_format = fig)
. That will use the native Octave figure format.
Now I obtain error message:
Starting Dynare (version 5.4).
Calling Dynare with arguments: none
Starting preprocessing of the model file …
ERROR: Model.mod: line 93, cols 1-6: syntax error, unexpected VAROBS
error: Dynare: preprocessing failed
error: called from
dynare at line 266 column 5
Even though the file has 79 lines only, rather than 266. I attached the Model file.
Model.mod (2.5 KB)