H2root error

I compiled ROOT 5.20 on Scientific Linux 5.2.

When using h2root I have the following error:

Error in TTree::Fill: Failed filling branch:h1.timesfb, nbytes=-1
This error is symptomatic of a Tree created as a memory-resident Tree
Instead of doing:
TTree *T = new TTree(…)
TFile *f = new TFile(…)

Notice that compiling ROOT in the same exact way on a fedora machine works fine.

Any help appreciated, I’d really like to use this fast machine to convert ntuples to ROOT.

thanks,
mauri

Hi Mauri,

Can you provide the smallest set of files to reproduce this problem (and possibly access to an SL 5.2 machine)?

Thanks,
Philippe

Hi Philippe,

digging more, I found that the problem only exists if I’m trying to write out on a samba-mounted disk. If I use the same h2root but write on the local disk, I don’t have any troubles.

That does it for me, as I can move the files later. But I think it would be nice to fix anyway.

Let me know if you need more details or want me to try more things.
I can’t give anybody access to the machines, we have tight security at this lab.

thanks,
mauri

There is nothing we can do on our side if you have a problem with your Samba file system ::slight_smile:

Rene