OpRelease
Jump to navigation
Jump to search
!!! OpRec crashes on lhepsun13 !!! ... This is now fixed, in the OpRelease3.0_FWM directory of OpRelease... (FWM,04092008).
How to use OpRelease
To be done ... (on lheppc46 /terabig/guillaume/op_work_210708.tgz)
Step One (Only for the first time of installation):
Creating your WorkDirectory. Usually /idisk/scanner/(USERNAME)/OpWork Example for me (meisel)
export IAMUSER=meisel mkdir -p /idisk/scanner/$IAMUSER/OpWork
Copy the TEMPLATE OpWork structure from my directory.
cd /idisk/scanner/$IAMUSER//OpWork rsync -avu /home/scanner/idisk/meisel/OpWork_TEMPLATE/ .
Step Two (Every time you use it):
Then source the right shells for getting ROOT version correctly.
source /idisk/scanner/OpRelease3.0_FWM/shell.sh source /idisk/scanner/OpRelease3.0_FWM/cmtsetup.sh source /idisk/scanner/OpRelease3.0_FWM/setup.sh
Then youre ready to start (OpSim, OpDigit, OpRec, OpBrickFinder tested up to now):
Step Three (Event generation, analysis and so on....):
OpBrickFinder
Example: Look at my Event:
cd /idisk/scanner/$IAMUSER/OpWork/OpBrickFinder source setup.sh eventViewer.exe -e 22883999
OpSim...
Since I did not yet go into details of OpRelease structure I cannot tell you more about this, but later.
How to install OpRelease
Link to the official web page : [1]
Preliminary remarks : - OpRelease does not work on 64 bits system - Tested with gcc 3.4 & gcc 4.1 - Needs Root 5.12, pythia6 & cernlib 2003
GL's package of OpRelease 3.0 (contains OpRelease 3.0 & all external software needed) : on lheppc46 /terabig/guillaume/OpRelease3.0gl_210708.tgz
Installation (on lhepsun13 for example) :
- Copy/transfert OpRelease3.0gl_210708.tgz on /idisk/scanner
- Untar OpRelease3.0gl_210708.tgz -> Get a directory called OpRelease
- Pythia6 installation : on /terabig/idisk/scanner untar pythia6.tar.gz which is in OpRelease/sources go /idisk/scanner/pythia6 and do makePythia6.linux libPythia6.so has been created in this directory
- ROOT 5.12 installation : untar OpRelease/sources/root_v5.12.00g.source.tar.gz, you will get a root directory rename root to root_512_src copy OpRelease/sources/config.status.512 into root_512_src edit this file : replace /work/root512 by idisk/scanner/root512 check if path to instantclient & pythia6 are correct remove --with-gsl-libdir & --with-gsl-incdir in root_512_src directory do configure `cat config.status.512` Enable support must contain at least : cern,exceptions,oracle,pythia6 Do make (if you have one processor) ; make -j2 (to use 2 cores) ; make -j4 (to use 4 cores) Wait till it crashes If no crash do make cintdlls Wait till it crashes If no crash do make install If no crash ROOT installation finished -> Bravo !
- Configuration file requirements : Edit OpRelease/requirements file Set the variable PC_LOCAL (line 28 & 30) which corresponds to the OpRelease path Set the variable OPERA_RELEASE (line 31) which corresponds to OpRelease version
- Configuration file shell.sh : Remark : If you are using csh remplace the export to setenv and remove all = Edit OpRelease/shell.sh file & adapt the variables to your configuration
- kits installation : In OpRelease directory do source shell.sh ( Don't care about the following message : -bash: OpRelease/kits/CMT/v1r18p20061003/mgr/setup.sh: No such file or directory -bash: OpRelease/setup.sh: No such file or directory ) Go in OpRelease/kits directory Check & update the links to cern (cernlibs) and root (link to ROOT 5.12) Go in vmc/geant3 directory & do make -> When it's finished & OK you should see Generating /idisk/scanner/OpRelease/kits/vmc/geant3/lib/tgt_linux/libgeant321.so Go in CLHEP directory, do configure --prefix=/idisk/scanner/OpRelease/kits/CLHEP and after make && make install and in CLHEP/lib dir do ln -s libCLHEP-g++.1.8.2.0.a libCLHEP.a Go in CMT/v1r18p20061003/mgr directory, do INSTALL then do what is written
- OpRelease installation : Go in OpRelease directory and do source shell.sh (Only -bash: OpRelease/setup.sh: No such file or directory should be displayed) Open compileAll.sh file and do line by line till it crashes If no crash, finished