<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:o =
"urn:schemas-microsoft-com:office:office" xmlns:w =
"urn:schemas-microsoft-com:office:word"><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3157" name=GENERATOR>
<STYLE>@page Section1 {size: 8.5in 11.0in; margin: 1.0in 1.25in 1.0in 1.25in; }
P.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
LI.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
DIV.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.EmailStyle17 {
        COLOR: windowtext; FONT-FAMILY: Arial; mso-style-type: personal-compose
}
DIV.Section1 {
        page: Section1
}
</STYLE>
</HEAD>
<BODY lang=EN-US vLink=purple link=blue>
<DIV dir=ltr align=left><SPAN class=874250311-11042008><FONT face=Arial
color=#0000ff size=2>Hi Juraj,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=874250311-11042008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=874250311-11042008><FONT face=Arial
color=#0000ff size=2>I found a way to run those X-wiindows
applications.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=874250311-11042008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=874250311-11042008><FONT face=Arial
color=#0000ff size=2>In .login I set an alias for each
application</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=874250311-11042008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=874250311-11042008><FONT face=Arial
color=#0000ff size=2>alias tclock "qsub -I -X -l nodes=1 -N
CLOCK"</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=874250311-11042008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=874250311-11042008><FONT face=Arial
color=#0000ff size=2>If I do a tclock on command line, torque submits an
interactive job AND sources the .login</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=874250311-11042008><FONT face=Arial
color=#0000ff size=2>In .login I'm looking for $PBS_JOBNAME and do
something:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=874250311-11042008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=874250311-11042008><FONT face=Arial
color=#0000ff size=2>if ($?PBS_JOBNAME) then</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=874250311-11042008> <FONT
face=Arial color=#0000ff size=2>if ($PBS_JOBNAME == "CLOCK")
then</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN
class=874250311-11042008> <FONT
face=Arial color=#0000ff size=2>echo "start xclock with
torque"</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN
class=874250311-11042008> <FONT
face=Arial color=#0000ff size=2>`xclock`</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN
class=874250311-11042008> <FONT
face=Arial color=#0000ff size=2>`/usr/local/binqdel
$PBS_JOBID`</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=874250311-11042008> <FONT
face=Arial color=#0000ff size=2>endif</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=874250311-11042008><FONT face=Arial
color=#0000ff size=2>endif</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=874250311-11042008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><SPAN class=874250311-11042008><FONT face=Arial color=#0000ff size=2>Kindly
regards,</FONT></SPAN></DIV>
<DIV><SPAN class=874250311-11042008><FONT face=Arial color=#0000ff
size=2>Roland</FONT></SPAN></DIV>
<DIV><BR></DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> torqueusers-bounces@supercluster.org
[mailto:torqueusers-bounces@supercluster.org] <B>On Behalf Of </B>Priskin,
Juraj (CZ10)<BR><B>Sent:</B> Thursday, April 10, 2008 8:37 AM<BR><B>To:</B>
torqueusers@supercluster.org<BR><B>Subject:</B> [torqueusers] Submitting X
application<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV class=Section1>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Greetings,<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">We have running the OpenPBS
cluster at Linux network for a while for batch computer intensive jobs. I was
asked to configure the cluster in order to make possible submit interactive
jobs which launch X-windows application, i.e. running the GUI based
application at one of the MOM machine and see the graphic result on the
machine where the job was submitted. This approach would better balance the
GUI applications load over the network.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">I did several trials with
interactive job “qsub –I” but I did not get into the state when the X was
forwarded to the client where the job was submitted. I usually get the “Can’t
open display” error message from the application. I tried to set the DISPLAY
env. variable to the submitting node, set the xhost +, etc. but no result. I’m
not an expert of X-windows system at all. Since I’m running quite obsolete
slightly configured OpenPBS 2.3.16, I looked at Torque hoping to find some
solution. It was not the case, thus I’m asking whether someone has some
solution for this issue. <o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">I know just very few about the
LSF, but it somehow supports this feature.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Any solution
?<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Thank
you,<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Juraj
Priskin<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">ASIC/FPGA
Design<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Honeywell
International<o:p></o:p></SPAN></FONT></P></DIV></BLOCKQUOTE></BODY></HTML>