Difference between revisions of "Setup g2p environment"
Line 1: | Line 1: | ||
This is the wiki guide you to setup root,analyzer,geant4 environment on ifarm, also you can use it on your level 1/level 2 64bit computer if you have already mount 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 you to setup root,analyzer,geant4 environment on ifarm, also you can use it on your level 1/level 2 64bit computer if you have already mount 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. | ||
− | 1.Setup root | + | 1.Setup root. |
You can simply type the command of: | You can simply type the command of: | ||
source /w/halla-1/g2p/software/setupg2penv.csh | source /w/halla-1/g2p/software/setupg2penv.csh | ||
Line 9: | Line 9: | ||
source ~/.cshrc | source ~/.cshrc | ||
the geant4 and cernlib are also included in there. | the geant4 and cernlib are also included in there. | ||
− | 2.Setup analyzer | + | 2.Setup analyzer. |
Same step as above, You can add a line below to your ~/.cshrc file: | Same step as above, You can add a line below to your ~/.cshrc file: | ||
source /w/halla-1/g2p/software/analyzer.csh | source /w/halla-1/g2p/software/analyzer.csh | ||
− | 3. | + | 3.Setup analyzer database. |
You need to define the database by yourself, just add a line below to your ~/.cshrc file: | You need to define the database by yourself, just add a line below to your ~/.cshrc file: | ||
setenv DB_DIR your_database | setenv DB_DIR your_database | ||
change your_database to the path of the database you want. If you don't define it ,the default database will be at /w/halla-1/g2p/software/analyzer_DB/DB | change your_database to the path of the database you want. If you don't define it ,the default database will be at /w/halla-1/g2p/software/analyzer_DB/DB |
Revision as of 16:09, 19 August 2011
This is the wiki guide you to setup root,analyzer,geant4 environment on ifarm, also you can use it on your level 1/level 2 64bit computer if you have already mount 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.
1.Setup root. You can simply type the command of:
source /w/halla-1/g2p/software/setupg2penv.csh
to use root enviroment temporarily, or you can add a line below to your ~/.cshrc file:
source /w/halla-1/g2p/software/setupg2penv.csh
and the type the command of:
source ~/.cshrc
the geant4 and cernlib are also included in there. 2.Setup analyzer. Same step as above, You can add a line below to your ~/.cshrc file:
source /w/halla-1/g2p/software/analyzer.csh
3.Setup analyzer database. You need to define the database by yourself, just add a line below to your ~/.cshrc file:
setenv DB_DIR your_database
change your_database to the path of the database you want. If you don't define it ,the default database will be at /w/halla-1/g2p/software/analyzer_DB/DB