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

Using HARK in graphical environments or working around it #199

Closed
llorracc opened this issue Oct 15, 2018 · 4 comments
Closed

Using HARK in graphical environments or working around it #199

llorracc opened this issue Oct 15, 2018 · 4 comments
Assignees
Labels
Expertise: Cloud Computing Needs experience with using AWS EC2 or similar for executing HARK good first issue Simple first issue for new contributors. Tag: Sprints Type: Bug

Comments

@llorracc
Copy link
Collaborator

llorracc commented Oct 15, 2018

Just tried to install on an AWS EC2 instance, and on trying to use it got the error "HARK must be used in a graphical environment."

In fact, there are a number of ways in which someone might want to use Econ-ARK/HARK tools without a graphical front end. Most notably, someone might want to offload some compute-intensive stuff to AWS or another platform, let it run and generate results, and then collect those results. This could even include figures; matplotlib can be used without a graphical environment (the figures do not render but can be saved).

A test case would be to run any of the do_min.py files in the REMARK repo. These should be executable from within the appropriate directory just by the command-line command ipython do_min.py -- which has been tested and found to work on full-blown systems. (A good choice might be BufferStockTheory/do_min.py).

However, it would also be useful to know how someone who DOES want to use interactive graphical tools in HARK could set up a VM that would satisfy whatever are the 'graphical environment' requirements. (I found that installing the full-blown Ubuntu/Xubuntu desktop was sufficient, but unclear if necessary -- and it took a while to figure out how to do that).

@shaunagm shaunagm changed the title HARK must be used in a graphical environment? Using HARK in graphical environments or working around it Apr 27, 2019
@llorracc llorracc added good first issue Simple first issue for new contributors. Expertise: Cloud Computing Needs experience with using AWS EC2 or similar for executing HARK labels Apr 29, 2019
@MridulS
Copy link
Member

MridulS commented Aug 22, 2019

I can look into this.

@llorracc
Copy link
Collaborator Author

Great -- the goal is basically to make it easy for people not very familiar with AWS or Google Compute Platform to spin up a VM that can be used with all the graphical tools of HARK. A script or how-to is what is needed.

@sbenthall
Copy link
Contributor

Can this issue be closed?

@MridulS
Copy link
Member

MridulS commented Mar 17, 2020

Yeah, all good now.

@MridulS MridulS closed this as completed Mar 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Expertise: Cloud Computing Needs experience with using AWS EC2 or similar for executing HARK good first issue Simple first issue for new contributors. Tag: Sprints Type: Bug
Projects
None yet
Development

No branches or pull requests

4 participants