<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:v =
"urn:schemas-microsoft-com:vml" xmlns:o =
"urn:schemas-microsoft-com:office:office" xmlns:w =
"urn:schemas-microsoft-com:office:word" xmlns:m =
"http://schemas.microsoft.com/office/2004/12/omml"><HEAD>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18928">
<STYLE>@font-face {
        font-family: Cambria Math;
}
@font-face {
        font-family: Calibri;
}
@font-face {
        font-family: Tahoma;
}
@font-face {
        font-family: MyriadPro-Regular;
}
@page WordSection1 {size: 8.5in 11.0in; margin: 1.0in 1.0in 1.0in 1.0in; }
P.MsoNormal {
        MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman","serif"; FONT-SIZE: 12pt
}
LI.MsoNormal {
        MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman","serif"; FONT-SIZE: 12pt
}
DIV.MsoNormal {
        MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman","serif"; FONT-SIZE: 12pt
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline; mso-style-priority: 99
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline; mso-style-priority: 99
}
A:visited {
        COLOR: purple; TEXT-DECORATION: underline; mso-style-priority: 99
}
SPAN.MsoHyperlinkFollowed {
        COLOR: purple; TEXT-DECORATION: underline; mso-style-priority: 99
}
SPAN.EmailStyle17 {
        FONT-FAMILY: "Calibri","sans-serif"; COLOR: #1f497d; mso-style-type: personal-reply
}
.MsoChpDefault {
        mso-style-type: export-only
}
DIV.WordSection1 {
        page: WordSection1
}
</STYLE>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></HEAD>
<BODY lang=EN-US link=blue vLink=purple>
<DIV dir=ltr align=left><SPAN class=932505717-24012012><FONT color=#0000ff
size=2 face=Arial>When you issued the command you changed to being root, then
submitted the job on behalf of root. What you should have done
is:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=932505717-24012012><FONT color=#0000ff
size=2 face=Arial></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=932505717-24012012><FONT color=#0000ff
size=2 face=Arial>>sudo qsub script.sh -P hakeem -J 111</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=932505717-24012012><FONT color=#0000ff
size=2 face=Arial>(obviously, change hakeem to your actual user
name)</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=932505717-24012012><FONT color=#0000ff
size=2 face=Arial></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=932505717-24012012><FONT color=#0000ff
size=2 face=Arial>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.</FONT></SPAN></DIV>
<DIV class=Section1>
<P><SPAN style="FONT-FAMILY: Arial; COLOR: navy; FONT-SIZE: 8pt"><SPAN
style="FONT-FAMILY: Arial; FONT-SIZE: 10pt"><B>Martin
Rushton<BR></B></SPAN><I>HPC System Manager, Weapons Technologies<BR></I><SPAN
style="FONT-FAMILY: Arial; FONT-SIZE: 8pt"><I>Tel: 01959 514777, Mobile: 07939
219057<BR>email: jmrushton@QinetiQ.com</SPAN></I><BR><SPAN
style="FONT-FAMILY: Arial; FONT-SIZE: 8pt"><A
href="http://www.qinetiq.com/">www.QinetiQ.com</A></SPAN><BR><SPAN
style="FONT-FAMILY: Arial; COLOR: navy; FONT-SIZE: 8pt"><I>QinetiQ - Delivering
customer-focused solutions</I> </SPAN>
<P><SPAN style="FONT-FAMILY: Arial; COLOR: #339966; FONT-SIZE: 8pt"><I>Please
consider the environment before printing this email.</I> </SPAN></P></SPAN>
<P></P></DIV>
<DIV> </DIV><BR>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px" dir=ltr>
<DIV dir=ltr lang=en-us class=OutlookMessageHeader align=left>
<HR tabIndex=-1>
<FONT size=2 face=Tahoma><B>From:</B> torqueusers-bounces@supercluster.org
[mailto:torqueusers-bounces@supercluster.org] <B>On Behalf Of </B>Hakeem
Almabrazi<BR><B>Sent:</B> 24 January 2012 17:33<BR><B>To:</B> Torque Users
Mailing List<BR><B>Subject:</B> Re: [torqueusers] specify job
id<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV class=WordSection1>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt">Thank
you David,<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt"><o:p> </o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt">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)<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt">><B>sudo</B>
qsub script.sh –P root –J 111.<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt"><o:p> </o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt">No
complaining this time but no jobs in the queue when I
qstat.<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt">I
resend the same command as before but then it says Job with requested ID 111
already exist”…. <o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt"><o:p> </o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt">I
am not sure what to do next. I do not think I can delete it.
Anything I should try?…<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt"><o:p> </o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt">Thank
you for your help.<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt"><o:p> </o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt"><o:p> </o:p></SPAN></P>
<DIV
style="BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<P class=MsoNormal><B><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt">From:</SPAN></B><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt">
torqueusers-bounces@supercluster.org
[mailto:torqueusers-bounces@supercluster.org] <B>On Behalf Of </B>David
Beer<BR><B>Sent:</B> Tuesday, January 24, 2012 10:47 AM<BR><B>To:</B> Torque
Users Mailing List<BR><B>Subject:</B> Re: [torqueusers] specify job
id<o:p></o:p></SPAN></P></DIV>
<P class=MsoNormal><o:p> </o:p></P>
<P style="MARGIN-BOTTOM: 12pt" class=MsoNormal>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 :<BR><BR>qsub script.sh -P <user> -J
<desired job id><BR><BR>David<o:p></o:p></P>
<DIV>
<P class=MsoNormal>On Tue, Jan 24, 2012 at 9:08 AM, Hakeem Almabrazi <<A
href="mailto:halmabrazi@idtdna.com">halmabrazi@idtdna.com</A>>
wrote:<o:p></o:p></P>
<DIV>
<DIV>
<P style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"
class=MsoNormal>Hi,<o:p></o:p></P>
<P style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"
class=MsoNormal> <o:p></o:p></P>
<P style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"
class=MsoNormal>Is there a way to specify job id when request a
job?<o:p></o:p></P>
<P style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"
class=MsoNormal> <o:p></o:p></P>
<P style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"
class=MsoNormal>Thanks<o:p></o:p></P>
<P style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"
class=MsoNormal> <o:p></o:p></P>
<P style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"
class=MsoNormal><SPAN
style="FONT-FAMILY: MyriadPro-Regular; FONT-SIZE: 10pt"> </SPAN><o:p></o:p></P>
<P style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"
class=MsoNormal> <o:p></o:p></P>
<P style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"
class=MsoNormal> <o:p></o:p></P>
<P style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"
class=MsoNormal> <o:p></o:p></P></DIV></DIV>
<P style="MARGIN-BOTTOM: 12pt"
class=MsoNormal><BR>_______________________________________________<BR>torqueusers
mailing list<BR><A
href="mailto:torqueusers@supercluster.org">torqueusers@supercluster.org</A><BR><A
href="http://www.supercluster.org/mailman/listinfo/torqueusers"
target=_blank>http://www.supercluster.org/mailman/listinfo/torqueusers</A><o:p></o:p></P></DIV>
<P class=MsoNormal><BR><BR clear=all><BR>-- <o:p></o:p></P>
<DIV>
<P class=MsoNormal>David Beer | Software Engineer<o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal>Adaptive Computing<o:p></o:p></P></DIV>
<P class=MsoNormal><o:p> </o:p></P></DIV></BLOCKQUOTE>
<P><FONT face=Arial size=1>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 </FONT><A href="http://www.qinetiq.com/"><FONT face=Arial
size=1>http://www.qinetiq.com</FONT></A><A
href="http://www.qinetiq.com/"></A></P>
</BODY></HTML>