[Swift-commit] Cog update
swift at ci.uchicago.edu
swift at ci.uchicago.edu
Wed Mar 7 17:45:03 CST 2012
------------------------------------------------------------------------
r3363 | davidkelly999 | 2012-03-07 17:40:35 -0600 (Wed, 07 Mar 2012) | 2 lines
Fix to start the correct number of workers
------------------------------------------------------------------------
Index: modules/provider-localscheduler/src/org/globus/cog/abstraction/impl/scheduler/sge/SGEExecutor.java
===================================================================
--- modules/provider-localscheduler/src/org/globus/cog/abstraction/impl/scheduler/sge/SGEExecutor.java (revision 3362)
+++ modules/provider-localscheduler/src/org/globus/cog/abstraction/impl/scheduler/sge/SGEExecutor.java (working copy)
@@ -315,7 +315,7 @@
*/
protected void writeMultiJobPreamble(Writer wr, String exitcodefile)
throws IOException {
- wr.write("NODES=`cat $PE_HOSTFILE | awk '{ for(i=0;i<$2;i++){print $1} }'`\n");
+ wr.write("NODES=`cat $PE_HOSTFILE | awk '{print $1}'`\n");
wr.write("ECF=" + exitcodefile + "\n");
wr.write("INDEX=0\n");
wr.write("for NODE in $NODES; do\n");
More information about the Swift-commit
mailing list