来自 Anaconda 的 Theano 和 MinGW。如何使 openmp 工作?
Theano and MinGW from Anaconda. How to make openmp work?
我必须使用 Theano 处理大型数据集,所以我想使用并行性。我已经使用 conda 安装了 MinGW,并在 .theanorc True 中设置了 openmp 标志。但是当我 运行 我的代码时,我看到了
"UserWarning: Your g++ compiler fails to compile OpenMP code. We know this happen with some version of the EPD mingw compiler and LLVM compiler on Mac OS X. We disable openmp everywhere in Theano. To remove this warning set the theano flags openmp
to False" 如何让事情发挥作用?
我正在使用 Windows 7 x64、Anaconda 2.5.0、theano 0.7、mingw 4.7
在最新版本的 Anaconda 中,您默认安装了 INTEL MKL 库。自动正确配置 MKL 允许您在 numpy 和 theano 计算中使用多线程模式。
我必须使用 Theano 处理大型数据集,所以我想使用并行性。我已经使用 conda 安装了 MinGW,并在 .theanorc True 中设置了 openmp 标志。但是当我 运行 我的代码时,我看到了
"UserWarning: Your g++ compiler fails to compile OpenMP code. We know this happen with some version of the EPD mingw compiler and LLVM compiler on Mac OS X. We disable openmp everywhere in Theano. To remove this warning set the theano flags openmp
to False" 如何让事情发挥作用?
我正在使用 Windows 7 x64、Anaconda 2.5.0、theano 0.7、mingw 4.7
在最新版本的 Anaconda 中,您默认安装了 INTEL MKL 库。自动正确配置 MKL 允许您在 numpy 和 theano 计算中使用多线程模式。