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

Comparing COMP/CRAB/python/SchedulerCondor.py (file contents):
Revision 1.7 by ewv, Tue Jun 10 17:46:00 2008 UTC vs.
Revision 1.8.2.1 by fanzago, Tue Jun 24 13:54:11 2008 UTC

# Line 72 | Line 72 | class SchedulerCondor(SchedulerLocal) :
72      # May have problems with onlyOSG being false, probably due to lengths of lists and command line.
73      # Either re-write osg_bdii.py with a proper ldap library or break the queries apart
74  
75    #scram = Scram.Scram(None)
76    #versionCMSSW = scram.getSWVersion()
77    #arch = scram.getArch()
78
75      if self.selectNoInput:
76        return [True]
77 <
77 >    else:
78 >      return SchedulerLocal.listMatch(self, seList, full)
79  
80    def decodeLogInfo(self, file):
81      """
# Line 99 | Line 96 | class SchedulerCondor(SchedulerLocal) :
96      txt += '#\n\n'
97  
98      txt += 'func_exit() { \n'
99 <    txt += '    if [ $PYTHONPATH ]; then \n'
100 <    txt += '        update_fjr\n'
104 <    txt += '    fi\n'
105 <    txt += '    for file in $filesToCheck ; do\n'
106 <    txt += '        if [ -e $file ]; then\n'
107 <    txt += '            echo "tarring file $file in  $out_files"\n'
108 <    txt += '        else\n'
109 <    txt += '            echo "WARNING: output file $file not found!"\n'
110 <    txt += '        fi\n'
111 <    txt += '    done\n'
112 <    txt += '    final_list=$filesToCheck\n'
113 <    txt += '    echo "JOB_EXIT_STATUS = $job_exit_code"\n'
114 <    txt += '    echo "JobExitCode=$job_exit_code" >> $RUNTIME_AREA/$repo\n'
115 <    txt += '    dumpStatus $RUNTIME_AREA/$repo\n'
99 >    txt += self.wsExitFunc_common()
100 >
101      txt += '    tar zcvf ${out_files}.tgz  ${final_list}\n'
102      txt += '    cp  ${out_files}.tgz $ORIG_WD/\n'
103      txt += '    cp  crab_fjr_$NJob.xml $ORIG_WD/\n'

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines