Message: Re: Problem with /random/resetEngineFrom ? Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Problem with /random/resetEngineFrom ? 

Keywords: random status
Forum: Run Management
Re: Question Problem with /random/resetEngineFrom ? (Ioannis Sechopoulos)
Date: 12 Jun, 2006
From: michel maire <michel maire>

 I started with examples/extended/electromagnetic/TestEm4, because the
 example and the output are simple, and the rndm saving and printing
 is done by default.

 I did 2 jobs : - 1 run of 10000 events
                - 2 runs : 4000 and 6001 events. 

 The rndm at the end of the 2 jobs is the same. 

 I attach the macros and the relevant part of the output.
 -----------------------------------------------------------------------
 # $Id: job1.mac 1.7 2006/01/31 17:02:43 maire Exp $
 #
 # Macro file for "TestEm4.cc"
 #
 /control/verbose  2
 /run/verbose 2
 #
 /run/beamOn 10000
 -----------------------------------------------------------------------
 # $Id: job2.mac 1.7 2006/01/31 17:02:43 maire Exp $
 #
 # Macro file for "TestEm4.cc"
 #
 /control/verbose  2
 /run/verbose 2
 #
 /run/beamOn 4000
 #
 /random/resetEngineFrom currentEvent.rndm
 #
 /run/beamOn 6001
 -----------------------------------------------------------------------
 job1.out

 /run/beamOn 10000

 ### Run 0 start.

 --------- Ranecu engine status ---------
 Initial seed (index) = 0
 Current couple of seeds = 9876, 54321
 ----------------------------------------
 Start Run processing.
 Run terminated.
 Run Summary
  Number of events processed : 10000
  User=0.19s Real=3.54s Sys=3.33s

 --------- Ranecu engine status ---------
 Initial seed (index) = 0
 Current couple of seeds = 2057480325, 775916712
 ----------------------------------------
 -----------------------------------------------------------------------
 job2.out

 /run/beamOn 4000

 ### Run 0 start.

 --------- Ranecu engine status ---------
 Initial seed (index) = 0
 Current couple of seeds = 9876, 54321
 ----------------------------------------
 Start Run processing.
 Run terminated.
 Run Summary
  Number of events processed : 4000
  User=0.04s Real=1.48s Sys=1.44s

 --------- Ranecu engine status ---------
 Initial seed (index) = 0
 Current couple of seeds = 179249721, 1373826991
 ----------------------------------------
 #
 /random/resetEngineFrom currentEvent.rndm
 #
 /run/beamOn 6001

 ### Run 1 start.

 --------- Ranecu engine status ---------
 Initial seed (index) = 0
 Current couple of seeds = 497314975, 343577341
 ----------------------------------------
 Start Run processing.
 Run terminated.
 Run Summary
  Number of events processed : 6001
  User=0.07s Real=3.03s Sys=2.93s

 --------- Ranecu engine status ---------
 Initial seed (index) = 0
 Current couple of seeds = 2057480325, 775916712
 ----------------------------------------

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

 Add Message Add Message
to: "Re: Problem with /random/resetEngineFrom ?"

 Subscribe Subscribe

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


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]