Re: [ROOT] histogram file merging chokes on large number of files

From: Rene Brun (Rene.Brun@cern.ch)
Date: Thu Jan 31 2002 - 09:47:10 MET


Hi Frank,

The macro $ROOTSYS/tutorials/hadd.C was designed to merge a few files,
not thousands. The way the macro works implies that
all the files must be simulateneously open and this should be changed.
Meanwhile, I suggest you use a 2 steps procedure, merging only a few hundred
files in one go.

Rene Brun

Frank Filthaut wrote:
> 
>   Dear ROOTers,
> 
> I've been happily using the hadd.C macro to merge histogram files.
> However, now I have a specific case where I'd like to merge some
> 800 files. This fails with the message "... Too many open files".
> 
> What is the limit? How can I see that? And what can I do about
> this without having to split up this procedure in several steps?
> Many thanks.
>                         Regards,
>                          Frank
> 
> -----------------------------------------------------------
> F. Filthaut
> University of Nijmegen, Dept. of Exptl. High Energy Physics
> Toernooiveld 1             | Phone: +31-24 365 23 08
> 6525 ED Nijmegen           | Fax:   +31-24 365 21 91
> The Netherlands            | FNAL:  +1-630 840 21 77



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