Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting "Killed" message after forecasting completes #108

Closed
aharmsen opened this issue Oct 11, 2020 · 2 comments
Closed

Getting "Killed" message after forecasting completes #108

aharmsen opened this issue Oct 11, 2020 · 2 comments

Comments

@aharmsen
Copy link

aharmsen commented Oct 11, 2020

I'm running the Model1010("ss20") model with all defaults, and loading in FRED data dynamically. The whole system seems to run without any issues, and then when it gets to 2500 of 2500 blocks in the forecasting step, the program exits with a "Killed" message and no more information. The OS is Ubuntu 20.04, and I have about 10GB RAM allocated to this virtual machine.

See image attached:
image

Any idea what might be going on?

@ShlokG
Copy link
Member

ShlokG commented Oct 13, 2020

This is likely a memory kill message that occurs after the code finishes forecasting. Try running a forecast on fewer particles (say 100) and lower the forecast_jstep and forecast_block_size to 1 and 10 respectively. I would also recommend using "ss10" instead of "ss20" and make sure there is a line "using ModelConstructors" at the start (the package allows changing Settings in the manner below). The code before your forecast will look like this (including initializing the model):

using DSGE, ModelConstructors
m = Model1010("ss10")
m <= Setting(:forecast_jstep, 1)
m <= Setting(:forecast_block_size,10)
m <= Setting(:n_particles, 100)

Let me know if that doesn't help.

@aharmsen
Copy link
Author

this fixed the problem, thank you very much for your help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants