Difference between revisions of "Setup g2p environment"
From Hall A Wiki
Line 1: | Line 1: | ||
− | This is the wiki guide to setup geant4 environment on ifarm, also you can use it on your level 1/level 2 64bit computer if you have already mounted the g2p work disk on it. For bash shell, you need to build the environment by yourself, the software can be found in /w/halla-1/g2p/software. | + | This is the wiki guide to setup geant4 environment on ifarm, also you can use it on your level 1/level 2 64bit computer if you have already mounted the g2p work disk on it. For bash shell, you need to build the environment by yourself, the software can be found in /w/halla-1/g2p/software. For analyzer/root environment setup see this [https://hallaweb.jlab.org/wiki/index.php/G2p_Replay_Guide Howto]. |
− | 1.Setup root. | + | 1.Setup root/geant4. |
− | You can simply type the command | + | You can simply type the command: |
source /w/halla-1/g2p/software/setupg2penv.csh | source /w/halla-1/g2p/software/setupg2penv.csh | ||
− | to use root enviroment temporarily, or you can add | + | to use the root enviroment temporarily, or you can add the line below to your ~/.cshrc file: |
source /w/halla-1/g2p/software/setupg2penv.csh | source /w/halla-1/g2p/software/setupg2penv.csh | ||
and then type the command: | and then type the command: | ||
source ~/.cshrc | source ~/.cshrc | ||
− |
Revision as of 11:55, 13 September 2011
This is the wiki guide to setup geant4 environment on ifarm, also you can use it on your level 1/level 2 64bit computer if you have already mounted the g2p work disk on it. For bash shell, you need to build the environment by yourself, the software can be found in /w/halla-1/g2p/software. For analyzer/root environment setup see this Howto.
1.Setup root/geant4. You can simply type the command:
source /w/halla-1/g2p/software/setupg2penv.csh
to use the root enviroment temporarily, or you can add the line below to your ~/.cshrc file:
source /w/halla-1/g2p/software/setupg2penv.csh
and then type the command:
source ~/.cshrc