Message: Re: Geant4 error propagation package in MT Frameworks Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Idea Re: Geant4 error propagation package in MT Frameworks 

Forum: Multithreading
Re: Question Geant4 error propagation package in MT Frameworks (Thomas Hauth)
Re: Idea Re: Geant4 error propagation package in MT Frameworks (Andrea Dotti)
Re: None Re: Geant4 error propagation package in MT Frameworks (Thomas Hauth)
Date: 29 Apr, 2014
From: Andrea Dotti <Andrea Dotti>

Hello Thomas,

For a MT application you should use G4MTRunManagerKernel in master instead of sequential G4RunManagerKernel.

My proposal is that you take a look at G4MTRunManager and G4WorkerRunManager and try to do something similar to what is done there.

G4Region and G4ParticleTable are shared but there may be thread-local references in the code.

The error you get is due to the fact that the workers are trying to define their own geometry, while they should share it from the master thread.

Andrea

 Add Message Add Message
to: "Re: Geant4 error propagation package in MT Frameworks"

 Subscribe Subscribe

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