Message: Re: Master thread seed ignored in working threads Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Warning Re: Master thread seed ignored in working threads 

Forum: Multithreading
Re: Question Master thread seed ignored in working threads (Mikhail)
Re: Feedback Re: Master thread seed ignored in working threads (Andrea Dotti)
Re: Question Re: Master thread seed ignored in working threads (Mikhail)
Date: 12 Apr, 2018
From: Mikhail <Mikhail>

I discovered that creation of G4MTRunManager* runManager = new G4MTRunManager(); reset previously initialized seed to zero! In order to recover from this ERROR you have to call once more previously defined engine (e.g.CLHEP::HepRandomEngine* myEngine= new CLHEP::HepJamesRandom; ) and set the seed once again: myEngine-> setSeed(myseed,4);

Then it works!

Someone need to find place where the seed is reset to zero. Otherwise the generation of many files is meaningless.

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

1 Warning: Re: Master thread seed ignored in working threads   (Andrea Dotti - 12 Apr, 2018)
(_ Note: Re: Master thread seed ignored in working threads   (Mikhail - 13 Apr, 2018)
 Add Message Add Message
to: "Re: Master thread seed ignored in working threads"

 Subscribe Subscribe

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