sudo add-apt-repository ppa:ubuntu-x-swat/x-updates
sudo apt-get update
sudo apt-get install screen
screen -S update sudo apt-get install fglrx vim openssh-server g++ libboost-all-dev subversion git-core python-numpy
screen -d -m -S icd wget
http://download2-developer.amd.com/amd/Stream20GA/icd-registration.tgzscreen -d -m -S pyopencl wget
http://pypi.python.org/packages/source/p/pyopencl/pyopencl-0.92.tar.gzscreen -d -m -S stream wget
http://download2-developer.amd.com/amd/Stream20GA/ati-stream-sdk-v2.1-lnx64.tgzscreen -r stream
sudo tar xvfz ati-stream-sdk-v2.1-lnx64.tgz -C /opt
sudo tar xvfz icd-registration.tgz -C /
tar zxfv pyopencl-0.92.tar.gz
screen -r update
svn checkout
http://svn.json-rpc.org/trunk/python-jsonrpcsvn checkout
http://svn3.xp-dev.com/svn/phoenix-miner/trunkgit clone git://github.com/m0mchil/poclbm poclbm
mv trunk phoenix
echo export DISPLAY=:0 >> ~/.bashrc
cd pyopencl-0.92
sudo sh -c 'echo "/opt/ati-stream-sdk-v2.1-lnx64/lib/x86_64/" >> /etc/ld.so.conf.d/local.conf'
./configure.py --cl-inc-dir=/opt/ati-stream-sdk-v2.1-lnx64/include/ --cl-lib-dir=/opt/ati-stream-sdk-v2.1-lnx64/lib/x86_64
sudo ldconfig
source ~/.bashrc
*** ateh aqui tudo de boa chego no make -j3 me deu um belo erro
make -j3ctags -R src || true
/bin/sh: ctags: not found
/usr/bin/python setup.py install
running install
install_dir /usr/local/lib/python2.7/dist-packages/
Checking .pth file support in /usr/local/lib/python2.7/dist-packages/
/usr/bin/python -E -c pass
TEST PASSED: /usr/local/lib/python2.7/dist-packages/ appears to support .pth files
running bdist_egg
running egg_info
writing requirements to pyopencl.egg-info/requires.txt
writing pyopencl.egg-info/PKG-INFO
writing top-level names to pyopencl.egg-info/top_level.txt
writing dependency_links to pyopencl.egg-info/dependency_links.txt
reading manifest file 'pyopencl.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'pyopencl.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-i686/egg
running install_lib
running build_py
running build_ext
building '_cl' extension
----------------------------------------------------------------------------
Sorry, your build failed. Try rerunning configure.py with different options.
----------------------------------------------------------------------------
Traceback (most recent call last):
File "setup.py", line 160, in
main()
File "setup.py", line 152, in main
extra_link_args=conf["LDFLAGS"],
File "/home/crazy/pyopencl-0.92/aksetup_helper.py", line 37, in setup
setup(*args, **kwargs)
File "/usr/lib/python2.7/distutils/core.py", line 152, in setup
dist.run_commands()
File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "build/bdist.linux-i686/egg/setuptools/command/install.py", line 73, in run
File "build/bdist.linux-i686/egg/setuptools/command/install.py", line 93, in do_egg_install
File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
self.distribution.run_command(command)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "build/bdist.linux-i686/egg/setuptools/command/bdist_egg.py", line 179, in run
File "build/bdist.linux-i686/egg/setuptools/command/bdist_egg.py", line 166, in call_command
File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
self.distribution.run_command(command)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "build/bdist.linux-i686/egg/setuptools/command/install_lib.py", line 20, in run
File "/usr/lib/python2.7/distutils/command/install_lib.py", line 111, in build
self.run_command('build_ext')
File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
self.distribution.run_command(command)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "build/bdist.linux-i686/egg/setuptools/command/build_ext.py", line 46, in run
File "/usr/lib/python2.7/distutils/command/build_ext.py", line 340, in run
self.build_extensions()
File "/usr/lib/python2.7/distutils/command/build_ext.py", line 449, in build_extensions
self.build_extension(ext)
File "build/bdist.linux-i686/egg/setuptools/command/build_ext.py", line 182, in build_extension
File "/usr/lib/python2.7/distutils/command/build_ext.py", line 496, in build_extension
include_dirs=ext.include_dirs,
File "/home/crazy/pyopencl-0.92/aksetup_helper.py", line 69, in include_dirs
return self._include_dirs + [self.get_numpy_incpath()]
File "/home/crazy/pyopencl-0.92/aksetup_helper.py", line 63, in get_numpy_incpath
file, pathname, descr = find_module("numpy")
ImportError: No module named numpy
make: ** [install] Erro 1
sudo make install
cd ../python-jsonrpc
sudo python setup.py install
cd ~
chmod +x phoenix/phoenix.py poclbm/poclbm.py
sudo aticonfig --initial -f --adapter=all
sudo reboot