ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CRAB/python/SchedulerRemoteglidein.py
(Generate patch)

Comparing COMP/CRAB/python/SchedulerRemoteglidein.py (file contents):
Revision 1.11 by belforte, Tue Dec 18 16:37:22 2012 UTC vs.
Revision 1.12 by belforte, Thu Jan 3 19:55:23 2013 UTC

# Line 239 | Line 239 | class SchedulerRemoteglidein(SchedulerGr
239  
240          txt += 'func_exit() { \n'
241          txt += self.wsExitFunc_common()
242 <
242 >        txt += '#Check for stdout/err in new location as of condor 7.7\n'
243 >        txt += '    if [ -s _condor_stdout ]; then\n'
244 >        txt += '      echo "Found _condor_stdout/err, rename for OSB"\n'
245 >        txt += '      cp -pfv _condor_stdout CMSSW_${NJob}.stdout\n'
246 >        txt += '      cp -pfv _condor_stderr CMSSW_${NJob}.stderr\n'
247 >        txt += '    fi\n'
248          txt += '    tar zcvf ${out_files}.tgz  ${final_list}\n'
249          txt += '    tmp_size=`ls -gGrta ${out_files}.tgz | awk \'{ print $3 }\'`\n'
250          txt += '    rm ${out_files}.tgz\n'

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines