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

Comparing COMP/CRAB/python/SchedulerGlite.py (file contents):
Revision 1.22 by mcinquil, Mon Oct 8 18:26:16 2007 UTC vs.
Revision 1.23 by mcinquil, Mon Oct 8 20:57:13 2007 UTC

# Line 153 | Line 153 | class SchedulerGlite(SchedulerEdg):
153          txt += 'elif [ $GRID3_APP_DIR ]; then\n'
154          txt += '    middleware=OSG \n'
155          txt += '    if [ $GLOBUS_GRAM_JOB_CONTACT ]; then \n'
156 <        txt += '        SyncCE=`echo "https://cmsgrid02.hep.wisc.edu:59387/11075/1191845762/" | cut -d: -f2 | sed \'s/\/\///\'`;\n'
156 >        txt += '        SyncCE=`echo "echo $GLOBUS_GRAM_JOB_CONTACT" | cut -d: -f2 | sed \'s/\/\///\'`;\n'
157          txt += '        echo "SyncCE=$SyncCE"  | tee -a $RUNTIME_AREA/$repo ;\n'
158          txt += '    else\n'
159          txt += '        echo "not reporting SyncCE";\n'
# Line 163 | Line 163 | class SchedulerGlite(SchedulerEdg):
163          txt += 'elif [ $OSG_APP ]; then \n'
164          txt += '    middleware=OSG \n'
165          txt += '    if [ $GLOBUS_GRAM_JOB_CONTACT ]; then \n'
166 <        txt += '        SyncCE=`echo "https://cmsgrid02.hep.wisc.edu:59387/11075/1191845762/" | cut -d: -f2 | sed \'s/\/\///\'`;\n'
166 >        txt += '        SyncCE=`echo "echo $GLOBUS_GRAM_JOB_CONTACT" | cut -d: -f2 | sed \'s/\/\///\'`;\n'
167          txt += '        echo "SyncCE=$SyncCE"  | tee -a $RUNTIME_AREA/$repo ;\n'
168          txt += '    else\n'
169          txt += '        echo "not reporting SyncCE";\n'

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines