Message: example: Cexmc preinit exception Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question example: Cexmc preinit exception 

Forum: Documentation and Examples
Date: 18 Oct, 2012
From: George Peterson <George Peterson>


I am attempting to run the example ChargeExchangeMC. It has compiled and linked, but when I attempt to run the executable, "ChargeExchangeMC -g" i receive the error:

 Geant4 version Name: geant4-09-05-patch-01    (20-March-2012)
                      Copyright : Geant4 Collaboration
                      Reference : NIM A 506 (2003), 250-303
                            WWW :

--- Cexmc --- Exception in PreInit phase. Probably you did not specify preinit macro or production model in it.

I am certain I either am not passing the correct information, or not in the correct format. I have read through the manual, and cannot find any help. I have attempted "ChargeExchangeMC -p preinit.mac" but receive the same error. I have also attempted "ChargeExchangeMC -i" with the same error.

Any help will be greatly appreciated.

Sincerely, George Peterson

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

1 None: Re: example: Cexmc preinit exception   (Luciano Pandola - 12 Nov, 2012)
 Add Message Add Message
to: "example: Cexmc preinit exception"

 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 ]