RACF NuWa-1.6.0 Status

From Daya Bay
Jump to navigation Jump to search

Optimized 1.6.0 in /afs/rhic.bnl.gov/dayabay/software/releases for MDC10a

20100427 activities

  1. Create directories for build of external files (details) in /afs/rhic.bnl.gov/dayabay/software/releases/external
     $ ln -s   /data0/djaffed/releases/1.6.0/external/tarFiles . ;  ln -s  /data0/djaffed/releases/1.6.0/external/build . 
  2. Get latest dybinst
    $  svn export http://dayabay.ihep.ac.cn/svn/dybsvn/installation/trunk/dybinst/dybinst
  3. Set optimized CMTCONFIG
    export CMTCONFIG="x86_64-slc5-gcc43-opt"
  4. dybinst is fooled by pre-existing NuWa-1.6.0 directory and doesn't do svn checkout correctly. So do it by hand
    svn checkout  http://dayabay.ihep.ac.cn/svn/dybsvn/NuWa/releases/NuWa-1.6.0
    while in /afs/rhic.bnl.gov/dayabay/software/releases/
  5. ./dybinst 1.6.0 all
  6. Get the appropriate muon data file
    1. cd NuWa-1.6.0/
    2. mkdir data ; cd data/
    3. cp -r /afs/rhic.bnl.gov/dayabay/software/trunk/opt/NuWa-trunk/data/DryRunGenerator .
  7. Make installation optimized by default

20100428

  1. Disable non-linear effects in EsIdealFeeTool as Dan recommends in Trac ticket #452
/dayabay/u/djaffed/dayabay/offline/NuWa-trunk/people/djaffe/MDR/test
$ nuwa.py -n 100 -R 20020 -G $DryDet -m "MDC10a.runLED_Muon.FullChain -s 20020 -E 1.0 -N 6 -L 885000 -l 750 -w 2010-01-03T10:23:00" -o out/run20020.root >& log/run20020.log &
[2] 30681

20100427 Debug 1.6.0 in /data0/djaffed/dbg

$  svn export http://dayabay.ihep.ac.cn/svn/dybsvn/installation/trunk/dybinst/dybinst
A    dybinst
Export complete.
$ ./dybinst 1.6.0 all
  1. Installation complete. Make softlink to get muon data files.
  2. Test run 20011 under gdb, 88500 LED photons per event. Eventually it crashes with
DetSimProc                            INFO Local DetSimProc
ToolSvc.DayaBayAD1_ACU_C_GammaCa...   INFO Generate 22466 photons
GiGaGeo.DsPmtSensDet                  INFO DsPmtSensDet EndOfEvent 19 collections.
GiGaGeo.DsPmtSensDet                  INFO 5: DsPmtSensDet//DayaBayAD1 has 2 hits
ElecSimProc                           INFO Processing hit collections
ToolSvc.EsIdealFeeTool                INFO Processing 705 pmt pulses.
*** glibc detected *** /data0/djaffed/dbg/external/Python/2.5.4/x86_64-slc5-gcc43-dbg/bin/python: double free or corruption (out): 0x000000002fd3d840 ***

It never comes back to the (gdb) prompt, when I look at the process status, it is "sleeping". So interrupt with ^C :

Program received signal SIGINT, Interrupt.
0x00002b6e0885dd3e in __lll_lock_wait_private () from /lib64/libc.so.6
(gdb) where
#0  0x00002b6e0885dd3e in __lll_lock_wait_private () from /lib64/libc.so.6
#1  0x00002b6e087f5944 in _L_lock_15349 () from /lib64/libc.so.6
#2  0x00002b6e087f4901 in free () from /lib64/libc.so.6
#3  0x00002b6e07cc8219 in _dl_map_object_deps () from /lib64/ld-linux-x86-64.so.2
#4  0x00002b6e07cccccd in dl_open_worker () from /lib64/ld-linux-x86-64.so.2
#5  0x00002b6e07cc8eb6 in _dl_catch_error () from /lib64/ld-linux-x86-64.so.2
#6  0x00002b6e07ccc66c in _dl_open () from /lib64/ld-linux-x86-64.so.2
#7  0x00002b6e08886940 in do_dlopen () from /lib64/libc.so.6
#8  0x00002b6e07cc8eb6 in _dl_catch_error () from /lib64/ld-linux-x86-64.so.2
#9  0x00002b6e08886aa7 in __libc_dlopen_mode () from /lib64/libc.so.6
#10 0x00002b6e0886414a in init () from /lib64/libc.so.6
#11 0x00002b6e07ee4a33 in pthread_once () from /lib64/libpthread.so.0
#12 0x00002b6e088641e7 in backtrace () from /lib64/libc.so.6
#13 0x00002b6e087e980f in __libc_message () from /lib64/libc.so.6
#14 0x00002b6e087f0ce2 in _int_free () from /lib64/libc.so.6
#15 0x00002b6e087f490c in free () from /lib64/libc.so.6
#16 0x00002b6e0da19039 in __gnu_cxx::new_allocator<int>::deallocate (this=0x7fff965a4900, __p=0x2fd3d840)
    at /usr/lib/gcc/x86_64-redhat-linux6E/4.3.2/../../../../include/c++/4.3.2/ext/new_allocator.h:98
#17 0x00002b6e0da1906b in std::_Vector_base<int, std::allocator<int> >::_M_deallocate (this=0x7fff965a4900, __p=0x2fd3d840, __n=2069)
    at /usr/lib/gcc/x86_64-redhat-linux6E/4.3.2/../../../../include/c++/4.3.2/bits/stl_vector.h:150
#18 0x00002b6e0da190ac in ~_Vector_base (this=0x7fff965a4900) at /usr/lib/gcc/x86_64-redhat-linux6E/4.3.2/../../../../include/c++/4.3.2/bits/stl_vector.h:136
#19 0x00002b6e0da190ed in ~vector (this=0x7fff965a4900) at /usr/lib/gcc/x86_64-redhat-linux6E/4.3.2/../../../../include/c++/4.3.2/bits/stl_vector.h:300
#20 0x00002b6e3db632be in EsIdealFeeTool::generateOneChannel (this=0x22fe89b0, channelId=@0x7fff965a4cb0, channelPulses=@0x2dd49af0, channel=@0x23d602c0, simTime=1.0344000000000001e-05, 
    svcMode=@0x7fff965a4c50) at ../src/components/EsIdealFeeTool.cc:342
#21 0x00002b6e3db64f5b in EsIdealFeeTool::generateSignals (this=0x22fe89b0, pulses=0x2fbfd450, elecCrate=0x2c866bf0) at ../src/components/EsIdealFeeTool.cc:173
#22 0x00002b6e3be1e07f in ElecSimProc::ES_execute (this=0x225b9ef0) at ../src/ElecSimProc.cc:605
#23 0x00002b6e3be202bb in ElecSimProc::execute (this=0x225b9ef0) at ../src/ElecSimProc.cc:220
#24 0x00002b6e13f9afdb in Algorithm::sysExecute (this=0x225b9ef0) at ../src/Lib/Algorithm.cpp:558
#25 0x00002b6e3be307d2 in DybAlgorithm<DayaBay::ElecHeader>::sysExecute (this=0x225b9ef0) at /data0/djaffed/dbg/NuWa-1.6.0/dybgaudi/InstallArea/include/DybKernel/DybAlgorithmImp.h:58
#26 0x00002b6e131aecd1 in GaudiSequencer::execute (this=0x225b5710) at ../src/lib/GaudiSequencer.cpp:100
#27 0x00002b6e1f2fd4c7 in Stage::nextElement (this=0x225b3f00, pIStgData=@0x7fff965a59b8, erase=true) at ../src/Stage.cc:48
#28 0x00002b6e3ad85678 in TrigReadProc::execute (this=0x225b10f0) at ../src/TrigReadProc.cc:123
#29 0x00002b6e13f9afdb in Algorithm::sysExecute (this=0x225b10f0) at ../src/Lib/Algorithm.cpp:558
#30 0x00002b6e3ad8d048 in DybAlgorithm<DayaBay::SimReadoutHeader>::sysExecute (this=0x225b10f0) at /data0/djaffed/dbg/NuWa-1.6.0/dybgaudi/InstallArea/include/DybKernel/DybAlgorithmImp.h:58
#31 0x00002b6e131aecd1 in GaudiSequencer::execute (this=0x225a6fd0) at ../src/lib/GaudiSequencer.cpp:100
#32 0x00002b6e1f2fd4c7 in Stage::nextElement (this=0x225a5700, pIStgData=@0x7fff965a62c8, erase=true) at ../src/Stage.cc:48
#33 0x00002b6e3ab2dc2e in SingleLoader::execute (this=0x225a2df0) at ../src/SingleLoader.cc:75
#34 0x00002b6e13f9afdb in Algorithm::sysExecute (this=0x225a2df0) at ../src/Lib/Algorithm.cpp:558
#35 0x00002b6e3ab3260c in DybAlgorithm<DayaBay::ReadoutHeader>::sysExecute (this=0x225a2df0) at /data0/djaffed/dbg/NuWa-1.6.0/dybgaudi/InstallArea/include/DybKernel/DybAlgorithmImp.h:58
#36 0x00002b6e131aecd1 in GaudiSequencer::execute (this=0x2259e620) at ../src/lib/GaudiSequencer.cpp:100
#37 0x00002b6e1f2fd4c7 in Stage::nextElement (this=0x2259cd40, pIStgData=@0x7fff965a6cd8, erase=true) at ../src/Stage.cc:48
#38 0x00002b6e1f2e954e in Sim15::execute (this=0x224b4930) at ../src/Sim15.cc:102
#39 0x00002b6e13f9afdb in Algorithm::sysExecute (this=0x224b4930) at ../src/Lib/Algorithm.cpp:558
#40 0x00002b6e13145355 in GaudiAlgorithm::sysExecute (this=0x224b4930) at ../src/lib/GaudiAlgorithm.cpp:161
#41 0x00002b6e14015fb8 in MinimalEventLoopMgr::executeEvent (this=0x222f5820) at ../src/Lib/MinimalEventLoopMgr.cpp:450
#42 0x00002b6e19f774c8 in EventLoopMgr::executeEvent (this=0x222f5820, par=0x0) at ../src/ApplicationMgr/EventLoopMgr.cpp:295
#43 0x00002b6e19f787e2 in EventLoopMgr::nextEvent (this=0x222f5820, maxevt=100) at ../src/ApplicationMgr/EventLoopMgr.cpp:375
#44 0x00002b6e140148fa in MinimalEventLoopMgr::executeRun (this=0x222f5820, maxevt=100) at ../src/Lib/MinimalEventLoopMgr.cpp:400
#45 0x00002b6e19f77285 in EventLoopMgr::executeRun (this=0x222f5820, maxevt=100) at ../src/ApplicationMgr/EventLoopMgr.cpp:311
#46 0x00002b6e19ee17bb in ApplicationMgr::executeRun (this=0x21eaad90, evtmax=100) at ../src/ApplicationMgr/ApplicationMgr.cpp:867
#47 0x00002b6e16cb6a8c in method_3367 (retaddr=0x22da16f0, o=0x21eab5c8, arg=@0x21ee3f30) at ../x86_64-slc5-gcc43-dbg/dict/GaudiKernel/dictionary_dict.cpp:4283
#48 0x00002b6e124a805e in ROOT::Cintex::Method_stub_with_context (context=0x21ee3f20, result=0x22d9ba20, libp=0x22d9bac0) at cint/cintex/src/CINTFunctional.cxx:269
#49 0x00002b6e1a5b204a in ?? ()
#50 0x0000000000000000 in ?? ()