Message: Re: Simulation hang up Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Simulation hang up 

Forum: Multithreading
Re: Question Simulation hang up (bilal)
Date: 26 Mar, 2015
From: Makoto Asai <Makoto Asai>

Hi,

In the MT mode, to minimize the communication traffic between the master thread and the worker threads, not individual events but bunch of events are tasked to each worker thread. For your case, given you are running as much as 10^8 events, by default a bunch contains about 10^4 events. Thus, once your run comes to the end, some threads have finished their assigned events while some others might have almost full bunch of 10^4 events. This could explain why you saw some threads became quiet at the end of the run. You may want to try the following UI command to see if it gives any difference.

/run/eventModulo NNN 1

where NNN means the size of the bunch (number of events tasked at one time). Please do not make NNN too small, as it would affect to the performance seriously. The second argument "1" should give you much better performance for an application with many events with relatively low-energy primary particles, though this option would not guarantee event-by-event reproducibility.

I note here that what I discuss here does not explain the occasional crash you saw at the end of run, and it might be some other reason for this.

Hope this helps,
Makoto

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

1 Feedback: Re: Simulation hang up   (bilal - 26 Mar, 2015)
(_ None: Re: Simulation hang up   (Makoto Asai - 26 Mar, 2015)
(_ Feedback: Re: Simulation hang up   (bilal - 27 Mar, 2015)
(_ Idea: Re: Simulation hang up   (Andrea Dotti - 27 Mar, 2015)
(_ None: Re: Simulation hang up   (bilal - 31 Mar, 2015)
(_ Idea: Re: Simulation hang up   (Andrea Dotti - 31 Mar, 2015)
(_ Feedback: Re: Simulation hang up   (bilal - 31 Mar, 2015)
(_ Idea: Re: Simulation hang up   (Andrea Dotti - 31 Mar, 2015)
(_ None: Re: Simulation hang up   (bilal - 31 Mar, 2015)
 Add Message Add Message
to: "Re: Simulation hang up"

 Subscribe Subscribe

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