Bitcoin Forum
November 07, 2024, 02:16:49 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Phoenix 2.0 Error - cannot load phat2k & opencl  (Read 3013 times)
coalczar (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
December 18, 2012, 08:02:57 PM
 #1

OK, after hours of debugging the install and dependencies of Phoenix (kind of negligent not to tell you that you need Python 2.7, easy_install, zope.interface, and Twisted), I finally got it started this morning.

I can connect to my pool, but I can't do anything because these are the first lines I get:

Code:
[12/18/2012 13:52:33] Welcome to Phoenix v2.0.0
[13:52:33] Failed to load plugin "opencl"
[13:52:33] Failed to load plugin "phatk2"
[13:52:33] [cl:0:0] Fatal error: No kernel; disabled.

Help?
coalczar (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
December 18, 2012, 08:04:20 PM
 #2

And I am currently mining with GUIMiner (with OpenCL) and I see the kernels in my directory, so I really don't know why they can't be found.
ssateneth
Legendary
*
Offline Offline

Activity: 1344
Merit: 1004



View Profile
January 04, 2013, 10:26:27 PM
 #3

Your opencl isnt installed correctly. Fully uninstall and reinstall it.

deepceleron
Legendary
*
Offline Offline

Activity: 1512
Merit: 1036



View Profile WWW
January 19, 2013, 01:12:25 AM
 #4

If you are running from source, your largest obstacle will be building pyopencl . You did not state your platform. You can get a Windows compiled version here:
http://www.lfd.uci.edu/~gohlke/pythonlibs/#pyopencl



zvs
Legendary
*
Offline Offline

Activity: 1680
Merit: 1000


https://web.archive.org/web/*/nogleg.com


View Profile WWW
January 21, 2013, 04:10:31 AM
 #5

If you are running from source, your largest obstacle will be building pyopencl . You did not state your platform. You can get a Windows compiled version here:
http://www.lfd.uci.edu/~gohlke/pythonlibs/#pyopencl





couldn't be windows.  wouldnt have to bother with these dependencies he speaks of
deepceleron
Legendary
*
Offline Offline

Activity: 1512
Merit: 1036



View Profile WWW
January 21, 2013, 11:54:41 AM
 #6

If you are running from source, your largest obstacle will be building pyopencl . You did not state your platform. You can get a Windows compiled version here:
http://www.lfd.uci.edu/~gohlke/pythonlibs/#pyopencl

couldn't be windows.  wouldnt have to bother with these dependencies he speaks of


Could be Windows.

Same problems here, there are no docs about the build versions at all. To get a suitable environment I finally installed:
Python 2.6.6
Python setuptools-0.6c12dev-r85381
Python 2.6 Base-11.5.23
Python 2.6 numpy-1.6.0
Python 2.6 scipy-0.7.1
Python 2.6 Twisted-10.1.0
Python 2.6 zope.interface-3.6.3

Most of those are pre-built here: http://www.lfd.uci.edu/~gohlke/pythonlibs/#numpy

Then I installed boost libraries 1.42 (timedate, python, threads; multithreaded dll), and copied the boost_date_time-vc90-mt-1_42.dll, boost_python-vc90-mt-1_42.dll, and boost_thread-vc90-mt-1_42.dll to the windows\system32 directory

added Python to the path, added a HOME environment variable.

Installed full ATI Stream SDK 2.4.

I then got the pyOpenCL 0.92 (the last version that doesn't complain about kernels using deprecated functions), and built and installed it using MSVC9. Multiple fails to come up with this as my siteconf.py:

BOOST_INC_DIR = [r'C:\Program Files\boost\boost_1_42']
BOOST_LIB_DIR = [r'C:\Program Files\boost\boost_1_42\lib']
BOOST_COMPILER = 'msvc'
BOOST_PYTHON_LIBNAME = ['boost_python-vc90-mt-1_42']
USE_SHIPPED_BOOST = False
CL_TRACE = False
CL_ENABLE_GL = False
CL_INC_DIR = [r'C:\Program Files\AMD APP\include']
CL_LIB_DIR = [r'C:\Program Files\AMD APP\lib\x86']
CL_LIBNAME = ['OpenCL']
CXXFLAGS = ['/EHsc', '/DBOOST_PYTHON_NO_PY_SIGNATURES']
LDFLAGS = ['/FORCE']


Or something like that... with all that, now I can run phoenix source.

 A step-by-step 'how to install python for phoenix.exe' would be many many steps, it would be nice if Jedi95 would just document building, especially how he makes the EXE since I have yet to duplicate the binary he distributes.

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!