Author

Topic: How do I run the Phoenix miner script directly in Windows 7 x64? (Read 2198 times)

legendary
Activity: 1708
Merit: 1020
I am happy I am not the only one having trouble getting all these libraries installed.

but: did you read my post above? should get you running from script in a minute...

you can then also look through the code and compare it to the source jedi released if you feel like it.
legendary
Activity: 1512
Merit: 1036
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.
full member
Activity: 219
Merit: 120
I would like to run the Phoenix python script directly and test if there is any performance benefit to doing so.  After installing Python 3.2 for Windows 7 x64, I run the following commands in the source directory containing phoenix.py and always get the same error:


Phoenix is designed for Python 2.6/2.7. That is most likely the cause of your issue.
legendary
Activity: 1708
Merit: 1020
I am very sure there will be no performance benefit from this.

Instaling all the libraries is a big pain in the a** but you can unzip the phoenix.exe with your favorite .zip program. it carries it's own python interpreter and all necessary libraries.
newbie
Activity: 31
Merit: 0
I would like to run the Phoenix python script directly and test if there is any performance benefit to doing so.  After installing Python 3.2 for Windows 7 x64, I run the following commands in the source directory containing phoenix.py and always get the same error:

Code:
C:\users\me\downloads\phoenix-1.50\src>.\phoenix.py
  File "C:\users\me\downloads\phoenix-1.50\src\src\phoenix.py", line 98
    except ValueError, e:

Code:
C:\users\me\downloads\phoenix-1.50\src>.\phoenix.py -u http://user:[email protected]:8332 -k phatk
  File "C:\users\me\downloads\phoenix-1.50\src\src\phoenix.py", line 98
    except ValueError, e:

Line 98 implies a connection error from the following source.  Do I need to pass the url in a special manner on the command line?

Code:
    def makeConnection(self, requester):
        if not self.connection:
            try:
                self.connection = minerutil.openURL(self.url, requester)
            except ValueError, e:
                print(e)
                exit()
        return self.connection
Jump to: