Skip to main content

Posts

Showing posts from January 24, 2010

How to recover a SAM project

How to find a SAM_PROJECT name for a job: $ vi /work/landshark-clued0/weigang/Winter2010/check_data.log "Reading /prj_root/2671/top_write/weigang/SingleTop2010Summer2009Extended/RunIIa/data/p17_CC_Data_PreTag_0_20091231120843-2953530.d0cabsrv1.fnal.gov/cafe.out Number of processed events: 38749635 Reading /prj_root/2671/top_write/weigang/SingleTop2010Summer2009Extended/RunIIa/data/p17_CC_Data_PreTag_0_20091231120843-2953564.d0cabsrv1.fnal.gov/cafe.out Number of processed events: 39353873 Processed[expected] events: 39353873[39381649] BAD" look for any job name that belongs to a BAD project. then, $ find /d0mino/weigang -name "*2953564*" $ vi /d0mino/weigang/p17_CC_Data_PreTag_0.o2953564 "SAM_PROJECT    = weigang_13105_20091231120843" Liang showed how to do it easier way: $ cat  /d0mino/weigang/*.o3447239 | grep SAM_PROJECT SAM_PROJECT    = weigang_4789_20100227000742 ($ setup sam) $ sam generate strict recovery project --project=weigan...