InstallationInstallation for Linux:Installation under GNU/Linux PC requires X11, g++, g77 compilers and zip/unzip. To compile the package, you need first to install:
|
If you do not have CLHEP and ROOT installed, you should follow to this installation procedure.
Below I describe only the procedure assuming that CLHEP and ROOT libraries are already installed.
(a) specify the location of the CERNLIB fortran library (default is CERN_DIR = /cern/pro/lib);
(b) specify the location of the CLHEP library, library itself and the include files; (default is CLHEP_DIR= /cern/CLHEP/lib and CLHEPINC= /cern/CLHEP/include );
This can be done in .bashrc file:
sh family:
export
RUNMC=<path>/RunMCv[version]
export PATH=$RUNMC/bin:$PATH
csh
family:
setenv RUNMC <path>/RunMCv[version]
setenv PATH ${RUNMC}/bin:${PATH}
rehash
(replace <path> by the location of RunMCv[version])
Type “echo $RUNMC”, to be sure that you set this variable properly. You should see the following directories: “bin”, “build”, “proj”, “main”, “doc”.
It is also useful to check your ROOT installation. Do “cd $ROOTSYS/test” and type “make”. If the ROOT is correctly installed, all examples should be compiled without problems.
Then, go to $RUNMC/build and type "./install.sh" to compile the package. After first compilation, next compilations should take significantly less time
You can remove the program binaries and object files from the source code directory by typing "make cleanall'. To remove only object files, do "make clean"; To remove Monte-Carlo-related files, type "make cleanmc"
Go to the $RUNMC/proj directory and type "runmc" to start the graphical user interface (JRunMC), i.e. just type "runmc" (or "jrunmc")
1) Test ROOT installation as : cd $RUNMC/build/test; ./check_root.sh
2) Test CLHEP installation as : cd $RUNMC/build/test; ./check_clhep.sh
In case of error messages, reinstall these libraries. Note that I cannot provide the support in case of ROOT/CLHEP problems, so please study the original web pages of ROOT and CLHEP class library;
Read the instruction on this web page
S.Chekanov chekanov@mail.desy.de