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

README example hangs on projection creation. #7

Closed
fonnesbeck opened this issue Feb 15, 2019 · 2 comments
Closed

README example hangs on projection creation. #7

fonnesbeck opened this issue Feb 15, 2019 · 2 comments
Labels
enquiry This issue involves an enquiry or question maintenance Optimization/improvement/extension

Comments

@fonnesbeck
Copy link

I've installed PRISM on both a Debian Linux system and a macOS machine successfully, however executing the example shown in the README file does not run to completion. Specifically, it hangs at the projection creation step with 0% completed.

Here is a screen shot of what I am seeing:

image

I assume the example is meant to run quickly, given how small it is.

In both cases PRISM was installed in a conda virtualenv with Python 3.7.2, using pip on the cloned master branch.

@1313e
Copy link
Owner

1313e commented Feb 16, 2019

@fonnesbeck Thanks for your report.
I just tried this on a Windows machine using Python 3.7.2 and simply installing PRISM from the master branch.
The projections are created for me with no problem.

However, for the 2D projections, it tries to create a large Latin-Hypercube that satisfies a bunch of criteria (as is done by default in PRISM) and this causes it take a very long time to create one.
Guess it is finally time to relax that condition a bit.

I just changed the default value of the associated parameter on all branches.
Can you try to run the example again?

@1313e 1313e added enquiry This issue involves an enquiry or question maintenance Optimization/improvement/extension and removed bug Something is not working as intended labels Feb 16, 2019
@fonnesbeck
Copy link
Author

OK, it appears to run now (about 120s/hypercube) on my MacBook Pro. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enquiry This issue involves an enquiry or question maintenance Optimization/improvement/extension
Projects
None yet
Development

No branches or pull requests

2 participants