title: how to specify error log file and output file in qsub
body: <p>I have a qsub script as </p>
  
  <pre><code>#####----submit_job.sh---#####
      #!/bin/sh
      #$ -N job1
      #$ -t 1-100
      #$ -cwd
      SEEDFILE=/home/user1/data1
      SEED=$(sed -n -e "$SGE_TASK_ID p" $SEEDFILE)
      /home/user1/run.sh $SEED 
  </code></pre>
  
  <p>The problem is-- it puts all error and output files (job1.eJOBID &amp; job1.oJOBID) to the same directory from where I am running qsub submit_job.sh while I want to save these file (output and error log file in same different place (specified as $SEED_output).
  I tried to change the line as</p>
  
  <pre><code>/home/user1/run.sh $SEED -o $SEED_output
  </code></pre>
  
  <p>But it didn't work. Any suggestion ?? How can I specify path and name of default output and error log file ??</p>