[Swift-commit] r4821 - SwiftApps/GOSwift/pykoa/tools
jonmon at ci.uchicago.edu
jonmon at ci.uchicago.edu
Fri Jul 15 11:16:20 CDT 2011
Author: jonmon
Date: 2011-07-15 11:16:20 -0500 (Fri, 15 Jul 2011)
New Revision: 4821
Modified:
SwiftApps/GOSwift/pykoa/tools/koa_goswift.py
Log:
Set environment variables GLOBUS_HOSTNAME, GLOBUS_TCP_PORT_RANGE, AND GLOBUS_SOURCE_PORT_RANGE necessary to establish connections between Swift and the remote site. These are hardcodded for now but later need to probably found out automatically.
Modified: SwiftApps/GOSwift/pykoa/tools/koa_goswift.py
===================================================================
--- SwiftApps/GOSwift/pykoa/tools/koa_goswift.py 2011-07-14 01:09:43 UTC (rev 4820)
+++ SwiftApps/GOSwift/pykoa/tools/koa_goswift.py 2011-07-15 16:16:20 UTC (rev 4821)
@@ -322,6 +322,10 @@
os.environ["X509_USER_KEY"] = proxyfile
os.environ["X509_USER_PROXY"] = proxyfile
+ os.environ["GLOBUS_HOSTNAME"] = "50.16.138.64"
+ os.environ["GLOBUS_TCP_PORT_RANGE"] = "50000,51000"
+ os.environ["GLOBUS_SOURCE_PORT_RANGE"] = "50000,51000"
+
# Execute the script
os.chdir( swift_dir+'/'+run_directory )
( status, output ) = commands.getstatusoutput( home+'/swift-0.92/bin/swift -sites.file sites.xml -tc.file tc -config cf script.swift' )
More information about the Swift-commit
mailing list