10000 DOC: site.cfg: warn against OpenBLAS and multiprocessing by larsmans · Pull Request #4194 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content

DOC: site.cfg: warn against OpenBLAS and multiprocessing #4194

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 14, 2014
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions site.cfg.example
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,17 @@
# for your configuration (in the following example we installed OpenBLAS with
# ``make install PREFIX=/opt/OpenBLAS``.
#
# **Warning**: OpenBLAS, by default, is built in multithreaded mode. Due to the
# way Python's multiprocessing is implemented, a multithreaded OpenBLAS can
# cause programs using both to hang as soon as a worker process is forked on
# POSIX systems (Linux, Mac). Python 3.4 will introduce a new feature in
# multiprocessing, called the "forkserver", which solves this problem. For
# older versions, either compile OpenBLAS with multithreading turned off or
# use Python threads instead of multiprocessing.
# (This problem does not exist with multithreaded ATLAS.)
#
# http://docs.python.org/3.4/library/multiprocessing.html#contexts-and-start-methods
#
# [openblas]
# libraries = openblas
# library_dirs = /opt/OpenBLAS/lib
Expand Down
0