Bitcoin Forum

Other => Beginners & Help => Topic started by: dobitment on June 12, 2011, 10:29:09 PM



Title: Getting m0mchill-poclbm to compile - mixed vector/scalar operation?
Post by: dobitment on June 12, 2011, 10:29:09 PM
Hi,

I'm using 64-bit Ubuntu and have been having a very difficult time getting m0mchill's poclbm to run. I have version 2.1 of the AMD software and believe that I've installed all of the appropriate libraries

The version that I downloaded is here: https://github.com/m0mchil/poclbm/archives/master
(the source, not the windows executable)

I am running a 6950 with the following options:
python poclbm.py -d 0 -v -w 128 -o xxx -p 8332 --user=xxx --pass=xxx

The error that I get is:
Build on <pyopencl.Device 'AMD Phenom(tm) II X6 1055T Processor' at 0x10d4380>:

/tmp/OCLWr29ew.cl(45): error: mixed vector-scalar operation not allowed unless
          up-convertable(scalar-type=>vector-element-type)
     nonce = base + get_global_id(0) + (uint2)(0, 0x80000000U);
                                       ^

1 error detected in the compilation of "/tmp/OCLWr29ew.cl".


Any idea how I can fix this?



Title: Re: Getting m0mchill-poclbm to compile - mixed vector/scalar operation?
Post by: vulgata on August 23, 2011, 10:11:03 PM
The error that I get is:
Build on <pyopencl.Device 'AMD Phenom(tm) II X6 1055T Processor' at 0x10d4380>:

/tmp/OCLWr29ew.cl(45): error: mixed vector-scalar operation not allowed unless
          up-convertable(scalar-type=>vector-element-type)
     nonce = base + get_global_id(0) + (uint2)(0, 0x80000000U);
                                       ^

1 error detected in the compilation of "/tmp/OCLWr29ew.cl".


Any idea how I can fix this?



Hey, I'm getting the same error.  Did you figure it out?