Hi Chansup,
Here is a code snippet that may help.....
# set queue SomeQueue.q jobs to project SomeProject.
# q_hard key points to a hash...
while ( my ($queue,$v)=each %{$params{q_hard}}){
if($queue eq 'SomeQueue.q') {
jsv_set_param('P','SomeProject');
#jsv_log_info("output is queue=".$queue." v=".$v."\n");
$do_correct = 1;
last;
}
#jsv_log_info("output is queue=".$queue." v=".$v."\n");
}
-Ed
-----Original Message-----
From: CB [mailto:[email protected]]
Sent: Tuesday, June 11, 2013 01:41 PM
To: [email protected]
Subject: [gridengine users] JSV tips?
Hi
I'm looking for a tip on how to extract queue name from the jsv script,
especially the perl script version, located at the util/resources/jsv
directory. I'm currently running OGS/GE 2011.11.
I want 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.
But I don't know how the get the queue name where a job is submitted to.
Any suggestion is appreciated.
Thanks,
- chansup
_______________________________________________
users mailing list
[email protected]
https://gridengine.org/mailman/listinfo/users