Hi guys i've made a PBS script to launch another program called "tophat"<br><br>tophat is located at /usr/local/bin/tophat <br><br>Here'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 "C" 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've tried doing cd like the script above and using PBS_O_PATH but nothing seems to work..<br><br>Thanks for help :)<br>