title: OpenBLAS blas_thread_init: pthread_create: Resource temporarily unavailable
body: <p>I am facing a problem now, unable to run any program in the cluster. It gives error.</p>
  <pre><code>OpenBLAS blas_thread_init: pthread_create: Resource temporarily unavailable
  OpenBLAS blas_thread_init: RLIMIT_NPROC 64 current, 64 max
  OpenBLAS blas_thread_init: pthread_create: Resource temporarily unavailable
  OpenBLAS blas_thread_init: RLIMIT_NPROC 64 current, 64 max
  OpenBLAS blas_thread_init: pthread_create: Resource temporarily unavailable
  OpenBLAS blas_thread_init: RLIMIT_NPROC 64 current, 64 max
  OpenBLAS blas_thread_init: pthread_create: Resource temporarily unavailable
  OpenBLAS blas_thread_init: RLIMIT_NPROC 64 current, 64 max
  Traceback (most recent call last):
    File &quot;hello-world.py&quot;, line 1, in &lt;module&gt;
      from keras.models import Sequential
    File &quot;/home/amalli2s/anaconda3/lib/python3.6/site-packages/keras/__init__.py&quot;, line 3, in &lt;module&gt;
      from . import utils
    File &quot;/home/amalli2s/anaconda3/lib/python3.6/site-packages/keras/utils/__init__.py&quot;, line 2, in &lt;module&gt;
      from . import np_utils
    File &quot;/home/amalli2s/anaconda3/lib/python3.6/site-packages/keras/utils/np_utils.py&quot;, line 6, in &lt;module&gt;
      import numpy as np
    File &quot;/home/amalli2s/.local/lib/python3.6/site-packages/numpy/__init__.py&quot;, line 142, in &lt;module&gt;
      from . import add_newdocs
    File &quot;/home/amalli2s/.local/lib/python3.6/site-packages/numpy/add_newdocs.py&quot;, line 13, in &lt;module&gt;
      from numpy.lib import add_newdoc
    File &quot;/home/amalli2s/.local/lib/python3.6/site-packages/numpy/lib/__init__.py&quot;, line 8, in &lt;module&gt;
      from .type_check import *
    File &quot;/home/amalli2s/.local/lib/python3.6/site-packages/numpy/lib/type_check.py&quot;, line 11, in &lt;module&gt;
      import numpy.core.numeric as _nx
    File &quot;/home/amalli2s/.local/lib/python3.6/site-packages/numpy/core/__init__.py&quot;, line 16, in &lt;module&gt;
      from . import multiarray
  SystemError: initialization of multiarray raised unreported exception
  </code></pre>
  <p>This problem, i assume to be same as this one <a href="https://stackoverflow.com/questions/51256738/multiple-instances-of-python-running-simultaneously-limited-to-35">Multiple instances of Python running simultaneously limited to 35</a></p>
  <p>So according to the solution when I set
  <code>export OPENBLAS_NUM_THREADS=1</code></p>
  <p>then I end up getting following error:</p>
  <pre><code>terminate called after throwing an instance of 'std::system_error'
    what():  Resource temporarily unavailable
  Aborted
  </code></pre>
  <p>Is there anybody else facing same issue or has idea on how to solve this ? Thank you.</p>
  <p>EDIT:
  Ok, Seems like this happened because of some config restrictions the admins were trying to implement. Now it works again.</p>