Message: Re: I made a dumb mistake during installation Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: I made a dumb mistake during installation 

Forum: Installation and Configuration
Re: None I made a dumb mistake during installation (Marco Pinto)
Re: None Re: I made a dumb mistake during installation (Ben Morgan)
Date: 18 May, 2010
From: Marco Pinto <Marco Pinto>

Thank you Ben for your reply.

Well, I definitely have something wrong in my Geant4. Since it is easier to show what is happening than to explain, here you have my steps and attachments:

1) make clean
2) source /home/marco/geant4.9.3/env.sh (see file setGeant4_9.3.txt)
3) make
4) ldd application (see lddGeant4_9.3.txt)
5) make clean
6) source /home/marco/geant4.9.3.p01/env.sh (see file setGeant4_9.3.p01.txt)
7) make
8) ldd application (see lddGeant4_9.3.p01.txt)

As you can see in step 8, the patched version is getting libraries from the Geant4 9.3 folder, but since the patched version is giving correct results (comparing with other computers), I must assume that when I installed Geant4 9.3.p01 some libraries were put in Geant4 9.3 (Geant4 9.3 is giving wrong results).

To make my problem even clearer, these were my steps in installation:

1) I already had Geant4 9.3 since February or so
2) I installed Geant4 9.3.p01 in a different folder
3) When the installation finished, I realized that I had forgotten to verify printenv | grep G4 and there were the environment variables from Geant4 9.3
4) I erased the two folders
5) I installed Geant4 9.3
6) I installed Geant4 9.3.p01

In theory, the two versions of Geant4 should only share the CLHEP libraries.

My path is defined in .bashrc with:

#Geant4
export G4WORKDIR=~/g4work
export LD_LIBRARY_PATH=~/CLHEP/lib/:$LD_LIBRARY_PATH

#ROOT
export ROOTSYS=~/ROOT/root
export PATH=$ROOTSYS/bin:$PATH
export LD_LIBRARY_PATH=$ROOTSYS/lib:$LD_LIBRARY_PATH    
export DYLD_LIBRARY_PATH=$ROOTSYS/lib:$DYLD_LIBRARY_PATH

I do the source command manually to choose which version of Geant4 I want to run.


Thanks,
Marco





   Attachment:
      http://hypernews.slac.stanford.edu/HyperNews/geant4/get/AUX/2010/05/18/04.01-13275-setGeant4_9.3.txt
      http://hypernews.slac.stanford.edu/HyperNews/geant4/get/AUX/2010/05/18/04.01-18600-lddGeant4_9.3.txt
      http://hypernews.slac.stanford.edu/HyperNews/geant4/get/AUX/2010/05/18/04.01-59148-setGeant4_9.3.p01.txt
      http://hypernews.slac.stanford.edu/HyperNews/geant4/get/AUX/2010/05/18/04.01-4922-lddGeant4_9.3.p01.txt

 Add Message Add Message
to: "Re: I made a dumb mistake during installation"

 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 ]