Skip to content

Commit

Permalink
DOC: update openblas fork warning with fixed pthread build info
Browse files Browse the repository at this point in the history
  • Loading branch information
juliantaylor committed Feb 21, 2014
1 parent 5dbf527 commit 8a4ff79
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions site.cfg.example
Original file line number Diff line number Diff line change
Expand Up @@ -86,13 +86,17 @@
# **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.
# POSIX systems (Linux, Mac).
# This is fixed in Openblas 0.2.9 for the pthread build, the OpenMP build using
# GNU openmp is as of gcc-4.9 not fixed yet.
# Python 3.4 will introduce a new feature in multiprocessing, called the
# "forkserver", which solves this problem. For older versions, make sure
# OpenBLAS is built using pthreads 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
# https://github.com/xianyi/OpenBLAS/issues/294
#
# [openblas]
# libraries = openblas
Expand Down

0 comments on commit 8a4ff79

Please sign in to comment.