cpyrit_opencl
Folders and files
Name | Name | Last commit date | ||
---|---|---|---|---|
parent directory.. | ||||
CPyrit-OpenCL +++++++++++++ A sub-package that adds OpenCL-capability to Pyrit. Please see the main README for more information about Pyrit. http://code.google.com/p/pyrit/ Requirements ++++++++++++ CPyrit-OpenCL compiles and runs on Linuxe and MacOS. Windows is not (and probably never will be) supported; there are however some reports of successful installations on Windows with the help of MinGW. A couple of libraries and headers are required to build CPyrit-OpenCL: * Python >=2.5 and it's headers http://www.python.org * The OpenSSL library and headers http://www.openssl.org * The ZLib library and headers http://www.zlib.net * An OpenCL-implementing library and it's headers Linux users running a binary distribution may need to install the development packages for Python (e.g. python-devel), OpenSSL (e.g. openssl-devel or libssl-dev) and ZLib (e.g. zlib-devel). You also need a C-compiler like gcc. Users of MacOS probably only need to have XCode installed. By default, setup.py looks into '/usr/local/opencl/OpenCL/common/inc', '/opt/opencl/OpenCL/common/inc' and '/usr/local/opencl/include' to find the OpenCL-headers. Modify setup.py if you have the include files installed elsewhere. Installing ++++++++++ Unpack the source-code into a new directory like this: tar xvzf cpyrit-opencl-0.4.0.tar.gz Switch to the module's directory. We use Python's distutils to compile and install the code: cd cpyrit-opencl-0.4.0 python setup.py build If everything went well and no errors are thrown at you, use distutils again to install CPyrit-OpenCL: sudo python setup.py install You should see your OpenCL-capable devices listed when executing 'pyrit list_cores'. Reporting bugs / Getting help +++++++++++++++++++++++++++++ Please take a look at the Troubleshooting-page in Pyrit's Wiki if you have problems compiling or running Pyrit: http://code.google.com/p/pyrit/wiki/Troubleshooting Please report bugs, glitches and enhancement proposals using Pyrit's issue- tracker: http://code.google.com/p/pyrit/issues/list License +++++++ Pyrit is free software - free as in freedom. Everyone can inspect, copy or modify it and share derived work under the GNU General Public License v3. You should have received a copy of the GNU General Public License along with Pyrit. If not, see <http://www.gnu.org/licenses/>.