Bitcoin Forum

Bitcoin => Mining support => Topic started by: wazoo42 on May 01, 2012, 04:24:06 PM



Title: [SOLVED] linux/phoenix/ati-12.3 fails with numpy import error
Post by: wazoo42 on May 01, 2012, 04:24:06 PM
I am using gentoo with phoenix-1.7.3, pyopencl-2011.2, numpy-1.6.1-r2, twisted-12.0, and ati-drivers-12.3 or 12.4. When I setup the box yesterday I used 12.3 and after running eselect opencl set amd the miners started (though 20 MH/s slower than my other install, which used sdk-2.5 and fglrx-11.11). I updated a few packages (glib, mpg123, firefox, openssh, and ati-drivers-12.4), and after rebooting I get the below error. I tried re-emerging numpy and pyopencl, but the same error occurred, I reverted back to ati-drivers-12.3, and re-emerging numpy and pyopencl with the same results. A few google searches haven't shown much regarding that error. Do you have any ideas what is broken? Thanks in advance.

Code:
   ImportError: numpy.core.multiarray failed to import
terminate called after throwing an instance of 'std::runtime_error'
  what():  numpy failed to initialize


Title: Re: linux/phoenix/ati-12.3 fails with numpy import error
Post by: wazoo42 on May 01, 2012, 05:20:50 PM
I finally found this page, which says installing scipy fixed this error. I tried both the 12.3 and 12.4 drivers and they work.

http://old.nabble.com/Fatal-Python-error%3A-numpy.core.multiarray-failed-to-import...-exiting.-td6194838.html

NOTE: Emerging scipy failed with undefined lapack symbols, and I had to USE="-lapack" emerge numpy, and then scipy-0.10.1 emerged fine.