Re: [ROOT] Problem with tutorials

From: Rene Brun (Rene.Brun@cern.ch)
Date: Sat May 19 2001 - 19:53:36 MEST


Hi Christian,

-Problem 1
 Did you run gmake before executing Event?
 To run Event, do:
    Event 400 0 7 1
    Event 400 0 7 20

-Problem 2
 I will look into this.

-Problem 3
 I have no problems on my machine. The result is

root [0] .x principal.C
*************************************************
*         Principal Component Analysis          *
*                                               *
*  Number of variables:             10          *
*  Number of data points:            10000      *
*  Number of dependent variables:    3          *
*                                               *
*************************************************
 Variable #  | Mean Value |   Sigma    | Eigenvalue
-------------+------------+------------+------------
           1 |      4.998 |      1.002 |     0.3002 
           2 |      8.022 |      2.816 |     0.1045 
           3 |      1.992 |      1.987 |     0.1018 
           4 |      5.008 |     0.9893 |     0.1014 
           5 |      8.045 |      2.811 |    0.09937 
           6 |      2.019 |      2.049 |    0.09853 
           7 |       4.99 |      1.008 |    0.09747 
           8 |  1.751e+05 |  1.013e+05 |     0.0968 
           9 |  1.501e+05 |  8.689e+04 |  1.079e-08 
          10 |  1.401e+05 |  8.108e+04 |  4.884e-09 

<TCanvas::MakeDefCanvas>: created default TCanvas with name c1
Writing on file "pca.C" ... done

Rene


On Sat, 19 May 2001 cstrato@EUnet.at wrote:

> Dear Rene, dear Damir
> 
> On my PowerBook running LinuxPPC 2000, I have just installed root
> 3.01/02.
> 
> When testing the tutorials I found the following problems:
> 
> 1, Running Event, I get:
> [christian@book test]$ ./Event
> ./Event: error in loading shared libraries:
> ./Event: undefined symbol: Class__5Track
> 
> 2, Running .x tree4.C, I get:
>  event_not_split =
>  *** Break *** segmentation violation
> 
> 3, Running .x principal.C, I get:
> root [0] .x principal.C
> *************************************************
> *         Principal Component Analysis          *
> *                                               *
> *  Number of variables:             10          *
> *  Number of data points:            10000      *
> *  Number of dependent variables:    3          *
> *                                               *
> *************************************************
> Error in <TPrincipal::MakeEigenVectors>: too many iterations
> 
>  Variable #  | Mean Value |   Sigma    | Eigenvalue
> -------------+------------+------------+------------
>            1 |      4.998 |      1.002 |        nan
>            2 |      8.022 |      2.816 |        nan
>            3 |      1.992 |      1.987 |        nan
>            4 |      5.008 |     0.9893 |        nan
>            5 |      8.045 |      2.811 |        nan
>            6 |      2.019 |      2.049 |        nan
>            7 |       4.99 |      1.008 |        nan
>            8 |  1.751e+05 |  1.013e+05 |        nan
>            9 |        nan |        nan |        nan
>           10 |  1.401e+05 |  8.108e+04 |        nan
> 
> <TCanvas::MakeDefCanvas>: created default TCanvas with name c1
> Writing on file "pca.C" ... done
> root [1] Error in <RootX11ErrorHandler>: BadValue (integer parameter out
> of range for operation) (XID: 0)
> Error in <RootX11ErrorHandler>: BadDrawable (invalid Pixmap or Window
> parameter) (XID: 54526624)
> 
> Is this Mac-specific or a general problem?
> 
> Thank you in advance for your help.
> 
> Best regards
> Christian
> ----------------------------------
> C.h.r.i.s.t.i.a.n  S.t.r.a.t.o.w.a
> V.i.e.n.n.a,  A.u.s.t.r.i.a
> 
> 
> 



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:46 MET