title: bsub post processing script
body: <p>I was writing a script for submitting parallel jobs in cluster using bsub command</p>
  
  <pre><code>while read p; do
    cd $(echo $p | tr -d '\r')
    echo Submitting test: $p
    bsub -P &lt;project&gt; -Jd &lt;job desc&gt; -o lsf.log "sh ./run_test.sh &amp;&gt; $log"
    cd - &amp;&gt; /dev/null
  done &lt; $filename
  </code></pre>
  
  <p>How can I compile the results at the end of all test runs?</p>