Difference between revisions of "CLAS6 Software"

From New IAC Wiki
Jump to navigation Jump to search
 
Line 28: Line 28:
 
class_offsets.inc was undefined
 
class_offsets.inc was undefined
  
==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
 
 
then compile eloss
 
 
then online_dummy
 
 
then pid
 
 
then scaler
 
 
clas_offsets.inc?
 
 
then seb
 
 
 
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
 
  
 +
scons install fails here
  
  

Latest revision as of 04:07, 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
yum install mysql-devel.i386

Compiling utilities

compile detector/ subdirectory files

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


could not compile reconstruction subdirectory files because class_offsets.inc was undefined


scons install fails here


CLAS_CED


Hall_B