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

Comparing COMP/CRAB/python/SchedulerEdg.py (file contents):
Revision 1.16 by fanzago, Thu Oct 6 10:38:21 2005 UTC vs.
Revision 1.17 by fanzago, Wed Oct 12 16:42:18 2005 UTC

# Line 147 | Line 147 | class SchedulerEdg(Scheduler):
147             txt += '#\n'
148             txt += '#   Copy output to SE = $SE\n'
149             txt += '#\n'
150 <           txt += 'if [ $executable_exit_status -eq 0 ]; then\n'
150 >           #### per orca l'exit_status non e' affidabile.....
151 >           #txt += 'if [ $executable_exit_status -eq 0 ]; then\n'
152 >           txt += 'if [ $exe_result -eq 0 ]; then\n'
153             txt += '  for out_file in $file_list ; do\n'
154             txt += '    echo "Trying to copy output file to $SE "\n'
155             txt += '    echo "'+copy+'"\n'
# Line 174 | Line 176 | class SchedulerEdg(Scheduler):
176             txt += '#\n'
177             txt += '#  Register output to RLS\n'
178             txt += '#\n'
179 <           txt += 'if [[ $executable_exit_status -eq 0 && $copy_exit_status -eq 0 ]]; then\n'
179 >           ### analogo
180 >           #txt += 'if [[ $executable_exit_status -eq 0 && $copy_exit_status -eq 0 ]]; then\n'
181 >           txt += 'if [[ $exe_result -eq 0 && $copy_exit_status -eq 0 ]]; then\n'
182             txt += '   for out_file in $file_list ; do\n'
183             txt += '      echo "Trying to register the output file into RLS"\n'
184             txt += '      echo "lcg-rf -l $LFN/$out_file --vo $VO sfn://$SE$SE_PATH/$out_file"\n'
# Line 197 | Line 201 | class SchedulerEdg(Scheduler):
201             txt += '         echo "output registered to RLS"\n'
202             txt += '      fi \n'
203             txt += '   done\n'
204 <           txt += 'elif [[ $executable_exit_status -eq 0 && $copy_exit_status -ne 0 ]]; then \n'
204 >           txt += 'elif [[ $exe_result -eq 0 && $copy_exit_status -ne 0 ]]; then \n'
205             txt += '   echo "Trying to copy output file to CloseSE"\n'
206             txt += '   CLOSE_SE=`edg-brokerinfo getCloseSEs | head -1`\n'
207             txt += '   for out_file in $file_list ; do\n'

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines