[Swift-devel] Re: coaster->tg-ncsa

Mihael Hategan hategan at mcs.anl.gov
Fri May 23 12:49:23 CDT 2008


On Fri, 2008-05-23 at 12:47 -0500, Mihael Hategan wrote:
> On Fri, 2008-05-23 at 16:50 +0000, Ben Clifford wrote:
> > On Tue, 29 Apr 2008, Mihael Hategan wrote:
> > 
> > > Odd. Attributes should be copied from the original task. I'll look into 
> > > that.
> > 
> > They almost were - a prototype task specification gets passed all the way 
> > into WorkerManager.buildSpecification, at which point it is promptly 
> > entirely ignored.
> 
> Well, no:
> t.setSpecification(buildSpecification(sid, maxWallTime, prototype));
> copyAttributes(t, prototype);

#@$!
That copies task attributes not specification attributes. I'll fix that,
though it's equivalent to what you did.

> 
> > 
> > In CoG r2024, I added a loop there to copy attributes and now I can submit 
> > to TG sites with the project profile entry correctly propagated, using 
> > this jobManager="gt2:gt2:pbs"
> > 
> > Perhaps it should also copy environment variables - I haven't thought 
> > about that much.
> > 
> > (I also tried jobManager="gt4:pbs" but I get a null pointer exception 
> > there still that I am investigating some more)
> > 
> 
> _______________________________________________
> Swift-devel mailing list
> Swift-devel at ci.uchicago.edu
> http://mail.ci.uchicago.edu/mailman/listinfo/swift-devel




More information about the Swift-devel mailing list