[Swift-devel] Changing ppn on a per-application basis

David Kelly davidk at ci.uchicago.edu
Thu Aug 2 14:04:37 CDT 2012


Mike,

Thank you. The combination of setting ppn and jobsPerNode in the app function seems to work and do exactly what I need.

David

----- Original Message -----
> From: "Michael Wilde" <wilde at mcs.anl.gov>
> To: "David Kelly" <davidk at ci.uchicago.edu>
> Cc: swift-devel at ci.uchicago.edu
> Sent: Thursday, August 2, 2012 12:39:47 PM
> Subject: Re: [Swift-devel] Changing ppn on a per-application basis
> David, when we discussed this I couldnt recall the recent feature that
> Justin added for this. I found it when I saw this post. Its at:
> 
> http://www.ci.uchicago.edu/swift/guides/trunk/userguide/userguide.html#_dynamic_profiles
> 
> Seems to do what you need; I suspect it needs testing.
> 
> - Mike
> 
> 
> ----- Original Message -----
> > From: "David Kelly" <davidk at ci.uchicago.edu>
> > To: swift-devel at ci.uchicago.edu
> > Sent: Thursday, August 2, 2012 12:24:07 PM
> > Subject: [Swift-devel] Changing ppn on a per-application basis
> > Hello,
> >
> > I have a user who would like to change ppn on a per-application
> > basis.
> > Is this possible right now? As far as I know, the only way to do
> > this
> > is currently is to create separate pool entries with varying ppn
> > values.
> >
> > The example he gave me is this: the cluster he is working on
> > supports
> > node sharing. For some applications he may want to use all available
> > processors. For other applications, especially those which use GPUs
> > to
> > do the heavy lifting, he may only want 1 ppn and leave the other
> > processors for other users. I can also envision cases where ppn may
> > need to be adjusted based on memory requirements or possibly based
> > on
> > some data that isn't known until the program runs.
> >
> > Mike and I were talking about this the other day. One of the ideas
> > he
> > suggested was adding a new value like stdout to the app definition.
> > Something like this I'd imagine:
> >
> > app (file o) cat (file i, int myppn)
> > {
> > cat @i stdout=@o ppn=myppn;
> > }
> >
> > From what I can gather, the user is only interested in ppn at the
> > moment. But it may be useful to eventually have a generic way to
> > override all settings in sites.xml from an app function.
> >
> > David
> > _______________________________________________
> > Swift-devel mailing list
> > Swift-devel at ci.uchicago.edu
> > https://lists.ci.uchicago.edu/cgi-bin/mailman/listinfo/swift-devel
> 
> --
> Michael Wilde
> Computation Institute, University of Chicago
> Mathematics and Computer Science Division
> Argonne National Laboratory



More information about the Swift-devel mailing list