Re: [ROOT] Problems with ROOT v3.04.01 ?

From: Rene Brun (Rene.Brun@cern.ch)
Date: Wed Dec 18 2002 - 12:42:49 MET


Hi Daniel,

On Tue, 17 Dec 2002, Daniel Cussol wrote:

> Hello everybody,
>  I have tried the new release of ROOT. I am facing some problems I did not
> have on version 3.03.09.
> 
>  1.When compiling a routine or a class using TVector3, I obtain the
>    following warning:
> 
> cxx: Info: /cern/root/include/TMatrix.h, line 343: function
>           "AreCompatible(const TMatrix &, const TMatrix &)" redeclared
>           "inline" after being called
> inline Bool_t AreCompatible(const TMatrix &im1, const TMatrix &im2)
> --------------^
> 

This message is normal if you use cxx6. This is a compiler problem.

>  2. When I use a TTreeViewer tu analyse the data in a TTree using a class,
> the behaviour of the TTree is somewhat erratic: ROOT stops with a
> segmentation fault a random times.

I cannot reproduce this.

>  
>  3. when plotting bidimensional histograms, the "ZCOL" option generates
> floating point exceptions each time the TPad is updated (after a zoom on
> one axis or after defining a Graphical Cut). 

I cannot reproduce this.

> 
>  4. when I use a TSelector (here Exo1) to analyse a TTree (generated with
> former versions of ROOT, 3.03.09 or 3.02.07), I obtain the following 
> warning: 
> 
> cxx: Warning: /data2/cussol/Jour5/./uaaCHdKIP.cxx, line 61: statement
> either is
>           unreachable or causes unreachable code
>       Assert(sizeof(::Exo1) == sizeof(ROOT::Shadow::Exo1));
> ------^

This warning will disappear if you use 3.04/02.

Note that cxx6.0,1,2 have many problems. When I generate the binary
tar files for this compiler, I always compile the graf/src/*.cxx in debug 
mode. Otimized code does not work.
If you do not use the precompiled libraries from the CERn web site,
and recompile teh code yourself, i stronly suggest to compile the graf
classes in debug mode.

Rene Brun

> 
> The TTree I use and the Classes Fragment (not forget to load the
> libPhysics.so library) and Event are present in the tarball at the
> following URL: 
> 
> 	http://caeinfo.in2p3.fr/root/Formation/Jour5.tar.gz
> 
> 
>  I am the only one to face these problems/features? Could it be due to the
> system I use (TRUE64 on a Dec/Compaq)? 
> 
>  I run root v3.04.01 compiled with cxx on a DEC/COMPAQ alpha under TRUE64.
> 
>  Thank you for your help.
> 
> 
> Daniel CUSSOL
> 
> LPC Caen
> Boulevard du Marechal Juin
> 14050 CAEN CEDEX
> 
> e-mail : cussol@in2p3.fr
> Tel    : +33-(0)2-31-45-29-73
> FAX    : +33-(0)2-31-45-25-49
> 
> 
> 
> 



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:24 MET