Message: Re: Assigning number of events to each thread Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Assigning number of events to each thread 

Forum: Multithreading
Re: None Assigning number of events to each thread (Nick Patterson)
Date: 27 Apr, 2015
From: Makoto Asai <Makoto Asai>

Hello, There is no built-in easy method to do this. You need to inherit G4MTRunManager and create your own run manager to do this. But, if load balancing over threads is what you need, since G4MTRunManager is tasking to each worker thread only a small number of events at a time, if a particular thread is busy for other processes, this thread won't be tasked much of events. Makoto

 Add Message Add Message
to: "Re: Assigning number of events to each thread"

 Subscribe Subscribe

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