google-code-export / yabi

Automatically exported from code.google.com/p/yabi
0 stars 1 forks source link

Enable a per-user account string to be passed to PBSPro backend. #55

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
One of our clusters requires an account string argument to be passed to PBS as 
a part of every job submission. This can be passed as a normal PBS argument, as 
either part of the qsub command, eg:

qsub  -A accountString  jobscript.sh

Or within the script:
qsub -A accountString

Account strings change from user to user and a single user may have access to 
multiple accounts (although the typical case is a user would always use the 
same account. In our system account strings consist of alphanumeric characters 
plus dash (-) and underscore (_).

Ideally, this would be implemented as a user changeable setting (in the account 
tab?).

In the short term, if it will take some time to implement this change, can we 
do simple something like patch the qsub template to add a default account 
string which will enable us to continue testing on the cluster?

Thanks,

Cas

Original issue reported on code.google.com by CasSim...@gmail.com on 12 Aug 2011 at 5:11

GoogleCodeExporter commented 9 years ago

Original comment by amacgregor on 16 Aug 2011 at 2:48

GoogleCodeExporter commented 9 years ago

Original comment by retrogra...@gmail.com on 19 Aug 2011 at 6:50

GoogleCodeExporter commented 9 years ago
Stage one proposal:

Attach the accounting string to the BackendCredential for a user. Have just a 
single string. This will allow testing on the cluster to continue until we 
improve the users interface for this. Comments?

Original comment by retrogra...@gmail.com on 19 Aug 2011 at 7:01

GoogleCodeExporter commented 9 years ago
This would do the job fine for us. Most of our users tend to use only one 
account string so it is not a major issue if the user can not change it 
themselves.

Original comment by CasSim...@gmail.com on 19 Aug 2011 at 7:15

GoogleCodeExporter commented 9 years ago
Have added a new text field to both Backend, and BackendCredential. This will 
be filled with a submission script template. If the submission script in 
BackendCredential is blank, then the submission script from the corresponding 
backend is used.

added in rev 48313a07d9c4.

Original comment by retrogra...@gmail.com on 22 Aug 2011 at 12:38

GoogleCodeExporter commented 9 years ago
rev 899bad4855fb has these changes implemented.

Original comment by retrogra...@gmail.com on 25 Aug 2011 at 4:38