<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:tahoma, new york, times, serif;font-size:12pt;color:#000000;"><DIV></DIV>
<DIV>Hi,</DIV>
<DIV>I have installed torque and maui <FONT face="tahoma, new york, times, serif">andthey work with simple commands (like echo "sleep 30" | qsub) however, when I submit a script (<SPAN lang=EN>qsub -q qname -l ncpus=1 torscript.sh</SPAN>) that has relative paths I get an error. </FONT></DIV>
<DIV> </DIV>
<DIV><FONT face="Courier New"></FONT><FONT size=2 face="Courier New, courier, monaco, monospace, sans-serif">mahmood@localhost:tools$</FONT><FONT size=2 face="Courier New, courier, monaco, monospace, sans-serif"> ls</FONT></DIV>
<DIV><FONT size=2 face="Courier New, courier, monaco, monospace, sans-serif">torscript.sh flex ....</FONT></DIV>
<DIV><FONT size=2 face="Courier New, courier, monaco, monospace, sans-serif"><BR></FONT><FONT size=2 face="Courier New, courier, monaco, monospace, sans-serif">mahmood@localhost:tools$</FONT><FONT size=2 face="Courier New, courier, monaco, monospace, sans-serif"> cat torscript.sh<BR>#!/bin/bash<BR>./flex my_input</FONT></DIV>
<DIV> </DIV>
<DIV>I get this error:</DIV><FONT size=2 face="Courier New, courier, monaco, monospace, sans-serif">mahmood@localhost:tools$</FONT><FONT size=2 face="Courier New, courier, monaco, monospace, sans-serif"> cat torscript.sh.e26<BR>/var/spool/pbs/mom_priv/jobs/26.qname.SC: line 2: ./flex: No such file or directory<BR></FONT>
<DIV><BR>So what should I do? thanks,</DIV>
<DIV>
<DIV><FONT style="BACKGROUND-COLOR: #ffffff" color=#0080ff size=2 face="arial, helvetica, sans-serif"><STRONG>// Naderan *Mahmood;</STRONG></FONT></DIV></DIV>
<DIV></DIV></div><br>
</body></html>