Bitcoin Forum
April 24, 2024, 03:21:20 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Can't launch poclbm on MAC OSX!  (Read 1489 times)
djartiges (OP)
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
June 12, 2011, 10:52:26 PM
 #1

Hi, I just followed all the necessary steps to run poclbm on MAC OSX (as shown here: http://forum.bitcoin.org/index.php?PHPSESSID=fe6b8acaedf14ef5658579dc9ba22b0a&topic=12360.0;all)

The problem I have is that when I'm trying to launch it like that: "python /Applications/poclbm/poclbm.py -u username --pass password -d 0 -o mining.bitcoin.cz",
I'm getting that error message:   

File "/Applications/poclbm/BitcoinMiner.py", line 359, in loadKernel
    kernelFile = open('BitcoinMiner.cl', 'r')
IOError: [Errno 2] No such file or directory: 'BitcoinMiner.cl'

But the file is there! Sad

Can someone help me with that please?

Thanks,

Jean.
1713972080
Hero Member
*
Offline Offline

Posts: 1713972080

View Profile Personal Message (Offline)

Ignore
1713972080
Reply with quote  #2

1713972080
Report to moderator
1713972080
Hero Member
*
Offline Offline

Posts: 1713972080

View Profile Personal Message (Offline)

Ignore
1713972080
Reply with quote  #2

1713972080
Report to moderator
There are several different types of Bitcoin clients. The most secure are full nodes like Bitcoin Core, which will follow the rules of the network no matter what miners do. Even if every miner decided to create 1000 bitcoins per block, full nodes would stick to the rules and reject those blocks.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713972080
Hero Member
*
Offline Offline

Posts: 1713972080

View Profile Personal Message (Offline)

Ignore
1713972080
Reply with quote  #2

1713972080
Report to moderator
1713972080
Hero Member
*
Offline Offline

Posts: 1713972080

View Profile Personal Message (Offline)

Ignore
1713972080
Reply with quote  #2

1713972080
Report to moderator
tigereye
Member
**
Offline Offline

Activity: 79
Merit: 10



View Profile
June 13, 2011, 12:19:15 AM
 #2

You don't have OpenCL installed.

Search online for how to download and install OpenCL on your mac.

If my posts have helped, consider leaving a tip! 1AE5e56ivvaGMJJmLrZoLgiZXPx93CddyA
SomeoneWeird
Hero Member
*****
Offline Offline

Activity: 700
Merit: 500


View Profile
June 13, 2011, 12:38:54 AM
 #3

You don't have OpenCL installed.

Search online for how to download and install OpenCL on your mac.

Nope, that's not it. He's just missing BitcoinMiner.cl.
djartiges (OP)
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
June 13, 2011, 12:51:54 AM
 #4

Well maybe I don't understand where the file is supposed to be but I'm sure that bitcoinminer.cl is in the poclbm file (In "Applications") where all the other files are (bitcoinminer.py, bitcoinminer.pyc, poclbm. py, etc.). So, what is the issue here?

Thanks,

Jean.
SomeoneWeird
Hero Member
*****
Offline Offline

Activity: 700
Merit: 500


View Profile
June 13, 2011, 12:56:36 AM
 #5

Well maybe I don't understand where the file is supposed to be but I'm sure that bitcoinminer.cl is in the poclbm file (In "Applications") where all the other files are (bitcoinminer.py, bitcoinminer.pyc, poclbm. py, etc.). So, what is the issue here?

Thanks,

Jean.

I don't use mac, but try running as admin? (or the eqiv thereof)
stordoff
Newbie
*
Offline Offline

Activity: 41
Merit: 0


View Profile
June 13, 2011, 01:13:11 AM
 #6

Try doing "cd /Applications/poclbm/" before the "python ..." command. If that doesn't help, run the command with admin privileges ("sudo python ...", and it'll prompt for your user password).

I'd be surprised if one or both of those doesn't help.
djartiges (OP)
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
June 13, 2011, 01:45:38 AM
 #7

Thanks a lot! I tried with sudo first and it changed nothing, but after I tried to specify the directory as you said and it worked! Thanks!

Jean.
stordoff
Newbie
*
Offline Offline

Activity: 41
Merit: 0


View Profile
June 13, 2011, 01:46:26 AM
 #8

No worries! Glad to have someone else up and running  Cheesy
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!