ROOT 4.04 and ROOT 5.10

Hello forum,
I’ve a problem! Up to yesterday I’d used a RedHat 7 version of operative system and the ROOT 4.04 version. Yesterday I moved to a Scientific Linux and a ROOT 5.10 version.
I have a code (it reads a TTree and fill some histograms), which works well on ROOT 4.04, but we I try to execute it on ROOT 5.10 I get these error messagges:

Warning in :
The StreamerInfo of class TTree read from file /yp/dsnuclex1_home3/nuclex/ntuple_05/fast_c5_6_6073_6080.r
oot
has the same version (=15) as the active class but a different checksum.
You should update the version to ClassDef(TTree,16).
Do not try to write objects with the current class definition,
the files will not be readable.

Warning in :
The StreamerInfo of class TBranch read from file /yp/dsnuclex1_home3/nuclex/ntuple_05/fast_c5_6_6073_6080
.root
has the same version (=10) as the active class but a different checksum.
You should update the version to ClassDef(TBranch,11).
Do not try to write objects with the current class definition,
the files will not be readable.

Warning in :
The StreamerInfo of class TLeaf read from file /yp/dsnuclex1_home3/nuclex/ntuple_05/fast_c5_6_6073_6080.r
oot
has the same version (=2) as the active class but a different checksum.
You should update the version to ClassDef(TLeaf,3).
Do not try to write objects with the current class definition,
the files will not be readable.

Warning in :
The StreamerInfo of class TCollection read from file /yp/dsnuclex1_home3/nuclex/ntuple_05/fast_c5_6_6073_
6080.root
has the same version (=3) as the active class but a different checksum.
You should update the version to ClassDef(TCollection,4).
Do not try to write objects with the current class definition,
the files will not be readable.

Warning in :
The StreamerInfo of class TBranchRef read from file /yp/dsnuclex1_home3/nuclex/ntuple_05/fast_c5_6_6073_6
080.root
has the same version (=1) as the active class but a different checksum.
You should update the version to ClassDef(TBranchRef,2).
Do not try to write objects with the current class definition,
the files will not be readable.

Warning in :
The StreamerInfo of class TRefTable read from file /yp/dsnuclex1_home3/nuclex/ntuple_05/fast_c5_6_6073_60 80.root
has the same version (=3) as the active class but a different checksum.
You should update the version to ClassDef(TRefTable,4).
Do not try to write objects with the current class definition,
the files will not be readable.

I’m not able to understand what is the problem (the compilation of the code works well in both cases, I get these messages when I execute the code)…
How can I solve it?

Thank you for your help,
Paola

Are you sure that you execute with ROOT5.10?
Check your PATH and LD_LIBRARY_PATH.

Rene

Yes, I check the root version: it’s Root5.10!
And also the PATH and the LD_LIBRARY_PATH are correct!

Regards

Paola

In your case this message is likely to be spurrious (and due to a bug in 5.10 which incorrectly calculated the (lack of) difference between the onfile and in memory version of the class.

Please try with 5.12.00. If this still happens, please send us an example reproducing the problem.

Thanks,
Philippe

At the moment I haven’t the 5.12 version, so I cannot check if the problem persists, but I’ll install it as soon as possible and I’ll let you know!
Thank you for your help

Regards
Paola