Difference between revisions of "CLAS6 Software"

From New IAC Wiki
Jump to navigation Jump to search
Line 19: Line 19:
 
=Compiling utilities=
 
=Compiling utilities=
  
 +
==compile detector/ subdirectory files==
 
;programs in the detector subdirectory compile just fine from the detector subdirectory level
 
;programs in the detector subdirectory compile just fine from the detector subdirectory level
 +
 +
==compile c_cern in the reconstruction subdirectory==
 +
  
  

Revision as of 03:49, 6 October 2011

Check out software

required environmental variables

setenv PYTHONPATH /home/daq/src/local/lib/python
setenv PATH /home/daq/src/local/bin:$PATH
setenv PREFIX /home/daq/src/CLAS/clas6-trunk


svn co https://jlabsvn.jlab.org/svnroot/clas/build_system/trunk /home/daq/src/local/lib/python/build_system
ln -s /home/daq/src/local/lib/python/build_system/scripts/platform /home/daq/srclocal/bin/

As root I did

yum install {tcl,tk,cernlib,mysql,libstdc++,glibc,zlib,blas}-devel.i*86

Compiling utilities

compile detector/ subdirectory files

programs in the detector subdirectory compile just fine from the detector subdirectory level

compile c_cern in the reconstruction subdirectory

First compile the map manager

cd /home/daq/src/CLAS/clas6-trunk/io/Map

then you can compile c_bos_io

scons clas6inc=/home/daq/src/CLAS/clas6-trunk/include

cd /home/daq/src/CLAS/clas6-trunk/io/bos

scons clas6inc=/home/daq/src/CLAS/clas6-trunk/include clas6lib=/home/daq/src/CLAS/clas6-trunc/lib/clas6 scons clas6inc=/home/daq/src/CLAS/clas6-trunk/include clas6lib=/home/daq/src/CLAS/clas6-trunc/lib/clas6 install

cd /home/daq/src/CLAS/clas6-trunk/io/bosio cd /home/daq/src/CLAS/clas6-trunk/io/fpack cd /home/daq/src/CLAS/clas6-trunk/io/fputil

now you can build c_bos_io

cd /home/daq/src/CLAS/clas6-trunk/io/c_bos_io


CLAS_CED


Hall_B