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.41 by fanzago, Tue Mar 14 16:37:01 2006 UTC vs.
Revision 1.42 by spiga, Wed Mar 15 17:34:10 2006 UTC

# Line 207 | Line 207 | class SchedulerEdg(Scheduler):
207             txt += '#\n'
208             txt += '#   Copy Input Data from SE to this WN\n'
209             txt += '#\n'
210 <           txt +='lcg-cp --vo $VO lfn:$input_lfn file:`pwd`/$the_ntuple 2>&1\n'
211 <           txt +='copy_input_exit_status=$?\n'
212 <           txt +='echo "COPY_INPUT_EXIT_STATUS = $copy_input_exit_status"\n'
213 <           txt +='if [ $copy_input_exit_status -ne 0 ]; then \n'
214 <           txt +='   echo "Problems with copying to WN" \n'
215 <           txt +='else \n'
216 <           txt +='   echo "input copied into WN" \n'
217 <           txt +='fi \n'
210 > ### changed by georgia (put a loop copying more than one input files per jobs)          
211 >           txt +='for input_file in $cur_file_list \n'
212 >           txt +='do \n'
213 >           txt +=' lcg-cp --vo $VO lfn:$input_lfn/$input_file file:`pwd`/$input_file 2>&1\n'
214 >           txt +=' copy_input_exit_status=$?\n'
215 >           txt +=' echo "COPY_INPUT_EXIT_STATUS = $copy_input_exit_status"\n'
216 >           txt +=' if [ $copy_input_exit_status -ne 0 ]; then \n'
217 >           txt +='    echo "Problems with copying to WN" \n'
218 >           txt +=' else \n'
219 >           txt +='    echo "input copied into WN" \n'
220 >           txt +=' fi \n'
221 >           txt +='done \n'
222          return txt
223  
224      def wsCopyOutput(self):

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines