title: Question environmental variable of threads in Julia
body: <p>I recently started working on a server (Centos7) for a computing task using Julia. But I met with a problem concerning the threads that Julia was using. The server, which equipped with 80 virtual CPUs, was unable to use the majority of its CPUs during the computing process.</p>
  <pre><code>$ lscpu
  Architecture:          x86_64
  CPU op-mode(s):        32-bit, 64-bit
  Byte Order:            Little Endian
  CPU(s):                80
  On-line CPU(s) list:   0-79
  Thread(s) per core:    2
  Core(s) per socket:    20
  Socket(s):             2
  ...
  </code></pre>
  <p>I tried to change this situation by change the ~/.bashrc, ~/.bash_profile file to set the threads to be 60 under my personal directory, but the number of threads seemed to be frozen on 4.</p>
  <p>Also, I tried to use the set command, but it still didn't work.</p>
  <pre><code>$ set JULIA_NUM_THREADS = 60
  $ echo $JULIA_NUM_THREADS 
  4
  </code></pre>
  <p>Is there anything else I can do to fix this? Any insights are greatly appreciated!</p>