-
Notifications
You must be signed in to change notification settings - Fork 119
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
[Mac OS X] n-body taking 100% of the CPU #82
Comments
100% CPU indeeds sounds like you are using the interpreter backend. A couple of things spring to mind:
Let me know if either of those help. |
Uhm, tried to reinstall the example, got this (inside accelerate-example folder):
whilst if I try to run nbody with that flag I get:
Yesterday I've also tried this command, forcing the interpreter:
But apparently nothing changed, the program used 100% of the CPU nevertheless o.O Cheers, |
Try I also pushed some patches that will display what backends are available and indicate which is currently being used, so it should be more obvious what is going on. |
Using A. |
Ok, interesting bits here. Running this fails (inside accelerate-examples):
Usual run-of-the-mill cabal-hell errors I believe :) Tracking down the problem I've updated the
..which solved itself updating the latest Running a plain
|
Ok, new updates:
Now finally the cuda implementation shows up, but...
|
Yes! Success! Thans a lot :)
A. |
Great! Thanks also for the excellent write-up. I've added a link here from the troubleshooting section of the wiki as others might find this useful. -T |
Hi all,
probably this is related to #67, but if I run the
accelerate-nbody
I get an unresponsive graphical app which sucks up 100% of the CPU.I believe is not even using the CUDA backend. Any thoughts/debugging methods/solutions?
The text was updated successfully, but these errors were encountered: