<p class="MsoNormal">Hi</p>
<p class="MsoNormal"><span style=""> <b> </b></span><b>I am using
DRMAA to submit a job to Sun Grid Engine.<span style="">
</span>When I submitting a job, it is getting queued, after some time it get in
running stage, but suddenly it get failed.<span style="">
</span></b></p>
<p class="MsoNormal"><b>DRMAA is throwing any exception; even nothing is logged in
the output and error files that SGE generates for each job. </b></p>
<p class="MsoNormal"><b> </b></p>
<p class="MsoNormal">-rw-r--r-- 1 n075899 asausers<span style=""> </span>0 Jan 31 05:40 simple.sh.e2132</p>
<p class="MsoNormal">-rw-r--r-- 1 n075899 asausers<span style=""> </span>0 Jan 31 05:40 simple.sh.o2132</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">I am running a simple job present in example folder of<span style=""> </span>sge installation folder,</p>
<p class="MsoNormal">Content of simple.sh as below:</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"># This is a simple example of a SGE batch script</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"># request Bourne shell as shell for job</p>
<p class="MsoNormal">#$ -S /bin/sh</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">#</p>
<p class="MsoNormal"># print date and time</p>
<p class="MsoNormal">date</p>
<p class="MsoNormal"># Sleep for 20 seconds</p>
<p class="MsoNormal">sleep 20</p>
<p class="MsoNormal"># print date and time again</p>
<p class="MsoNormal">date</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><b>But this simple.sh<span style="">
</span>is executed successfully when I submit through SGE command line
interface (e.g. qsub command)<span style=""> </span></b></p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
<span style="font-size: 12pt; font-family: "Times New Roman";">Please help me solve these fatal issues. I am also
attaching simple.sh with this mail.</span>