|
From: <ha...@us...> - 2007-09-19 15:43:53
|
Revision: 1744
http://cogkit.svn.sourceforge.net/cogkit/?rev=1744&view=rev
Author: hategan
Date: 2007-09-19 08:43:47 -0700 (Wed, 19 Sep 2007)
Log Message:
-----------
correctly map count to -c and host count to -n
Modified Paths:
--------------
trunk/current/src/cog/modules/provider-localscheduler/CHANGES.txt
trunk/current/src/cog/modules/provider-localscheduler/src/org/globus/cog/abstraction/impl/scheduler/cobalt/CobaltExecutor.java
Modified: trunk/current/src/cog/modules/provider-localscheduler/CHANGES.txt
===================================================================
--- trunk/current/src/cog/modules/provider-localscheduler/CHANGES.txt 2007-09-19 15:36:47 UTC (rev 1743)
+++ trunk/current/src/cog/modules/provider-localscheduler/CHANGES.txt 2007-09-19 15:43:47 UTC (rev 1744)
@@ -1,3 +1,13 @@
+(09/19/07)
+
+*** Cobalt: 'count' attribute mapped to '-c'. The default should
+ be figured by cqsub from 'hostCount'. Looking at the cqsub
+ code, it seems like count = 2 * hostCount on a BG/L and
+ count = 4 * hostCount on a BG/P.
+
+*** Cobalt: 'hostCount' attribute mapped to '-n', with a default
+ of 1
+
(08/22/07)
*** The cobalt provider was not passing command line arguments
Modified: trunk/current/src/cog/modules/provider-localscheduler/src/org/globus/cog/abstraction/impl/scheduler/cobalt/CobaltExecutor.java
===================================================================
--- trunk/current/src/cog/modules/provider-localscheduler/src/org/globus/cog/abstraction/impl/scheduler/cobalt/CobaltExecutor.java 2007-09-19 15:36:47 UTC (rev 1743)
+++ trunk/current/src/cog/modules/provider-localscheduler/src/org/globus/cog/abstraction/impl/scheduler/cobalt/CobaltExecutor.java 2007-09-19 15:43:47 UTC (rev 1744)
@@ -158,7 +158,8 @@
}
addAttr("mode", "-m", l);
// We're gonna treat this as the node count
- addAttr("count", "-n", l, "1");
+ addAttr("count", "-c", l);
+ addAttr("hostCount", "-n", l, "1");
addAttr("project", "-p", l);
addAttr("queue", "-q", l);
addAttr("kernelprofile", "-k", l);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|