Dear roottalk,
I get intermittent (but reproducible) errors when reading files from dCache through TDCacheFile. A data analysis program runs sequentially on multiple files stored in dCache at Fermilab. Many files are read correctly. Many other files show read errors
Error in <TDCacheFile::ReadBuffer>: error reading all requested bytes
from file
dcap://fndca1.fnal.gov:24725/pnfs/fnal.gov/usr/e907/mc/dst/pass4f/17/3/mippHist30017379.10.mcdigireco.root,
got 151503 of 178306
followed by errors in <TBranchElement::GetBasket>. Eventually the program crashes:
Error in <TDCacheFile::ReadBuffer>: error reading all requested bytes
from file
dcap://fndca1.fnal.gov:24725/pnfs/fnal.gov/usr/e907/mc/dst/pass4f/17/3/mippHist30017381.04.mcdigireco.root,
got 137404 of 140500
The same files that cause errors can be copied (using dccp) to local disk space without problems. The analysis program then runs without errors if called with the local copies of the files.
This is using a custom binary linked against ROOT version 5.28.00a and libDCAP version 1-2-42. ROOT was built from source without any errors.
The dcap library is a little old, could that cause the problem? Did anyone else have similar problems with TDCacheFile? Or are you doing something similar and it is working without problems?
Thanks in advance for any help with this issue.
Best regards,
Holger
This archive was generated by hypermail 2.2.0 : Sat Mar 12 2011 - 11:50:01 CET