Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 353813 - [JAXB] Unable to specify account on Simple PBS Settings tab
Summary: [JAXB] Unable to specify account on Simple PBS Settings tab
Status: RESOLVED FIXED
Alias: None
Product: PTP
Classification: Tools
Component: RM (show other bugs)
Version: 5.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 5.0.2   Edit
Assignee: Albert L. Rossi CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-03 15:06 EDT by Greg Watson CLA
Modified: 2011-08-30 19:07 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Greg Watson CLA 2011-08-03 15:06:36 EDT
There is no way to specify the account (qsub -A argument) on the Simple PBS settings tab forcing users to resort to using their own scripts. This kind of defeats the purpose of having a UI.
Comment 1 Albert L. Rossi CLA 2011-08-03 15:13:15 EDT
Jay ran into the same issue.  Pretty simple to add that widget.  Go ahead and add it to the basic PBS if you want.
Comment 2 Albert L. Rossi CLA 2011-08-03 15:14:42 EDT
What you're really pointing out here is this question:  how "simple" is the simple / basic?

Of course, you can always switch to the advanced tab.  You don't have to resort to your own script.
Comment 3 Greg Watson CLA 2011-08-03 15:19:40 EDT
I think "simple" should at least cover the arguments to qsub.
Comment 4 Albert L. Rossi CLA 2011-08-03 15:23:02 EDT
(In reply to comment #3)
> I think "simple" should at least cover the arguments to qsub.

There are no necessary arguments to qsub, as far as I know.  Every installation can set up the system call to allow as few or as many.  Using this idea, you should also allow _all_ the -l resource arguments in Simple, since on NCSA's machines you could specify these on the command line too (in fact, I think you basically pass all the PBS pragmas as command-line flags).
Comment 5 Greg Watson CLA 2011-08-03 15:30:46 EDT
A text field that allows the user to enter a list of resources wouldn't be a bad thing.
Comment 6 Albert L. Rossi CLA 2011-08-03 15:50:54 EDT
Except it would become difficult to validate anything in it.  Since the
submission mechanism is not to use the command-line flags because those are not
necessarily supported, but to replace these values on the script, one would
also have to rewrite the script so that it has a single -l line. 

These are not difficult changes if you really think it makes this more usable
-- now that the documentation/tutorial exists to demonstrate how to modify the
underlying definition to get this.

You could even do away with the Advanced Tab altogether, and just provide the
"Standard" and the Customized tab controllers.
Comment 7 Albert L. Rossi CLA 2011-08-05 14:04:10 EDT
I've modified the two PBS definitions to carry Account text widget.


The fix will be committed when I also commit the validator patch.
Comment 8 Greg Watson CLA 2011-08-30 19:07:14 EDT
Fixed in 5.0.2