[torqueusers] UC specify job id
Rushton Martin
JMRUSHTON at qinetiq.com
Tue Jan 24 11:16:24 MST 2012
I'm sorry but it was only the sudo error I saw. Setting the job number
isn't documented in the online manual, so I'm afraid you're on your own
there.
http://www.adaptivecomputing.com/resources/docs/torque/4-0/help.htm
Martin Rushton
HPC System Manager, Weapons Technologies
Tel: 01959 514777, Mobile: 07939 219057
email: jmrushton at QinetiQ.com
www.QinetiQ.com <http://www.qinetiq.com/>
QinetiQ - Delivering customer-focused solutions
Please consider the environment before printing this email.
________________________________
From: torqueusers-bounces at supercluster.org
[mailto:torqueusers-bounces at supercluster.org] On Behalf Of Hakeem
Almabrazi
Sent: 24 January 2012 18:02
To: Torque Users Mailing List
Subject: Re: [torqueusers] UC specify job id
Thank you Martin,
I did exactly what you said and I responded back but I guess you
were faster than me. Thank you for your tip though.
Is there a better way than being a super user?
From: torqueusers-bounces at supercluster.org
[mailto:torqueusers-bounces at supercluster.org] On Behalf Of Rushton
Martin
Sent: Tuesday, January 24, 2012 12:02 PM
To: Torque Users Mailing List
Subject: Re: [torqueusers] UC specify job id
When you issued the command you changed to being root, then
submitted the job on behalf of root. What you should have done is:
>sudo qsub script.sh -P hakeem -J 111
(obviously, change hakeem to your actual user name)
Since the job was submitted to run as root, you will not be able
to see, still less delete, it unless you use sudo again.
Martin Rushton
HPC System Manager, Weapons Technologies
Tel: 01959 514777, Mobile: 07939 219057
email: jmrushton at QinetiQ.com
www.QinetiQ.com <http://www.qinetiq.com/>
QinetiQ - Delivering customer-focused solutions
Please consider the environment before printing this email.
________________________________
From: torqueusers-bounces at supercluster.org
[mailto:torqueusers-bounces at supercluster.org] On Behalf Of Hakeem
Almabrazi
Sent: 24 January 2012 17:33
To: Torque Users Mailing List
Subject: Re: [torqueusers] specify job id
Thank you David,
I tried this and got an error that I am not a super
user. So I looked up who is running the "pbs" and found that it is run
under the "root". So I submitted the following (since I am not a root)
>sudo qsub script.sh -P root -J 111.
No complaining this time but no jobs in the queue when I
qstat.
I resend the same command as before but then it says Job
with requested ID 111 already exist"....
I am not sure what to do next. I do not think I can
delete it. Anything I should try?...
Thank you for your help.
From: torqueusers-bounces at supercluster.org
[mailto:torqueusers-bounces at supercluster.org] On Behalf Of David Beer
Sent: Tuesday, January 24, 2012 10:47 AM
To: Torque Users Mailing List
Subject: Re: [torqueusers] specify job id
If you are a root user submitting on behalf of another
user (using the proxy submission this can be done. It is done using -P
and -J :
qsub script.sh -P <user> -J <desired job id>
David
On Tue, Jan 24, 2012 at 9:08 AM, Hakeem Almabrazi
<halmabrazi at idtdna.com> wrote:
Hi,
Is there a way to specify job id when request a job?
Thanks
_______________________________________________
torqueusers mailing list
torqueusers at supercluster.org
http://www.supercluster.org/mailman/listinfo/torqueusers
--
David Beer | Software Engineer
Adaptive Computing
This email and any attachments to it may be confidential and are
intended solely for the use of the individual to whom it is addressed.
If you are not the intended recipient of this email, you must neither
take any action based upon its contents, nor copy or show it to anyone.
Please contact the sender if you believe you have received this email in
error. QinetiQ may monitor email traffic data and also the content of
email for the purposes of security. QinetiQ Limited (Registered in
England & Wales: Company Number: 3796233) Registered office: Cody
Technology Park, Ively Road, Farnborough, Hampshire, GU14 0LX
http://www.qinetiq.com <http://www.qinetiq.com/>
The QinetiQ e-mail privacy policy and company information is detailed elsewhere in the body of this email.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.supercluster.org/pipermail/torqueusers/attachments/20120124/34f760ed/attachment-0001.html
More information about the torqueusers
mailing list