question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

1.1.0 release is not working for me

See original GitHub issue

Hi there, I had major issues on our compute cluster with the newest release of threadpoolctl. I don’t quite know what is happening because I don’t get any error messages and I have not been able to reproduce the error with a minimalist example.

What is happening is basically - nothing. I am spawning a bunch of background workers which are supposed to generate data and put it into some queue. The code that runs in the background workers is embedded in with threadpool_limits(limits=1, user_api="blas"): to limit the number of threads within each worker. This works perfectly on 1.0.0, but in 1.1.0 no data will arrive in the queue, no error message is printed, cpu is idle (so the really is nothing happening) and I get large core.304403 files in the folder the script was running in (as if there was a segmentation fault).

This issue only occurs on our compute cluster (LSF schedule with modular software stack (maybe this is the problem?), centOS). On my local workstation (Ubuntu 16.04) everything is fine.

I would greatly appreciate if you have any idea why this happens or how this could be resolved.

Best, Fabian

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:23 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
jeremiedbbcommented, Oct 25, 2019

It may be because before your were only invoking OpenMP in child processes whereas now you also invoke OpenMP in the parent process by using threadpoolctl. This is known to cause deadlocks, see https://stackoverflow.com/questions/49049388/understanding-openmp-shortcomings-regarding-fork

1reaction
FabianIsenseecommented, Sep 24, 2019

Apologies for the delay. I have allocated time on Friday to look into this in more depth. I will let you know how that goes. Best, Fabian

Read more comments on GitHub >

github_iconTop Results From Across the Web

Export fails after upgrading poetry to version 1.1.0 · Issue #3023
I am on the latest Poetry version. I have searched the issues of this repo and believe that this is not a duplicate....
Read more >
Troubleshooting ASP.NET Core 1.1.0 install problems
In this post I show how I fixed some issues I encountered when installing the .NET Core 1.1.0 preview 1 SDK. The 1.1.0...
Read more >
Node-RED 1.1.0-beta.1 released - News
The edit group dialogue isn't working for me, pressing "Done" doesn't close the dialogue. Colour changes work nevertheless after pressing " ...
Read more >
Update to 1.1.1 - multi-binding Actions no longer working
I can roll back to 1.1.0-pre.5 and everything starts working correctly again. Back to 1.1.1 and (even after a Unity restart) it's broken....
Read more >
Getting error while running `react-native run-android`
Core and Core-ktx Version 1.7.0 released yesterday(September 1, 2021), which is causing the issues. https://developer.android.com/jetpack/ ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found