Linear Collider Forum

Home » Simulation » slic » number of events on command line
number of events on command line [message #2344] Mon, 17 November 2014 19:47 Go to previous message
Messages: 64
Registered: September 2004
Location: Tohoku University
I'm trying to produce some single particles to calibrate new detector variants.
This is with SLIC 3.1.4 as installed at CERN.
relevant parameters are
* Geant4 Command Queue *
/lcdd/url /afs/ 3_scint0.5x0.5/sidloi3_scint0.5x0.5.lcdd
/lcio/filename output.slcio
/control/execute /afs/ pi-/pi-_10GeV_theta5-175.mac
/run/beamOn 10000

<edit>Sorry, it seems that this forum likes to screw up file names. Please remove the space in the path names</edit>

This somehow starts two runs. The first run with 1 event, which is what is specified in the mac file. The second run then starts, but crashes with a core dump, because the output file already exists.

>>>> BeginRun <1>
LcioManager :: LCIO file already exists: ./output.slcio
RunManager :: Aborting run with return code: 4
PrimaryGeneratorAction :: Run was already aborted. Will not generate events.
>>>> EndEvent <0>

Run Timer: User=0s Real=0s Sys=0s
>>>> EndRun <1>
Tue Nov 18 04:34:13 2014 :: WARNING :: RunManager :: Generated 0 events but 10000 were requested.
Tue Nov 18 04:34:13 2014 :: OKAY :: SlicApplication :: SLIC is exiting.
return code: 4 => output file already exists

This looks like a bug to me. What is the recommended way to specify the number of events on the command line?

[Updated on: Mon, 17 November 2014 19:52]

Read Message
Read Message
Previous Topic:Slic bug for version v03-01-03
Goto Forum:

Current Time: Mon Jan 22 17:52:16 Pacific Standard Time 2018
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.1.
Copyright ©2001-2010 FUDforum Bulletin Board Software