Full source installation
... If binary installation cannot work, try this.
For the full source installation, you need to install followings:
Change directory to your working directory and then
Cygwin (for Windows user)
ONCRPC (for Windows user)
If you use Windows, you need
ONCRPC
to compile STDHEP.
STDHEP
- Copy and unpack tar.gz file under working directory.
- cd oncrpc/librpc
- gmake -f GNUmake
We need STDHEP version 4.09 or later. Please re-compile sith PIC option.SIO2root_common
Or, can simply follow
- Copy and unpack tar.gz file under working directory.
- cd stdhep-4.09 and type
. setup.sh (for sh / bash users) or
source setup.csh (for csh / tchs users)- cd src and gmake
(or make -f GNUmakefile.win32 for Windows
and you must have DEC Visual Fortran 5.0 or later)
This is the package to handle SIO data.ZLIB package
Copy and unpack tar.gz file under working directory.
If you already have libz.so, you do not need the followings. libz is required by SIO.PANDORA(For Unix Users)
- Copy and unpack tar.gz file under working directory. cd zlib-1.1.3 and Type the following command:
./configure- Edit Makefile : put the position-independent-compiling-option flag in CFLAGS
---> Add -fPIC (for gcc) or -KPIC (for Sun CC5), etc ... in CFLAGS- Type gmake install
(For Windows Users)
- Copy and unpack tar.gz file under working directory.
- cd zlib-1.1.3
- cp nt/Makefile.nt .
- cp nt/zlib.dnt .
- nmake -f Makefile.nt
PANDORA is the main generator for LCD study. Please install by followings:PANDORA_PYTHIA
- mkdir pandoraV2.2 under working directory.
- Copy and unpack tar.gz file under the pandoraV2.2 directory
- Download a patch file and apply it:
- cd pandoraV2.2
- patch -p1 < ../pandora22-20011004.patch
PANDORA_PYTHIA is the interface to PANDORA.XML4C
Copy and unpack tar.gz file under working directory.
XML4C is IBM's XML for C++ parser.CLHEP
This program is required to make detector geometry from XML-detector-geometry file for GEANT4.
The source and binary file can be obtained from here.
CLHEP is intended to be a set of HEP-specific foundation and utility classes such as random generators, physics vectors, geometry and linear algebra.GEANT4
CLHEP is required to compile GEANT4.
The source file can be obtained from here.
- Copy and unpack tar.gz file under working directory.
- cd CLHEP and run configure shell.
./configure or ./configure --prefix=$HOME, or ...- edit Makefile
put position independent compile option flag in CXXFLAGS.
CXXFLAGS=.. -fPIC (for gcc)
CXXFLAGS=.. -KPIC (for Sun CC5)- Type gmake install
- cd "where CLHEP library is installed"
- Type ln -s libCLHEP-XX.1.7.0.0.a libCLHEP.a
GEANT4 is a toolkit for the simulation of the passage of particles through matter.LCDROOT V3.5
The source file can be obtained from here.
- Copy and unpack tar.gz file under working directory.
- Set up various GEANT4 related environment variables. Here is an example.
- cd geant4.4.0/source
- Type gmake install
- Type gmake includes
Now you finally achieve here.
- Make sure root (or root.exe) executables is in your PATH.
- Copy and unpack tar.gz file under working directory.
- check the following environment variables:
ROOTSYS
LD_LIBRARY_PATH
(For Windows user: ROOTSYS should be written in Windows PATH name, like 'C:\root'.)- Type the following command and make sure
./configure --help
then type
./configure <arch> (<arch> should be same as your root compiled flag)- Type gmake