'Long pathname' bug in Dynare++
Posted: Mon Dec 17, 2007 3:18 pm
Hi Ondra / Michel,
Just flagging an issue with dynare++ (I think) - which you might (or might not) be aware of and which you might (or might not) want to address at some point. Took me a few minutes to figure this out, so hopefully it will save people time if they get similar errors.
I have a mod file - runs like a beauty from my C:\drive. Problems start when I try running the exact same file from a network drive. I think the issue is that dynare++ has trouble processing the long pathname (in my case it was: N:\Div2\ResearchAndAnalysis\Macrofinance\TimeVaryingRiskPremium\Working_Paper\HumpShapedShockChecks\LevStatBase.mod).
The 'symptoms', appear to vary depending on the dynare++ version.
In 1.3.2 the program entered an infinite loop. When I stopped it (after an hour or so), the .jnl file was 180MB long and did not get to the simulation bit (from the C:\drive the same file takes about 5secs to run (including simulations), and the jnl file is 20KB long.
In version 1.3.5 the program got to the simulation bit (at least according to the .jnl file) but the last line in the jnl was:
0.35937:S00173:-1.:01384: : Performing 1114923380 stochastic simulations for 1400268108 periods
Now, I get this message even though I don't modify dynare++ defaults (and even when I specify '--sim' and '--per' it doesn't overwrite these values). Unsurprisingly, after some time the whole thing crashes with the following error:
This application has requested the Runtime to terminate it in an unusual way.
Hope this is of some use.
Best wishes,
Pawel
Just flagging an issue with dynare++ (I think) - which you might (or might not) be aware of and which you might (or might not) want to address at some point. Took me a few minutes to figure this out, so hopefully it will save people time if they get similar errors.
I have a mod file - runs like a beauty from my C:\drive. Problems start when I try running the exact same file from a network drive. I think the issue is that dynare++ has trouble processing the long pathname (in my case it was: N:\Div2\ResearchAndAnalysis\Macrofinance\TimeVaryingRiskPremium\Working_Paper\HumpShapedShockChecks\LevStatBase.mod).
The 'symptoms', appear to vary depending on the dynare++ version.
In 1.3.2 the program entered an infinite loop. When I stopped it (after an hour or so), the .jnl file was 180MB long and did not get to the simulation bit (from the C:\drive the same file takes about 5secs to run (including simulations), and the jnl file is 20KB long.
In version 1.3.5 the program got to the simulation bit (at least according to the .jnl file) but the last line in the jnl was:
0.35937:S00173:-1.:01384: : Performing 1114923380 stochastic simulations for 1400268108 periods
Now, I get this message even though I don't modify dynare++ defaults (and even when I specify '--sim' and '--per' it doesn't overwrite these values). Unsurprisingly, after some time the whole thing crashes with the following error:
This application has requested the Runtime to terminate it in an unusual way.
Hope this is of some use.
Best wishes,
Pawel