[Gate-users] Merging muliple root files on cluster

Fernando Rannou fernando.rannou at usach.cl
Fri Oct 12 16:24:09 CEST 2012


Hello Bassim

I would invite to try our parallel solution for Gate. It requires MPI
and NFS on your cluster.
The generated root files don't need to be merged and can easily be processed
by the TChain facility.

Although it is not released yet, there are a couple of users already
using it with no problems.

Fernando



On Fri, Oct 12, 2012 at 6:38 AM, Marc Chamberland
<MarcChamberland at cmail.carleton.ca> wrote:
> Hi!
>
> Just use the hadd utility (it comes with Root). For example, if you want to merge output1.root and output2.root into one file called mergedOutput.root, you would type:
>
>> hadd mergedOutput.root output1.root output2.root
>
> Hope this helps!
> Marc
>
>
>
> __________________________
>
> Marc Chamberland, MSc
> PhD candidate
> Department of Physics
> Carleton University
> Ottawa (ON)
>
> Le 2012-10-12 à 4:01 AM, bassim <bassim.aklan at imp.uni-erlangen.de>
>  a écrit :
>
>> Hallo Gate user,
>> I have  a problem with the root file merger "gjm", when I use it to combine my root files. I am using Gate (v6.1) for my Monto Carlo simulation. Ich habe benn run a simulation on the cluster and I get as output two large root files each with 5 GB. I try to use the gjm in the cluster_tool to merge my root files but I get flowing error: Merge: No latest_event_ID histogram - exit!. Can anybody help me with this problem or is there any anther method to combine root files. By the way I was trying combining the root files on our cluster. I would be appreciated, if someone can give some solutions.
>>
>> Best regards,
>> B. Aklan
>>
>> --
>> Bassim Aklan, M.Sc.
>> Institute of Medical Physics - Section for MR Imaging
>> University of Erlangen-Nuremberg
>> Henkestr. 91
>> 91052 Erlangen, Germany
>> phone: +49-(0)9131/85-25545
>> Mobile phone: +49-17665299782
>> bassim.aklan at imp.uni-erlangen.de
>> Homepage: www.imp.uni-erlangen.de/mri
>>
>> _______________________________________________
>> Gate-users mailing list
>> Gate-users at lists.opengatecollaboration.org
>> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
>>
>
>
> _______________________________________________
> Gate-users mailing list
> Gate-users at lists.opengatecollaboration.org
> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users


More information about the Gate-users mailing list