Problem running over chained ntuples. Get cannot seek to position error toward end of file

From: Paul Prichard <pmprichard_at_gmail.com>
Date: Mon, 6 Aug 2007 14:03:08 +0200


Hi

I am using root version 5.12 and have used dq2_get to get two different datasets. These are

user.JelenaKrstic.T1_McAtNlo_Jimmy.recon.v12000604.SV_HPTV

and

user.MarijaMilosavljevic.trig1_misal1_mc12.005200.T1_McAtNlo_Jimmy.recon.AOD.SUSYView_HPTV.v12000604

I have used Make Selector to make skeleton code and after commenting out a few lines, and hash including some things, and writing something to chain the ntuples together and call process i can get the code to compile and run. There are 5000 events in each ntuple. The problem is that when it gets to just over 4000 events i get the following error,

Event: 4000
-922

Event: 4100
922
Event: 4200
922
Event: 4300
922
SysError in <TFile::Seek>: cannot seek to position 7957708041173560937 in file /batchstore/prichard/ttbarJelena/user.JelenaKrstic.T1_McAtNlo_Jimmy.recon.v12000604.SV_HPTV.AANT1._00071.root, retpos=-1 (Invalid argument)
Error in <TFile::ReadBuffer>: error reading all requested bytes from file /batchstore/prichard/ttbarJelena/user.JelenaKrstic.T1_McAtNlo_Jimmy.recon.v12000604.SV_HPTV.AANT1._00071.root, got 13583148 of 1013673577
Error in <TBranchElement::GetBasket>: File: /batchstore/prichard/ttbarJelena/user.JelenaKrstic.T1_McAtNlo_Jimmy.recon.v12000604.SV_HPTV.AANT1._00071.root at byte:0, branch:Jet_C4_TracksInCone_qOverPErr, entry:4323, badread=0 Event: 4400
-922

Event: 4500
-922

Aborted

This is with the first dataset, with the second i get

Event: 4200
-92.2923

Event: 4300
92.2923
SysError in <TFile::Seek>: cannot seek to position 8237190870936595570 in file /hepstore/store2/prichard/prentuple/ttbar/user.MarijaMilosavljevic.trig1_misal1_mc12.005200.T1_McAtNlo_Jimmy.recon.AOD.SUSYView_HPTV.v12000604.AANT0._00020.root, retpos=-1 (Invalid argument)
Event: 4400
92.2923
Event: 4500
-92.2923

Event: 4600
92.2923
SysError in <TFile::Seek>: cannot seek to position 1033926962010700984 in file /hepstore/store2/prichard/prentuple/ttbar/user.MarijaMilosavljevic.trig1_misal1_mc12.005200.T1_McAtNlo_Jimmy.recon.AOD.SUSYView_HPTV.v12000604.AANT0._00020.root, retpos=-1 (Invalid argument)
Error in <TFile::ReadBuffer>: error reading all requested bytes from file /hepstore/store2/prichard/prentuple/ttbar/user.MarijaMilosavljevic.trig1_misal1_mc12.005200.T1_McAtNlo_Jimmy.recon.AOD.SUSYView_HPTV.v12000604.AANT0._00020.root, got 9472147 of 238955664
Error in <TBranchElement::GetBasket>: File: /hepstore/store2/prichard/prentuple/ttbar/user.MarijaMilosavljevic.trig1_misal1_mc12.005200.T1_McAtNlo_Jimmy.recon.AOD.SUSYView_HPTV.v12000604.AANT0._00020.root at byte:0, branch:Jet_Kt4_TracksInCone_DeltaR, entry:4640, badread=0 Event: 4700
92.2923
Event: 4800
92.2923
SysError in <TFile::Seek>: cannot seek to position 1033926962010700984 in file /hepstore/store2/prichard/prentuple/ttbar/user.MarijaMilosavljevic.trig1_misal1_mc12.005200.T1_McAtNlo_Jimmy.recon.AOD.SUSYView_HPTV.v12000604.AANT0._00020.root, retpos=-1 (Invalid argument)
Error in <TFile::ReadBuffer>: error reading all requested bytes from file /hepstore/store2/prichard/prentuple/ttbar/user.MarijaMilosavljevic.trig1_misal1_mc12.005200.T1_McAtNlo_Jimmy.recon.AOD.SUSYView_HPTV.v12000604.AANT0._00020.root, got 9472147 of 238955664
Error in <TBranchElement::GetBasket>: File: /hepstore/store2/prichard/prentuple/ttbar/user.MarijaMilosavljevic.trig1_misal1_mc12.005200.T1_McAtNlo_Jimmy.recon.AOD.SUSYView_HPTV.v12000604.AANT0._00020.root at byte:0, branch:Jet_Kt6_TracksInCone_DeltaR, entry:4877, badread=0 Event: 4900
92.2923
Event: 5000
92.2923
Event: 5100
92.2923

If the program does not abort then i seem to get the same error after another 5000 events. I have got the second dataset twice and the second time i was using a different harddisk for the dq2_get command in case this was a related problem.

Any help would be greatly appreciated.

Paul Received on Mon Aug 06 2007 - 14:03:16 CEST

This archive was generated by hypermail 2.2.0 : Wed Aug 08 2007 - 23:50:02 CEST