title: Lasagne/Theano doesn't consume multi cores while check_blas.py does
body: <p>I'm running a Logistic Regression classifier on Lasagne/Theano with multiple <strong>cpu</strong> cores.</p>
  
  <p>This is my <em>~/.theanorc</em> file:</p>
  
  <pre><code>[global]
  OMP_NUM_THREADS=20
  </code></pre>
  
  <p>theano/misc/<strong>check_blas.py</strong> consumes all 20 cores but my script doesn't.
  when I run:</p>
  
  <pre><code>python -c 'import theano; print(theano.config)' 
  </code></pre>
  
  <p>I see that the value of openmp is False:</p>
  
  <blockquote>
    <p>openmp () 
        Doc:  Allow (or not) parallel computation on the CPU with OpenMP. This is the default value used when creating an Op that supports
    OpenMP parallelization. It is preferable to define it via the Theano
    configuration file ~/.theanorc or with the environment variable
    THEANO_FLAGS. Parallelization is only done for some operations that
    implement it, and even for operations that implement parallelism, each
    operation is free to respect this flag or not. You can control the
    number of threads used with the environment variable OMP_NUM_THREADS.
    If it is set to 1, we disable openmp in Theano by default.
        <strong>Value:  False</strong></p>
  </blockquote>
  
  <p>Does anybody know How I should enable the multi-core feature for my script?</p>
  
  <p>blas, atlas, openmp, etc. are installed on my system and as I said work perfectly with check_blas.py.</p>