Message: Re: Setting RNG Seeds in MT main() not working Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Setting RNG Seeds in MT main() not working 

Forum: Multithreading
Re: None Setting RNG Seeds in MT main() not working (William Donahue)
Date: 28 Jun, 2018
From: William Donahue <William Donahue>

So after stumbling on this https://geant4-userdoc.web.cern.ch/geant4-userdoc/UsersGuides/ForToolkitDeveloper/html/OOAnalysisDesign/Multithreading/mt.html#random-number-generation-seeding-in-mt

I built a quick wrapper for the G4MTRunManager. It has two functions one adding more. It seems to be doing what I want, however I will need to try it out on a larger run. The one thing I noticed with this method was that the seeds are all huge with a lot of trailing zeros (i.e. 22408038600000000,40027647400000000). I don't know if this is because of my choice of RNG generator for the seeds or something else.

The files with the implementation are attached, does anyone have any better suggestions?

   Attachment:
      http://hypernews.slac.stanford.edu/HyperNews/geant4/get/AUX/2018/06/28/07.25-54086-CustomMTRunManager.cpp
      http://hypernews.slac.stanford.edu/HyperNews/geant4/get/AUX/2018/06/28/07.25-83071-wallModel.cc
      http://hypernews.slac.stanford.edu/HyperNews/geant4/get/AUX/2018/06/28/07.25-71416-CustomMTRunManager.h

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

1 Note: Re: Setting RNG Seeds in MT main() not working   (William Donahue - 27 Aug, 2018)
 Add Message Add Message
to: "Re: Setting RNG Seeds in MT main() not working"

 Subscribe Subscribe

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