Export to GitHub

pyrit - issue #246

cal++ and open-cl conflict (My error)


Posted on Jan 25, 2011 by Grumpy Horse

I have been trying to install cal++ without removing my previous installation, so i have got this when i run it:

pyrit benchmark /usr/local/lib/python2.6/dist-packages/cpyrit/cpyrit.py:63: UserWarning: WARNING: Version mismatch between <module 'cpyrit._cpyrit_cpu' from '/usr/local/lib/python2.6/dist-packages/cpyrit/_cpyrit_cpu.so'> ('0.4.0-dev (svn r288)') and <module 'cpyrit._cpyrit_opencl' from '/usr/local/lib/python2.6/dist-packages/cpyrit/_cpyrit_opencl.so'> ('0.3.0')

"('%s')\n" % (_cpyrit_cpu, _cpyrit_cpu.VERSION, mod, ver)) Pyrit 0.4.0-dev (svn r288) (C) 2008-2010 Lukas Lueg http://pyrit.googlecode.com This code is distributed under the GNU General Public License v3+

Running benchmark (45872.0 PMKs/s)... \

Computed 45871.95 PMKs/s total.

1: 'OpenCL-Device 'Cypress'': 44520.4 PMKs/s (RTT 2.8)

2: 'CPU-Core (SSE2)': 925.4 PMKs/s (RTT 3.0)

3: 'CPU-Core (SSE2)': 923.9 PMKs/s (RTT 3.0)

4: 'CPU-Core (SSE2)': 920.8 PMKs/s (RTT 3.0)

5: 'CPU-Core (SSE2)': 926.7 PMKs/s (RTT 3.0)

6: 'CPU-Core (SSE2)': 925.8 PMKs/s (RTT 3.0)

7: 'Network-Clients': 0.0 PMKs/s (RTT 0.0)

Not technically an issue but it would be great to have some information on unisntalling pyrit and its components and how to cleanly install cpyrit-cal++

Ubuntu 10.10

Thanks a lot!

Comment #1

Posted on Jan 25, 2011 by Quick Camel

delete the file /usr/local/lib/python2.6/dist-packages/cpyrit/_cpyrit_opencl.so to remove the opencl-plugin

Comment #2

Posted on Jan 25, 2011 by Grumpy Horse

I started again, by removing the pyrit_svn files however i now have an issue when i try to compile cpyrit_calpp:

sudo ./setup.py build [sudo] password for middle: unavailable enviroment variable ATISTREAMSDKROOT Traceback (most recent call last): File "./setup.py", line 35, in CALPP_INC_DIR = os.environ['ATISTREAMSDKROOT'] File "/usr/lib/python2.6/UserDict.py", line 22, in getitem raise KeyError(key) KeyError: 'ATISTREAMSDKROOT'

Thanks a lot!

Comment #3

Posted on Jan 26, 2011 by Helpful Bird

For environment variable to be visible in executed programs you must use export keyword. So you need to type export ATISTREAMSDKROOT=/directory_with_sdk

Comment #4

Posted on Feb 15, 2011 by Grumpy Horse

Sorry me again, i am on a clean install of Ubuntu 10.10 and i decided to have a go at getting cpyrit_call++ to work however i hit the same hurdle as before:

middle@The-Beast:~/Desktop/pyrit_svn/cpyrit_calpp$ echo $ATISTREAMSDKROOT /ati-stream-sdk-v2.3-lnx32

middle@The-Beast:~/Desktop/pyrit_svn/cpyrit_calpp$ export ATISTREAMSDKROOT=/ati-stream-sdk-v2.3-lnx32

middle@The-Beast:~/Desktop/pyrit_svn/cpyrit_calpp$ sudo ./setup.py build unavailable enviroment variable ATISTREAMSDKROOT Traceback (most recent call last): File "./setup.py", line 35, in CALPP_INC_DIR = os.environ['ATISTREAMSDKROOT'] File "/usr/lib/python2.6/UserDict.py", line 22, in getitem raise KeyError(key) KeyError: 'ATISTREAMSDKROOT'

Any suggestions?

Comment #5

Posted on Feb 16, 2011 by Quick Camel

su to root before exporting ATISTREAMSDKROOT

Comment #6

Posted on Feb 16, 2011 by Grumpy Horse

I have installed everything correctly but i still get this problem, it is driving me mad!

Does cal++ need to be version 0.8, not 0.9?

Status: Invalid

Labels:
Type-Defect Priority-Medium