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

phylosignal uses BLAS, which defaults to all cores #10

Open
nick-youngblut opened this issue Jun 10, 2020 · 0 comments
Open

phylosignal uses BLAS, which defaults to all cores #10

nick-youngblut opened this issue Jun 10, 2020 · 0 comments

Comments

@nick-youngblut
Copy link

I've been running phylosignal v1.3 on my research group's server, and phyloSignal() uses all cores on our machine by default. I can make enemies by hogging the server. If I use RhpcBLASctl::blas_set_num_threads(), then the number of threads used phyloSignal() is kept in check. So, it appears the phyloSignal will use BLAS (at least on a certain OS config) and default to all threads.

It might be good to include in the docs that RhpcBLASctl::blas_set_num_threads() can be used to prevent all cores from being used.

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

1 participant