Message: Multithreaded App hangs in just one thread Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Multithreaded App hangs in just one thread 

Forum: Multithreading
Date: 23 May, 2016
From: Youming Yang <Youming Yang>

Hi all,

I have an application which I run in multithreaded mode on a linux cluster. Billions of histories are transported in parallel, however in general all of the threads except one will finish.

A trace of the master thread (threads0.png) shows that the program is stuck on "WaitForEndEventLoopWorkers"

Info threads (threads1.png) shows that all of my threads except one are finished.

Entering that one thread (threads2.png), it shows it is "stuck" on some post step processes. Sometimes it gets stuck at the function in the screenshot, sometimes it's stuck at the post step GPIL.

Has anyone encountered this before? It is somewhat confusing how other threads are able to simulate millions of particles without issue, but certain threads seem to hang.

Thank you, Ming

   Attachment:
      http://hypernews.slac.stanford.edu/HyperNews/geant4/get/AUX/2016/05/23/11.04-89349-threads0.png
      http://hypernews.slac.stanford.edu/HyperNews/geant4/get/AUX/2016/05/23/11.04-45743-threads1.png
      http://hypernews.slac.stanford.edu/HyperNews/geant4/get/AUX/2016/05/23/11.04-18646-threads2.png

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 Question: Re: Multithreaded App hangs in just one thread   (Andrea Dotti - 23 May, 2016)
(_ None: Re: Multithreaded App hangs in just one thread   (Youming Yang - 23 May, 2016)
(_ Feedback: Re: Multithreaded App hangs in just one thread   (Andrea Dotti - 24 May, 2016)
(_ None: Re: Multithreaded App hangs in just one thread   (Youming Yang - 25 May, 2016)
 Add Message Add Message
to: "Multithreaded App hangs in just one thread"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews