Diablo-D3 / DiabloMiner

OpenCL miner for Bitcoin
https://bitcointalk.org/index.php?topic=1721.0
GNU General Public License v3.0
538 stars 217 forks source link

ERROR: [CL_INVALID_WORK_GROUP_SIZE] on OSX Mountain Lion #40

Closed wouterds closed 12 years ago

wouterds commented 12 years ago

Hi,

I'm running OSX 10.8 Mountain Lion and whenever I try to run DiabloMiner I get the following output and then it halts. Any fix for this?

Output: http://pastie.org/3504958

Diablo-D3 commented 12 years ago

This is detailed in the op post of the forum thread: Apple currently has a bug in their OpenCL implementation that they multiply any -w by 4 no matter if it produces an invalid value or not. Just add -w 64 and it should go away.

This bug of Apple's has existed since 10.6. Sometimes I wonder if Apple even cares about their users.

wouterds commented 12 years ago

The last months they are only caring about revenue and money.. Used to be different.

Anyway can I apply that fix with the App that starts the terminal or do I have to start it manually with a command?

Diablo-D3 commented 12 years ago

You're supposed to use the command line anyways, or write a .sh script to do it for you.

wouterds commented 12 years ago

I'm sorry to reply again to this closed issue and I'm ashamed I can't make it work on my own since I'm very familiar with the CLI but how do I start it from the CLI? When I try ./DiabloMiner-OSX.sh I get some java errors and these guides aren't really helpful ( http://maccoinminer.wordpress.com/2011/05/20/diablominer-for-mac/ ).

Output btw: http://pastie.org/3506405

Diablo-D3 commented 12 years ago

You downloaded it from the github repo instead of the already built version. Use http://adterrasperaspera.com/images/DiabloMiner.zip instead, unless you intend on building it, then you need to install Maven and run mvn package.