[Swift-commit] r3180 - trunk/libexec

noreply at svn.ci.uchicago.edu noreply at svn.ci.uchicago.edu
Mon Oct 26 15:48:31 CDT 2009


Author: hategan
Date: 2009-10-26 15:48:31 -0500 (Mon, 26 Oct 2009)
New Revision: 3180

Modified:
   trunk/libexec/vdl-sc.k
Log:
also print out what's being set

Modified: trunk/libexec/vdl-sc.k
===================================================================
--- trunk/libexec/vdl-sc.k	2009-10-26 20:42:08 UTC (rev 3179)
+++ trunk/libexec/vdl-sc.k	2009-10-26 20:48:31 UTC (rev 3180)
@@ -65,18 +65,22 @@
 			)
 			
 			element(intrepidCoasterParams, [optional(averageJobTime, blockSize)]
-				property("scratch", "/scratch")
-				property("workersPerNode", "4")
+				print("Setting Intrepid coaster params:")
+				element(p, [name, value]
+					print("	{name} = {value}")
+					property(name, value)
+				)
+				p("scratch", "/scratch")
+				p("workersPerNode", "4")
 				maybe(
 					discard(averageJobTime)
 					blockSize := try(blockSize, 512)
 					parallelism := averageJobTime * 100	
-					echo("parallelism: {parallelism}")
-					property("slots", math:round(parallelism / (blockSize * 4)))
-					property("nodeGranularity", blockSize)
-					property("maxNodes", blockSize)
+					p("slots", math:round(parallelism / (blockSize * 4)))
+					p("nodeGranularity", blockSize)
+					p("maxNodes", blockSize)
 					jt := parallelism * 2
-					property("jobThrottle", jt / 100)
+					p("jobThrottle", jt / 100)
 					print("For best results, please set the foreach.max.threads property in swift.properties to {jt}") 
 				)
 			)




More information about the Swift-commit mailing list