ports/math/py-theano/files/pkg-message.in
Dmitry Sivachenko a6e0a8e294 Use compiler:openmp to pull the correct CXX variable.
Add some notes about how to use theano in multi-threaded mode.
2015-04-05 10:10:49 +00:00

15 lines
367 B
Text

To use Theano in multi-threaded mode, install OpenBLAS with option
OPENMP enabled, install py-numpy with OpenBLAS support and use this
minimal ~/.theanorc:
---------------------------
[global]
cxx = %%CXX%%
openmp = True
[blas]
ldflags = -lopenblasp
---------------------------
You can control the number of threads used with OMP_NUM_THREADS environment
variable.