Message: Re: How to switch the used visualisation tool of a Geant4 simulation for cmake-installed Geant? Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: How to switch the used visualisation tool of a Geant4 simulation for cmake-installed Geant? 

Forum: Installation and Configuration
Re: Question How to switch the used visualisation tool of a Geant4 simulation for cmake-installed Geant? (Erik Dietz-Laursonn)
Date: 10 Feb, 2012
From: John Allison <John Allison>

Dear Erik

The recommended way at the moment is to build Geant4 libraries with CMake (which requires no environment variables) and then, perhaps in another window, establish an application build environment by sourcing geant4make.(c)sh in the CMake build directory. Then proceed to build your application as before, and switch vis drivers as before.

As an example, here is my environment script sourced in a (ba)sh shell:

 export G4WORKDIR=/Users/johna/GEANT4/svn/geant4_build
 source /Users/johna/GEANT4/svn/geant4_build/geant4make.sh
 export PATH=~/GEANT4/svn/geant4_build/bin/Darwin-g++/:$PATH
 export DYLD_LIBRARY_PATH=${DYLD_LIBRARY_PATH}:${XERCESCROOT}/lib
 export G4LEVELGAMMADATA=/Users/johna/GEANT4/data/PhotonEvaporation2.2
 export G4NEUTRONXSDATA=/Users/johna/GEANT4/data/G4NEUTRONXS1.0
 export G4LEDATA=/Users/johna/GEANT4/data/G4EMLOW6.23
 export G4NEUTRONHPDATA=/Users/johna/GEANT4/data/G4NDL3.16
 export G4RADIOACTIVEDATA=/Users/johna/GEANT4/data/RadioactiveDecay3.3
 export G4ABLADATA=/Users/johna/GEANT4/data/G4ABLA3.0
 export G4PIIDATA=/Users/johna/GEANT4/data/G4PII1.2
 export G4REALSURFACEDATA=/Users/johna/GEANT4/data/RealSurface1.0

Does this address your problem?

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

1 None: Re: How to switch the used visualisation tool of a Geant4 simulation for cmake-installed Geant?   (Erik Dietz-Laursonn - 13 Feb, 2012)
(_ None: Re: How to switch the used visualisation tool of a Geant4 simulation for cmake-installed Geant?   (Tom Roberts - 13 Feb, 2012)
(_ None: Re: How to switch the used visualisation tool of a Geant4 simulation for cmake-installed Geant?   (John Allison - 13 Feb, 2012)
 Add Message Add Message
to: "Re: How to switch the used visualisation tool of a Geant4 simulation for cmake-installed Geant?"

 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 ]