[d2n-analysis-talk] building d2n analysis dir
posik at jlab.org
posik at jlab.org
Fri Sep 24 10:49:36 EDT 2010
Hi all,
So I am tying to build my own analysis directory on the d2n machine.
Following the instructions on the wiki, I was able to pull every thing
from the d2n cvs, compile both the analyzer and BigBite lib. I changed
the d2n_root environment to point at the correct directory. However
when I go to replay a file, the analyzer starts out normally and then
crashes. It says that it can not find vzcorr_1 in the database, but it
is there and I think it is looking at the correct DB directory, because
it finds the correct run.dat. Here is the error that I get:
<THaRunParameters::ReadDatabase>: Opened database file
/home/posik/d2n_analysis/d2n/DB/db_run.dat
OBJ: THaRun RUN_1258
Run number: 1258
Run date: Tue Feb 10 15:24:54 2009
Requested event range: 0-1000
Max # scan: 5000
CODA file: /cache/mss/halla/e06014/raw//e06014_1258.dat.0
Segment number: 0
Warning in <TClass::TClass>: no dictionary for class BdataLoc is available
Do not use special planes! (Shower detector)
tree: nlevels = 11, nplanes = 6, zpos =
0,0.00768725,0.154855,0.161942,0.992913,1
patterns = 8561, links = 17043, bytes = 409980
maxlinklen = 20, hashsize = 16384, hashbytes = 131072
time = 0.07 s
Filling tree...done
tree: nlevels = 11, nplanes = 6, zpos =
0,0.00764433,0.159574,0.166621,0.992953,1
patterns = 8533, links = 16985, bytes = 408612
maxlinklen = 19, hashsize = 16384, hashbytes = 131072
time = 0.06 s
Filling tree...done
tree: nlevels = 11, nplanes = 6, zpos =
0,0.0113934,0.153408,0.16977,0.983639,1
patterns = 8479, links = 16904, bytes = 406344
maxlinklen = 21, hashsize = 16384, hashbytes = 131072
time = 0.06 s
Filling tree...done
Error in <"::THaAnalysisObject::LoadDB>: Required key "vzcorr_1" missing
in the database.
*** Break *** segmentation violation
Attaching to program: /proc/24197/exe, process 24197
warning: .dynamic section for "/usr/lib/libz.so.1" is not at the expected
address
warning: difference appears to be caused by prelink, adjusting expectations
warning: .dynamic section for "/lib/libcrypt.so.1" is not at the expected
address
warning: difference appears to be caused by prelink, adjusting expectations
warning: .dynamic section for "/usr/lib/libXext.so.6" is not at the
expected address
warning: difference appears to be caused by prelink, adjusting expectations
warning: .dynamic section for "/usr/lib/libXft.so.2" is not at the
expected address
warning: difference appears to be caused by prelink, adjusting expectations
warning: .dynamic section for "/usr/lib/libXau.so.6" is not at the
expected address
warning: difference appears to be caused by prelink, adjusting expectations
warning: .dynamic section for "/usr/lib/libXdmcp.so.6" is not at the
expected address
warning: difference appears to be caused by prelink, adjusting expectations
warning: .dynamic section for "/usr/lib/libfontconfig.so.1" is not at the
expected address
warning: difference appears to be caused by prelink, adjusting expectations
Does anyone have any ideas what may be causing this crash? Even if I copy
the db_BB.optics.dat file into my replay directory, I get the same error.
I think I have my root-setup right:
#for the merged DB, use this to point to the new DB:
export d2n_root="$HOME/d2n_analysis_copy"
# Configure ROOT
case `/bin/hostname` in
*.jlab.org )
echo "Use JLab's ROOT installation..."
use root
;;
*)
echo "Use local ROOT installation."
echo "!!! Is this really what you want? !!!"
export ROOTSYS="/usr"
export SHLIB_PATH="$ROOTSYS/lib"
export LD_LIBRARY_PATH="$ROOTSYS/lib:$LD_LIBRARY_PATH"
export PATH="$ROOTSYS/bin:$PATH"
;;
esac
export ANALYZER="${d2n_root}/analyzer"
export ANALYZER_BIN="$ANALYZER"
export ANALYZER_LIB="$ANALYZER"
export PATH="$ANALYZER_BIN:$PATH"
export LD_LIBRARY_PATH="${d2n_root}/analyzer:$ROOTSYS/lib"
#export LD_LIBRARY_PATH="$ANALYZER_LIB:$LD_LIBRARY_PATH"
#we're using the updated DB here! make sure we have $d2n_root here:
export DB_DIR="${d2n_root}/d2n/DB"
export ANALYZER_DB="$DB_DIR"
Thanks
Matt
More information about the d2n-analysis-talk
mailing list