Difference between revisions of "CLAS6 Software"

From New IAC Wiki
Jump to navigation Jump to search
Line 18: Line 18:
  
 
=Compiling utilities=
 
=Compiling utilities=
 +
 +
;First compile the map manager
  
 
cd /home/daq/src/CLAS/clas6-trunk/io/Map
 
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
 
scons clas6inc=/home/daq/src/CLAS/clas6-trunk/include
Line 31: Line 35:
 
cd /home/daq/src/CLAS/clas6-trunk/io/fpack
 
cd /home/daq/src/CLAS/clas6-trunk/io/fpack
 
cd /home/daq/src/CLAS/clas6-trunk/io/fputil
 
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
  
  

Revision as of 03:39, 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

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