Bitcoin Forum
December 04, 2016, 12:11:47 AM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
   Home   Help Search Donate Login Register  
Pages: [1]
Author Topic: phoenix 1.5 - FATAL kernel error: Failed to load OpenCL kernel! - with a twist  (Read 2866 times)
Offline Offline

Activity: 112

View Profile
July 23, 2011, 01:43:41 AM

I was looking through some of my start up scripts, and I noticed some of my miners, which have thus far been working correctly, have incorrect arguments:

./ -u http://<username>:<password> phatk DEVICE=0 AGGRESSION=9 VECTORS BFI_INT WORKSIZE=128

Notice how I am missing the -k before phatk.  I decided to fix it, and added the -k. so..

./ -u http://<username>:<password> -k phatk DEVICE=0 AGGRESSION=9 VECTORS BFI_INT WORKSIZE=128

However, when I do, I end up with the generic error:
FATAL kernel error: Failed to load OpenCL kernel!

I have checked my app sdk variables, and the entry, it is all correct.  I have re-extracted the icd registration, and have verified the phatk kernel is there (since I am using 1.5 it is there by default)

Any ideas of what I missed?  For the time being, I simply took out the -k, and I am running fine
The forum was founded in 2009 by Satoshi and Sirius. It replaced a SourceForge forum.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
Hero Member
Offline Offline

Posts: 1480810307

View Profile Personal Message (Offline)

Reply with quote  #2

Report to moderator
Full Member
Offline Offline

Activity: 238

View Profile
July 27, 2011, 10:15:13 AM

try dding the phoenix path the your LD_LIBRARY_PATH just before your calls to launch phoenix:
export LD_LIBRARY_PATH=$phoenix_location:$LD_LIBRARY_PATH

This is the method that I use in smartcoin when launching phoenix instances - this is due to phoenix using a relative path to the kernels directory and bash having its own idea of what the current working directory is.

You should give smartcoin a try Smiley

RollerBot Advanced Trading Platform
BTC Donations for development: 1H36oTJsi3adFh68wwzz95tPP2xoAoTmhC
Pages: [1]
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!