title: Submitting jobs using python
body: <p>I am trying to submit a job in a cluster in our institute using python scripts. </p>
  
  <pre><code> compile_cmd = 'ifort -openmp ran_numbers.f90 ' + fname \
                    + ' ompscmf.f90 -o scmf.o'
   subprocess.Popen(compile_cmd, shell=True)
  
   Popen('qsub launcher',shell=True)
  </code></pre>
  
  <p>The problem is that , system is hanging at this point. Any obvious mistakes in the above script? All the files mentioned in the code are available in that directory ( I have cross checked that). <em>qsub</em> is a command used to submit jobs to our cluster. <em>fname</em> is the name of a file that I created in the process.</p>