I ran into this bug too but now have coasters working on Eureka. My solution was to generate a script to execute to cobalt with the argument embedded:<br><br>cat > $HOME/batch.sub <<END<br>#!/bin/sh<br>export WORKER_LOGGING_LEVEL=$workerLogging<br>
echo '***' COBALT_NODEFILE file: \$COBALT_NODEFILE CONTACT:$CONTACT<br>cat \$COBALT_NODEFILE<br>echo '***' unique nodes are:<br>sort < \$COBALT_NODEFILE|uniq<br>for h in \$(sort < \$COBALT_NODEFILE|uniq); do<br>
ssh \$h "echo Swift R startup running on host; hostname; cd /; /usr/bin/perl $SWIFTBIN/<a href="http://worker.pl">worker.pl</a> $CONTACT SwiftR-\$h $HOME/.globus/coasters $IDLETIMEOUT" &<br>done<br>wait<br>
<br>END<br>chmod +x $HOME/batch.sub<br><br>Its kind of hacky but it does work. Also, inconsistently with cobalt's behaviour on BG/P, as far as I can tell on Eureka (all clusters?) it behaves a lot like PBS in that it only runs the submitted executable on one cluster node, and provides a list of other cluster nodes through an environment variable.<br>
<br>- Tim<br><br><div class="gmail_quote">On Sat, Jan 8, 2011 at 4:40 PM, Michael Wilde <span dir="ltr"><<a href="mailto:wilde@mcs.anl.gov">wilde@mcs.anl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Thanks, Justin. cc'ing back to the list, Rob, and Sheri.<br>
<br>
Sheri, maybe you can run on PADS or Fusion till this is fixed?<br>
<br>
- Mike<br>
<br>
----- Original Message -----<br>
> Hello<br>
> Right, Swift does not currently run on Eureka due to the following<br>
> bug in Cobalt:<br>
><br>
> <a href="http://trac.mcs.anl.gov/projects/cobalt/ticket/462" target="_blank">http://trac.mcs.anl.gov/projects/cobalt/ticket/462</a><br>
><br>
> I got about half of a work-around for this done...<br>
><br>
> Justin<br>
<div><div></div><div class="h5">><br>
> On Fri, 7 Jan 2011, Michael Wilde wrote:<br>
><br>
> > Hi Rob and Sheri,<br>
> ><br>
> > I don't know the status of Swift on Eureka, but Im eager to see it<br>
> > running there, so we'll make sure it works.<br>
> ><br>
> > A long while back I tried Swift there, and at the time we had a<br>
> > minor<br>
> > bug in the Cobalt provider. Justin may have fixed that recently on<br>
> > the<br>
> > BG/P's. So Im hoping it either works or has only some<br>
> > readily-fixable<br>
> > issues in the way.<br>
> ><br>
> > We'll try it and get back to you.<br>
> ><br>
> > In the mean time, Sheri, you might want to try a simple hello-world<br>
> > test<br>
> > on Eureka, and see if you can progress to replicating what John<br>
> > Dennis<br>
> > had done so far.<br>
> ><br>
> > Its best to send any errors you get to the swift-user list (which<br>
> > you<br>
> > should join) so that everyone on the Swift team is aware f any<br>
> > issues<br>
> > you encounter and can offer help.<br>
> ><br>
> > You should meet with Justin at Argonne (3rd floor, 240) who can<br>
> > serve as<br>
> > your Swift mentor.<br>
> ><br>
> > Sarah, David - lets add Eureka to the test matrix for release 0.92.<br>
> > Cobalt is very very close to PBS's interface, but there is a<br>
> > separate<br>
> > Swift execution provider that handles the differences.<br>
> ><br>
> > Regards,<br>
> ><br>
> > Mike<br>
> ><br>
> ><br>
> > ----- Original Message -----<br>
> >> Hi Mike,<br>
> >><br>
> >> Sheri is going to take over some of the development work John<br>
> >> Dennis<br>
> >> was<br>
> >> doing on using swift with the AMWG diag package.<br>
> >><br>
> >> Our platform is Eureka. Is there a development version of Swift<br>
> >> installed there?<br>
> >><br>
> >> Rob<br>
> ><br>
> ><br>
><br>
> --<br>
</div></div>> Justin M Wozniak<br>
<div><div></div><div class="h5"><br>
--<br>
Michael Wilde<br>
Computation Institute, University of Chicago<br>
Mathematics and Computer Science Division<br>
Argonne National Laboratory<br>
<br>
_______________________________________________<br>
Swift-devel mailing list<br>
<a href="mailto:Swift-devel@ci.uchicago.edu">Swift-devel@ci.uchicago.edu</a><br>
<a href="http://mail.ci.uchicago.edu/mailman/listinfo/swift-devel" target="_blank">http://mail.ci.uchicago.edu/mailman/listinfo/swift-devel</a><br>
</div></div></blockquote></div><br>