Recsis: Difference between revisions

From CLONWiki
Jump to navigation Jump to search
Line 27: Line 27:
  cd $CLAS_ROOT/builds
  cd $CLAS_ROOT/builds
  rm PRODUCTION
  rm PRODUCTION
  ln -s release-4-17 PRODUCTION
  ln -s release-f8-2 PRODUCTION


  source $CLAS_ROOT/builds/PRODUCTION/packages/cms/clon.cshrc PRODUCTION
  source $CLAS_ROOT/builds/PRODUCTION/packages/cms/clon.cshrc PRODUCTION

Revision as of 11:06, 30 March 2010

The CLAS reconstruction and analysis package (RECSIS) has been modified to read data from the CLAS event transfer (ET) system so users can perform full-fledged track reconstruction and other complex analyses during data acquisition on a down-scaled subset of the incoming data. The capability of reading the ET system is part of the standard RECSIS so that users performing offline analyses can quickly and easily generate a version of their code that can be used during data collection.

Send questions, complaints, flames, and such to gilfoyle@jlab.org.

Building RECSIS

For example to build release-4-17 do following on clon04 machine:

cd /usr/local/clas/offline/clas/builds
mkdir release-f8-2
cd release-f8-2
setenv CVSROOT /u/group/clas/clas_cvs
cvs co online_source
cd packages
setenv MYSQL_INCLUDE_PATH /usr/include/mysql
setenv MYSQL_LIB_PATH /usr/lib/mysql
gmake lib ONLINE=YES
gmake exe ONLINE=YES

Running RECSIS

First, point PRODUCTION to the desired release, for example:

To start RECSIS_ONLINE use following commands (for our example):

setenv CLAS_ROOT /usr/local/clas/offline/clas
cd $CLAS_ROOT/builds
rm PRODUCTION
ln -s release-f8-2 PRODUCTION
source $CLAS_ROOT/builds/PRODUCTION/packages/cms/clon.cshrc PRODUCTION
setenv LD_LIBRARY_PATH /usr/lib/mysql:"$LD_LIBRARY_PATH"
#setenv LD_LIBRARY_PATH $CODA/SunOS_sun4u/lib:"$LD_LIBRARY_PATH"
setenv RECSIS_RUNTIME $CLON_PARMS/recon/
chdir /usr/clas/archives/hist/recon
setenv LD_LIBRARY_PATH .:${LD_LIBRARY_PATH}
$CLAS_ROOT/builds/PRODUCTION/bin/LinuxRHEL5/recon -a clasprod $CLON_PARMS/recon/recon.tcl