-
Notifications
You must be signed in to change notification settings - Fork 176
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
prepfold runs many processes regardless of -ncpus setting #203
Comments
Yikes! Yeah, I'm seeing the same thing. Bizarre. Can you tell me if you have OMP_NUM_THREADS set in your environment? I wonder if this is some library using threading by default? |
I don't have any OMP environment variables set. In case it helps here are the linked libraries:
|
So this is definitely due to including OpenMP in the build. You should be able to change this line in the top-level When I do that, I'm back to regular 100% CPU usage. I don't understand why this is happening, though, as I don't think it happened with the previous build with OpenMP! And you used to be able to turn OpenMP usage effectively off with the I'll continue investigating. |
The above solution did fix the issue. |
With the new version of PRESTO, we are finding that on our Ubuntu linux machine, prepfold is spawning 36 processes to do a simple fold. For example, this runs at at CPU percentage of 3600
This is the same if you add
-ncpus 2
, or whatever.Was there some change to the OpenMP code or something with the meson build that might cause this?
The text was updated successfully, but these errors were encountered: