CLAS6 Software: Difference between revisions

From New IAC Wiki
Jump to navigation Jump to search
Foretony (talk | contribs)
Foretony (talk | contribs)
 
(4 intermediate revisions by the same user not shown)
Line 16: Line 16:


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


=Compiling utilities=
=Compiling utilities=


;First compile the map manager
==compile detector/ subdirectory files==
 
;programs in the detector subdirectory compile just fine from the detector subdirectory level
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
could not compile reconstruction subdirectory files because
class_offsets.inc was undefined


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