Transfer info_* files with Condor postprocessing jobs to avoid potential for segfault
Transfer info_*.root
files with Condor postprocessing jobs and change it so that we are not accessing files on /eos/
.
This is no longer reliable:
>>> fileIO.h: getEventsProcessedFromMap: opening root://eosuser.cern.ch/eos/user/s/skkwan/hToAA/condorSkim/2024-06-12-02h38m-benchmark-iteration9/info_DYJetsToLL_M-50.root
Resulting in this kind of crash:
Error in <TFile::TFile>: file /eos/user/s/skkwan/hToAA/condorSkim/2024-06-12-02h38m-benchmark-iteration9/info_DYJetsToLL_M-50.root does not exist
*** Break *** segmentation violation
===========================================================
There was a crash.
This is the entire stack trace of all threads:
===========================================================
#0 0x000014d6d84d89fa in wait4 () from /lib64/libc.so.6
#1 0x000014d6d844b243 in do_system () from /lib64/libc.so.6
#2 0x000014d6da2f555c in TUnixSystem::StackTrace() () from /cvmfs/cms.cern.ch/el9_amd64_gcc11/cms/cmssw-patch/CMSSW_13_2_6_patch2/external/el9_amd64_gcc11/bin/../../../../../../../el9_amd64_gcc11/lcg/root/6.26.11-2d3ac1bc6499bcdecfb936cdaff61a09/lib/libCore.so
#3 0x000014d6da2f2c55 in TUnixSystem::DispatchSignals(ESignals) () from /cvmfs/cms.cern.ch/el9_amd64_gcc11/cms/cmssw-patch/CMSSW_13_2_6_patch2/external/el9_amd64_gcc11/bin/../../../../../../../el9_amd64_gcc11/lcg/root/6.26.11-2d3ac1bc6499bcdecfb936cdaff61a09/lib/libCore.so
#4 <signal handler called>
#5 getEventsProcessedFromMap (targetName=..., map=..., isLocalJob=<optimized out>) at helpers/fileIO.h:242
#6 0x00000000007923df in GetDYJetsWeight_experimental<ROOT::RDF::RInterface<ROOT::Detail::RDF::RNodeBase, void> > (df=..., sConfig=..., fileMap=..., isLocalJob=isLocalJob
entry=0) at helpers/reweightDYJets-experimental.h:90
#7 0x000000000066de09 in main (argc=<optimized out>, argv=<optimized out>) at postprocess-experimental.cxx:357
===========================================================