running a job in unix <p>I have the following small script - myjob.qsub: </p> <pre><code>#!/bin/sh -login #PBS -l walltime=00:15:00 #PBS -l nodes=1:ppn=1 #PBS -l mem=2gb #PBS -N myrun05168 /myexecutable &gt;mylog.log </code></pre> <p>I did make it executable by:</p> <pre><code>chmod u+x myexecutable </code></pre> <p>When I try to run by changing directory to the folder of executible and then sumbit the job:</p> <pre><code>qsub myjob.qsub </code></pre> <p>gives me error of no /myexecutable file or directory.</p> <p>I tried to use "./": </p> <pre><code> #!/bin/sh -login #PBS -l walltime=00:15:00 #PBS -l nodes=1:ppn=1 #PBS -l mem=2gb #PBS -N myrun05168 ./myexecutable &gt;mylog.log </code></pre> <p>but doesnot help. </p> <p>when I just tried to run my executable in command line as, it works: </p> <pre><code>./myexecutable </code></pre> <p>As I can not run this as this job need to be submitted as job in cluster computer. </p> <p>Any suggestions ? </p>