Opened 8 years ago
Last modified 8 years ago
#1464 new enhancement
Need enhancement in the JSV documentation
Reported by: | cbalways | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | sge | Version: | 8.1.3 |
Severity: | minor | Keywords: | jsv server queue_name |
Cc: |
Description
I like to disable exclusive jobs for all queues except a special queue. So when a job submitted to the special queue, I like to grant the exclusive job.
However, it is not clear how the get the queue name to which a job is submitted from the current JSV documentaiton.
http://arc.liv.ac.uk/SGE/htmlman/htmlman3/jsv_script_interface.html
With the GE alias help, I was able to check the specified queue name (db) using the following Perl code:
# get the hash table for the queues
my %tmp = %{$params{q_hard}};
# check if the job was submitted to the db queue
if (exists $tmp{db}) {
...
} else {
...
}
Note: See
TracTickets for help on using
tickets.
SGE <sge-bugs@…> writes:
What exactly is the problem? That it's not clear how the Perl support
deals with the parameter (as a list?) or what its name is?
[I don't know why the Perl example doesn't use the public jsv_get_param
function.]