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

Question 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)
Date: 12 Apr, 2018
From: Mikhail <Mikhail>

Sorry, but I am somewhat slow in understanding: the link provided explains how the seeding supposed to work. It tells nothing about impossibility to initialize worker seeds from master input. I had a look on the code: there seems to be everything necessary for initialization using "engine->flatArray(const int size, double* vect)" in the master, and these arrays must be different for different master thread initial seeds. But they get always the same numbers! Seems like "engine->flatArray" uses uninitialized (not one selected by G4Random::setTheEngine()) engine.

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   (Mikhail - 12 Apr, 2018)
(_ 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