Skip to content

Commit

Permalink
https://stackoverflow.com/questions/52895211/how-do-dask-threads-inte…
Browse files Browse the repository at this point in the history
…ract-with-openblas-mkl
  • Loading branch information
bramvds committed Nov 26, 2018
1 parent b8a3176 commit 8c3ab67
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/pyscenic/cli/pyscenic.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
# -*- coding: utf-8 -*-

import argparse
import os

# Set number of threads to use for OpenBLAS.
os.environ["OPENBLAS_NUM_THREADS"] = 1

# Set number of threads to use for MKL.
os.environ["MKL_NUM_THREADS"] = 1

import argparse
import logging
from dask.diagnostics import ProgressBar
from multiprocessing import cpu_count
Expand Down

0 comments on commit 8c3ab67

Please sign in to comment.