title: How to specify a fixed job name for jobs submitted by qsub
body: <p>I use -N option to specify the name for the job when submitting through qsub. The qsub, however, adds some numeric string after thejob name as described in the man page:
            By default the file name for standard  output  has  the
            form  job_name.ojob_id and job_name.ojob_id.task_id for
            array job tasks (see -t option below).</p>
  
  <p>Therefore, whenever I submit  a new job with same job name, a new suffix .ojob_id is added to the job name and a new output file is created. </p>
  
  <p>What I trying to achieve is to have same output file each time a job is submitted through qsub. How can I do that? I have to run a job several time and I want the output from a run to overwrite the output file generated in the previous run. How can I achieve that?
  See the example below:</p>
  
  <p>First time command is given to run script <code>hello_world</code> to output in <code>log_hello_world</code>: </p>
  
  <pre><code>qsub -cwd  -N log_hello_world    hello_world.sh
  </code></pre>
  
  <p>It creates two output files:</p>
  
  <pre><code>log_hello_world.e7584345
  log_hello_world.o7584345
  </code></pre>
  
  <p>Second time the same command is given: It creates two more output files</p>
  
  <pre><code>log_hello_world.e7584366
  log_hello_world.o7584366
  </code></pre>
  
  <p>What can I do to get the output in just one file <code>log_hello_world</code>.</p>