Message: Re: How to implement random engines in GEANT4 projects? Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: How to implement random engines in GEANT4 projects? 

Keywords: Ranecu random
Forum: Run Management
Re: None How to implement random engines in GEANT4 projects? (Giulia De Bonis)
Date: 11 Oct, 2007
From: Jeremy McCormick <Jeremy McCormick>

Hi,

Geant4 requires CLHEP as an external dependency and CLHEP_BASE_DIR must point to a valid CLHEP installation, or the build procedure will fail.

http://proj-clhep.web.cern.ch/proj-clhep/

If your colleagues built Geant4 using the recommended procedures, you should be able to setup the Geant4 environment as follows, assuming you are on Linux using g++.

. $G4INSTALL/.config/bin/Linux-g++/env.sh

Otherwise, find out what setup scripts your group is using for their Geant4 environment.

I'm not sure why the Geant4 build system does not check upfront that CLHEP_BASE_DIR is set in the environment before proceeding. The errors you receive when it isn't set can certainly be confusing.

--Jeremy

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

1 None: Re: How to implement random engines in GEANT4 projects?   (Giulia - 12 Oct, 2007)
 Add Message Add Message
to: "Re: How to implement random engines in GEANT4 projects?"

 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 ]