[quote=“brun”]h2root in version 5.23/02 should work on 64 bits machines
Rene[/quote]
Hi All,
i was seeing precisely the same error in 5.22… i downloaded 5.23/02, ran ‘./configure linuxx8664gcc’ and compiled using ‘make -j2’, all of which worked fine.
root itself runs fine.
*******************************************
* *
* W E L C O M E to R O O T *
* *
* Version 5.23/02 26 February 2009 *
* *
* You are welcome to visit our Web site *
* http://root.cern.ch *
* *
*******************************************
ROOT 5.23/02 (trunk@27619, Mar 31 2009, 10:58:00 on linuxx8664gcc)
CINT/ROOT C/C++ Interpreter version 5.17.00, Dec 21, 2008
but h2root still crashes…
cat /etc/redhat-release....
Red Hat Enterprise Linux Server release 5.3 (Tikanga)
gfortran --version:
GNU Fortran (GCC) 4.1.2 20080704 (Red Hat 4.1.2-44)
gcc --version:
gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-44)
here’s the crash…
h2root d_urqmd_dau200_0.2.hst
*** Break *** segmentation violation
(no debugging symbols found)
Attaching to program: /proc/29811/exe, process 29811
(no debugging symbols found)...done.
(no debugging symbols found)...done.
(no debugging symbols found)...done.
(no debugging symbols found)...done.
(no debugging symbols found)...done.
(no debugging symbols found)...done.
(no debugging symbols found)...done.
(no debugging symbols found)...done.
(no debugging symbols found)...done.
[Thread debugging using libthread_db enabled]
[New Thread 0x2b6687e7a130 (LWP 29811)]
(no debugging symbols found)...done.
(no debugging symbols found)...done.
(no debugging symbols found)...done.
0x0000003313c99335 in waitpid ()
from /lib64/libc.so.6
#1 0x0000003313c3c2e1 in do_system () from /lib64/libc.so.6
#2 0x00002b66838c3dec in TUnixSystem::StackTrace ()
from /home/llope/root_build523/lib/libCore.so
#3 0x00002b66838c131a in TUnixSystem::DispatchSignals ()
from /home/llope/root_build523/lib/libCore.so
#4 <signal handler called>
#5 0x00002b668720f97e in mzstor_ ()
from /home/llope/root_build523/lib/libminicern.so
#6 0x00002b668720fd9f in mzpaw_ ()
from /home/llope/root_build523/lib/libminicern.so
#7 0x00002b66871fbbac in hlimit_ ()
from /home/llope/root_build523/lib/libminicern.so
#8 0x000000000040449f in main ()
The program is running. Quit anyway (and detach it)? (y or n) [answered Y; input not from terminal]
Detaching from program: /proc/29811/exe, process 29811
i attached the hbook file that i am trying to convert. it opens & plays fine in paw 2.14/04…
any ideas? many thanks!
bill
EDIT 1:--------------------
i just downloaded and compiled 5.18/00. worked fine.
now h2root runs w/out crashing. but there is still some problem…
i ran this command:
h2root d_urqmd_dau200_0.3.hst d_urqmd_dau200_0.3.root 0 0 1024
Converting directory //example
TFile** d_urqmd_dau200_1.root HBOOK file: d_urqmd_dau200_1.hst converted to ROOT
TFile* d_urqmd_dau200_1.root HBOOK file: d_urqmd_dau200_1.hst converted to ROOT
KEY: TH1F h100;1 geant_id
KEY: TH1F h110;1 b for all evts (fm)
KEY: TH1F h111;1 b for selected evts (fm)
[...snip...]
KEY: TProfile h8031;1 [r]fo vs pt, p
KEY: TProfile h8032;1 [r]fo vs pt, n
KEY: TProfile h8033;1 [r]fo vs pt, d
KEY: TProfile h8041;1 tfo vs pt, p
[...snip...]
i can see non-zero numbers in the stats box, but only the TProfiles show something in the pad when the histogram is drawn (either by clicking in the TBrowser or by e.g. h8031->Draw();
that is, the TH1F’s that h2root made have nonzero stats entries but the histogram seems to be empty…
i attached the root file that h2root (5.18/00) wrote from the rz file that i already attached…
EDIT 2:--------------------
o.k. - i just grabbed h2root.cxx and hntvar2.f from the 5.18/00 tree and wrote a little Makefile and built h2root myself…
now h2root works perfectly. no crashes, and i see all TH1F’s just like they look when viewed in PAW. (?!?)
so while i really have no idea what i fixed, it’s working now…
i’m happy to provide any additional details if anyone thinks that’d be helpful…
cheers
d_urqmd_dau200_0.3.root (124 KB)
d_urqmd_dau200_0.3.hst.zip (25 KB)