openucx / ucx

Unified Communication X (mailing list - https://elist.ornl.gov/mailman/listinfo/ucx-group)
http://www.openucx.org
Other
1.1k stars 416 forks source link

Stuck at waitForEvents #10015

Open pereverges opened 1 month ago

pereverges commented 1 month ago

Describe the bug

The code gets stuck in a worker.waitForEvents. I do not understand how this is possible if this is non blocking. Moreover I perform worker.close(), while it is block and it still does not jump to the following line. Any idea why this happens

Steps to Reproduce

Setup and versions

Additional information (depending on the issue)

yosefe commented 1 month ago

waitForEvents is calling ucp_worker_wait which is a blocking function call. can you try calling worker.signal() to make it exit?