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

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


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);

> 
> 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)
> 




More information about the Swift-devel mailing list