[Gate-users] filemerger...

Samuel BURG samuel_burg at yahoo.fr
Tue Oct 23 12:08:46 CEST 2007


Dear MJ,

I have also lot of problems with gjm.
One 'easy' solution is to do a 'fast merge' with gjm and the to use a TChain under ROOT to post-process your (multiple files) data.

Pro : it works, no need to update any code
Cons : files 25% bigger, not very fun

Hope it will help you,

regards,

Samuel Burg
Park MinJae <MJ at ToTi.us> a écrit :  
Dear Jan,

I attached a file with sample root, macro files and gjm also.

I tried with small root files...
[My real root files are over 600M]

It said a little bit different message...

shell> ../gate_v3.1.2/Cluster_Tools/filemerger/gjm mj_test.mac
Combining: /home/turbo978/crosstalk/act21.root
/home/turbo978/crosstalk/act22.root -> act2.root
Cannot find one of: runID, eventID, time in Gate
Problem with merging Gate

 *** Break *** segmentation violation
 Generating stack trace...
 0xb6b3f309 in __libc_free + 0x49 from /lib/tls/i686/cmov/libc.so.6
 0xb6ce08b1 in operator delete(void*) + 0x21 from /usr/lib/libstdc++.so.6
 0x0804a3c5 in  from ../gate_v3.1.2/Cluster_Tools/filemerger/gjm
 0xb6af0ea2 in __libc_start_main + 0xd2 from /lib/tls/i686/cmov/libc.so.6
 0x08049db1 in __gxx_personality_v0 + 0x6d from
../gate_v3.1.2/Cluster_Tools/filemerger/gjm
Aborted

and...I remind this mail in gate mailling list...
From: gate-users-bounces at lists.healthgrid.org on behalf of Hannes
---------------------------
Hofmann [opengate at f00f.de]
Sent: 2007³â 10¿ù 10ÀÏ ¼ö¿äÀÏ ¿ÀÈÄ 5:51
To: gate-users at lists.healthgrid.org
Subject: [Gate-users] filemerger BUG

Hi,

I think I have found an error in the filemerger gjm:

In the method

bool GateMergeManager::MergeTree(string chainName){

in file src/GateMergeManager.cc I believe a 'return' is missing on line 467
which should IMHO look like this:

  if(chainName=="Gate") return MergeGate(chain);

Otherwise it will run into the error
"Cannot find one of: runID, eventID, time in Gate" (line 482)

Regards,
Hannes
--------------------------------

so I change the source as the mail said...
but, I still got this error message...
-------------------------------
 *** Break *** segmentation violation
 Generating stack trace...
 0xb6a5b309 in __libc_free + 0x49 from /lib/tls/i686/cmov/libc.so.6
 0xb6bfc8b1 in operator delete(void*) + 0x21 from /usr/lib/libstdc++.so.6
 0x0804a3c5 in  from ../gate_v3.1.2/Cluster_Tools/filemerger/gjm
 0xb6a0cea2 in __libc_start_main + 0xd2 from /lib/tls/i686/cmov/libc.so.6
 0x08049db1 in __gxx_personality_v0 + 0x6d from
../gate_v3.1.2/Cluster_Tools/filemerger/gjm
Aborted
------------------------------

Is my linux wierd? T__T

Thanks,
MJ

//=================================================
//  Park MinJae
//  SNU BME Ph.D. Candidate
//
//  DialTo:+82-17-711-7809
//  MailTo:MJ at ToTi.us
//
//  Make the Dream True...
//================================================= 

_______________________________________________
Gate-users mailing list
Gate-users at lists.healthgrid.org
http://lists.healthgrid.org/mailman/listinfo/gate-users


             
---------------------------------
 Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20071023/421738a4/attachment.htm>


More information about the Gate-users mailing list