Message: Program does not terminate with /random/saveThisRun Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Program does not terminate with /random/saveThisRun 

Forum: Run Management
Date: 19 Aug, 2010
From: Neoh <Neoh>

Hi,

I use macro files to execute my simulation on g4.9.3p01. I intend to save the random number engine status at the end of run, so I have

  /random/saveThisRun

as my last command in my macro file. This runs fine when the number of beams is small. However, when the number of beamOn is large (eg more than 1 million) the program does not quit itself in the terminal. Normally my program will end with the following lines

  Graphics systems deleted.
  Visualization Manager deleting...

indicating memory store are freed. But in my case the lines above are not shown. It just hang there after processing the simulation. I can't even terminate with ctrl+C except open a new terminal.

I am quite convinced the command "/random/saveThisRun" causes the problem because everything runs smoothly until I use that command. Is it not ok to insert it after beamOn?

regards

Neoh

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

1 None: Re: Program does not terminate with /random/saveThisRun   (michel maire - 22 Aug, 2010)
(_ None: Re: Program does not terminate with /random/saveThisRun   (Neoh - 03 Sep, 2010)
 Add Message Add Message
to: "Program does not terminate with /random/saveThisRun"

 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 ]