Hi guys i&#39;ve made a PBS script to launch another program called &quot;tophat&quot;<br><br>tophat is located at /usr/local/bin/tophat <br><br>Here&#39;s my pbs script located in /home/PBS_scripts/<br><br>#!/bin/sh<br>#PBS -l walltime=00:05:00<br>
#PBS -N tophat_script<br>#PBS -o tophat_script.out<br>#PBS -e tophat_scriptb.err<br><br>echo Script starts..<br>cd /usr/local/bin/<br>./tophat -r 150 /data/results/Sl65/reference_genome/GRch37.58/hg19 1_1.fa 1_2.fa<br>echo Script ends..<br>
<br>This job script never uses any node or procesor, (1 node and 1 procesor by default) and apears in queue as &quot;C&quot; state.<br><br>The tophat_scriptb.err looks like this:<br><br>/opt/torque/mom_priv/jobs/<a href="http://22825.sistemas-genom8.sistemas.local.SC">22825.sistemas-genom8.sistemas.local.SC</a>: line 9: ./tophat: No such file or directory<br>
<br>How the hell i can specify the path to my script location because i&#39;ve tried doing cd like the script above and using PBS_O_PATH but nothing seems to work..<br><br>Thanks for help :)<br>