[Swift-commit] r8333 - SwiftApps/dsp-swift

ketan at ci.uchicago.edu ketan at ci.uchicago.edu
Thu Dec 11 16:00:00 CST 2014


Author: ketan
Date: 2014-12-11 16:00:00 -0600 (Thu, 11 Dec 2014)
New Revision: 8333

Modified:
   SwiftApps/dsp-swift/swiftjumpdsp.py
   SwiftApps/dsp-swift/swiftjumpdsp.xml
Log:
add missing set

Modified: SwiftApps/dsp-swift/swiftjumpdsp.py
===================================================================
--- SwiftApps/dsp-swift/swiftjumpdsp.py	2014-12-11 20:31:32 UTC (rev 8332)
+++ SwiftApps/dsp-swift/swiftjumpdsp.py	2014-12-11 22:00:00 UTC (rev 8333)
@@ -40,15 +40,16 @@
         n = next(myargs)
         p = next(myargs)
         I = next(myargs)
-        outloc = next(myargs)
-        outlistfile = next(myargs)
-        logfile = next(myargs)
+        local_or_compute = next(myargs)
+        outlist = next(myargs)
     except:
         traceback.print_exc()
         sys.exit(1)
 
     #which swift
     swift = "/home/ketan/swift-0.95/cog/modules/swift/dist/swift-svn/bin/swift"
+    outloc = "$HOME/outdir"
+    swiftargs="-inloc="+inloc+" -a="+a+" -n="+n+"  -p="+p+"  -I="+I
     
     BASEDIR = os.path.dirname(os.path.realpath(__file__))
     
@@ -58,7 +59,7 @@
 
     #Invocation
     with open(logfile,"wb") as errfile:
-        exitcode=subprocess.check_call([swift, "-sites.file", wdir+"/sites.xml", "-tc.file", wdir+"/tc", "-config", wdir+"/cf", wdir+"/script.swift", swiftargs],stderr=errfile)
+        exitcode=subprocess.check_call([swift, "-sites.file", "sites.local.xml", "-tc.file", "apps", "-config", "cf", "dsp.blues.swift", swiftargs],stderr=errfile)
     print exitcode
 
     #Populate output file

Modified: SwiftApps/dsp-swift/swiftjumpdsp.xml
===================================================================
--- SwiftApps/dsp-swift/swiftjumpdsp.xml	2014-12-11 20:31:32 UTC (rev 8332)
+++ SwiftApps/dsp-swift/swiftjumpdsp.xml	2014-12-11 22:00:00 UTC (rev 8333)
@@ -17,6 +17,7 @@
         "${n}"
         "${p}"
         "${I}"
+        "${local_or_compute}"
         "${outlist}"
     </command>
     <!--




More information about the Swift-commit mailing list