You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The way multiprocessing.pool works seems to conflict with OpenMP. The resulting behavior is that the program gets stuck.
As @noambernstein suggested:
We could try to detect this and give a warning, or investigate whether there's some way to modify the multiprocessing.pool calls to allow for OpenMP in the subprocesses.
Tried to execute this piece of code, but it gets stuck when it reaches the point where it is trying to perform the actual calculations with the GAP.
The code works as expected when setting OMP_NUM_THREADS=1.
Interestingly, setting it to values greater than 1 again causes the script to get stuck.
The text was updated successfully, but these errors were encountered:
The way multiprocessing.pool works seems to conflict with OpenMP. The resulting behavior is that the program gets stuck.
As @noambernstein suggested:
We could try to detect this and give a warning, or investigate whether there's some way to modify the
multiprocessing.pool
calls to allow for OpenMP in the subprocesses.Related github-issue:
dmlc/xgboost#6617 (comment)
Concrete example:
Tried to execute this piece of code, but it gets stuck when it reaches the point where it is trying to perform the actual calculations with the GAP.
The code works as expected when setting
OMP_NUM_THREADS=1
.Interestingly, setting it to values greater than 1 again causes the script to get stuck.
The text was updated successfully, but these errors were encountered: