Hey everyone. I have a small patch to suggest for the condor provider.<div><br></div><div><div>For accounting group parameter, which I have added, the accounting group apparently must be specified in quotes, i.e.</div><div>
<br></div><div>+AccountingGroup = "group_friends.hockyg"</div><div><br></div><div>so in my sites file I have</div><div><br></div><div> <profile namespace="globus" key="AccountingGroup">"group_friends.hockyg"</profile> </div>
<div><br></div><div>but perhaps you would rather modify my patch such that this is specified sans quotes</div><div><br></div><div>Best,</div><div>Glen</div><div><br></div><div><div><br></div><div><div>svn diff modules/provider-localscheduler/src/org/globus/cog/abstraction/impl/scheduler/condor/CondorExecutor.java</div>
<div>Index: modules/provider-localscheduler/src/org/globus/cog/abstraction/impl/scheduler/condor/CondorExecutor.java</div><div>===================================================================</div><div>--- modules/provider-localscheduler/src/org/globus/cog/abstraction/impl/scheduler/condor/CondorExecutor.java<span class="Apple-tab-span" style="white-space:pre"> </span>(revision 3420)</div>
<div>+++ modules/provider-localscheduler/src/org/globus/cog/abstraction/impl/scheduler/condor/CondorExecutor.java<span class="Apple-tab-span" style="white-space:pre"> </span>(working copy)</div><div>@@ -52,6 +52,9 @@</div>
<div> <span class="Apple-tab-span" style="white-space:pre"> </span>if ("MPI".equals(type)) {</div><div> <span class="Apple-tab-span" style="white-space:pre"> </span>wr.write("universe = MPI\n");</div>
<div> <span class="Apple-tab-span" style="white-space:pre"> </span>}</div><div>+<span class="Apple-tab-span" style="white-space:pre"> </span>else if ("parallel".equals(type)) {</div><div>+<span class="Apple-tab-span" style="white-space:pre"> </span>wr.write("universe = parallel\n");</div>
<div>+<span class="Apple-tab-span" style="white-space:pre"> </span>}</div><div> <span class="Apple-tab-span" style="white-space:pre"> </span>else if("grid".equals(type)) {</div><div> <span class="Apple-tab-span" style="white-space:pre"> </span>grid = true;</div>
<div> <span class="Apple-tab-span" style="white-space:pre"> </span>String gridResource = (String) spec.getAttribute("gridResource");</div><div>@@ -68,10 +71,15 @@</div><div> <span class="Apple-tab-span" style="white-space:pre"> </span>else {</div>
<div> <span class="Apple-tab-span" style="white-space:pre"> </span>wr.write("universe = vanilla\n");</div><div> <span class="Apple-tab-span" style="white-space:pre"> </span>}</div><div>+</div><div>+ //set account group if specified</div>
<div>+<span class="Apple-tab-span" style="white-space:pre"> </span>writeAttr("AccountingGroup", "+AccountingGroup = ", wr);</div><div>+</div><div> <span class="Apple-tab-span" style="white-space:pre"> </span>if ("true".equals(spec.getAttribute("holdIsFailure"))) {</div>
<div> <span class="Apple-tab-span" style="white-space:pre"> </span>wr.write("periodic_remove = JobStatus == 5\n");</div><div> <span class="Apple-tab-span" style="white-space:pre"> </span>}</div><div> <span class="Apple-tab-span" style="white-space:pre"> </span>writeAttr("count", "machine_count = ", wr);</div>
<div>+<span class="Apple-tab-span" style="white-space:pre"> </span>writeAttr("count", "request_cpus = ", wr);</div><div> <span class="Apple-tab-span" style="white-space:pre"> </span>if (spec.getStdInput() != null) {</div>
<div> <span class="Apple-tab-span" style="white-space:pre"> </span>wr.write("input = " + quote(spec.getStdInput()) + "\n");</div><div> <span class="Apple-tab-span" style="white-space:pre"> </span>}</div>
</div><div><br></div></div></div>