Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ptp-dev] resource_manager.xsd version 5 questions/comments

Dave,

just realized I read your first question incorrectly.  I now see what you are asking: if you use the same Launch Tab (run configuration or launch configuration) but swap different resource managers in and out, what happens?  My idea was indeed to do as you say (this is what PBS does):  the valid attributes come from the resource manager configuration, their values from the launch configuration, so if there are attributes which are not valid for a given RM, these will not appear even though they may have been for the previous RM inside that run configuration (and their values persisted).  The next time that previous RM is swapped back in, those values should reappear.


Al



----- Albert L. Rossi <arossi@xxxxxxxxxxxxx> wrote:
> Dave, 
> 
> 1)  I'm not quite sure how you're thinking this should work.  It seems to me that there should indeed be an attribute on the job-attribute marking it for OS.  The RM implementation needs to be agnostic as to what it really is (LL, PE, etc.).  If there is a general filtering mechanism, this can be implemented, I think, without too much difficulty.  For dynamic attributes, I just assumed that whatever command you configure to get them will give you the correct ones.
> 
> 2)  This is one-size-fits all.  It's basically saying to the user:  here's an editor; take a customized script you've written, or write one, and that's what we'll give to the launch command.  What you see is what you get.
> 
> 3)  I see no problem adding one or more enumeration types that correspond to those variants.  This widget I envisaged as being a double widget:  a text box followed by a push button.  But the dialog that comes up could be different based on the subtype.
> 
> Thanks, Al
> 
> ----- Dave Wootton <dwootton@xxxxxxxxxx> wrote:
> > Al
> > I took a look at version 5 of your schema and I think it generally does 
> > what I need. Once there is a workable implementation I'll have to 
> > experiment a bit. I do have a few comments/questions
> > 
> > 1) I was looking at the definition of the argslist element and the 
> > reference to dynamic attributes. I'm not quite sure hos this is supposed 
> > to work, but what occurred to me at this point was that I have a run 
> > configuration that has a set of attributes with values stored in it, where 
> > I may have used that same run configuration with several different 
> > resource managers that accept only a subset of the attributes that are in 
> > the run configuration. For instance I may use the same run configuration 
> > to run PE applications on both AIX and Linux, where some PE options may 
> > not be valid on Linux or AIX. Do you anticipate that the resource manager 
> > will filter the attributes in a run configuration so that only the set of 
> > valid attributes and their values is displayed in the run configuration 
> > and passed to the application in the run command? I'm thinking the set of 
> > allowable attributes that would be displayed and passed to the application 
> > would be what's defined in the XML file for that configuration and the 
> > rest of the attributes in the run configuration would be ignored.
> > 
> > 2) In the launch-tab element there's an advancedModeEnabled element that 
> > allows the user to edit/create a script file. What's expected to be in 
> > that script file and how does that get passed in the run command. Is this 
> > expected to be the exact command(s) used to invoke the application or is 
> > it something like a .rc file with a bunch of environment variable 
> > settings? I think a script with the exact commands would be acceptable 
> > since this is 'advanced mode', but not sure that's what you intended.
> > 
> > 3) I was looking at the widget element. In there, there is an enumeration 
> > for browseButton. In my PE implementation, I have three different 
> > variations of a selector dialog, browse for an existing directory, where 
> > only directories can be selected. browse for existing file which accepts 
> > only file selections and browse for file where the user may type in the 
> > name of a new file once he navigates to the desired directory. Do we want 
> > that level of specification in the schema?
> > 
> > Dave
> _______________________________________________
> ptp-dev mailing list
> ptp-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/ptp-dev
> 



Back to the top