Pages:
Author

Topic: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO - page 29. (Read 281459 times)

newbie
Activity: 14
Merit: 0
ps. could this have anything to do with it?
Code:
E: Unable to locate package libboost-all-dev
I experienced that same error and the reason is that the default ubuntu livecd hasn't enabled universe package sources.
Open your system preferences, select update manager, select settings, select the first tab and you can enable universe there.
legendary
Activity: 2968
Merit: 1198
When executing this

Code:
sudo aticonfig --initial -f --adapter=all

have this back

Code:
sudo aticonfig --initial -f --adapter=all
Uninitialised file found, configuring.
Fail to link to fglrx-libglx.so, please check whether driver is installed correctly
Using /etc/X11/xorg.conf
Saving back-up to /etc/X11/xorg.conf.fglrx-1

don't know how to fix this, can someone help me?, have 2x6990's in a non crossfire motherboard, but already achieved in windows to got it working (3 cores bug)

You can ignore that error.  The files it is trying to link aren't needed.
member
Activity: 96
Merit: 10
try installing the  libboost-all-dev package?
sudo apt-get libboost-all-dev ?
member
Activity: 82
Merit: 10
I'm getting hung up on step 25: make -j3

if someone could give me a hand I'd appreciate it, trying to make something that works better until/if linuxcoin gets fixed

this is the error I get

Code:
In file included from bpl-subset/bpl_subset/boost/python/detail/prefix.hpp:13:0,
                 from bpl-subset/bpl_subset/boost/python/slice.hpp:9,
                 from src/wrapper/wrap_cl.hpp:41,
                 from src/wrapper/wrap_cl.cpp:1:
bpl-subset/bpl_subset/boost/python/detail/wrap_python.hpp:75:24: fatal error: patchlevel.h: No such file or directory
compilation terminated.
error: command 'gcc' failed with exit status 1
make: *** [all] Error 1
root@ubuntu:~/pyopencl-0.92#

ps. could this have anything to do with it?
Code:
E: Unable to locate package libboost-all-dev
legendary
Activity: 1260
Merit: 1000
Whoops, yeah it's fixed now! Thanks! Smiley
member
Activity: 96
Merit: 10
Code:
9. screen -d -m -S stream wget http://download2-developer.amd.com/amd/Stream20GA/ati-stream-sdk-v2.1-lnx64.tgz9. sudo tar xvfz ati-stream-sdk-v2.1-lnx64.tgz -C /opt

whoops! I think I see a mistake.

Code:
9. screen -d -m -S stream wget http://download2-developer.amd.com/amd/Stream20GA/ati-stream-sdk-v2.1-lnx64.tgz
9a(or something). sudo tar xvfz ati-stream-sdk-v2.1-lnx64.tgz -C /opt

Is this what you mean?

oh, you did it again here

Code:
28. chmod +x phoenix/phoenix.py poclbm/poclbm.py5. sudo aticonfig --initial -f --adapter=all

do this instead

Code:
28. chmod +x phoenix/phoenix.py poclbm/poclbm.py
28a. sudo aticonfig --initial -f --adapter=all

just making sure the noobs don't get confused.

edit: oh wait you got it ! Cheesy
legendary
Activity: 1260
Merit: 1000
I updated the guide to a more streamlined version the install.  It's still based around v2.1... I don't really have any 6xxx cards to test out the 2.4 SDK.
newbie
Activity: 41
Merit: 0
I just got this working with SDK 2.4, haven't optimized or overclocked yet. Getting Modest #'s.

5970's are at 305 and 5850's are at 260-ish.

How did you get SDK 2.4 to work?  I am getting the same error message as you were and I haven't figured out how to fix it yet.
member
Activity: 61
Merit: 10
I just got this working with SDK 2.4, haven't optimized or overclocked yet. Getting Modest #'s.

5970's are at 305 and 5850's are at 260-ish.
dpc
newbie
Activity: 12
Merit: 0
After using SDK 2.3 instead of 2.1 everything works and I'm now a happy miner with ~155Mhash/s.
member
Activity: 61
Merit: 10
Just finished following this guide to the best of my ability, using SDK 2.4 instead of 2.3.

I got this error upon trying to run polbcm.py

Code:
bitcoin@bitcoin:~/poclbm$ ./poclbm.py
Traceback (most recent call last):
  File "./poclbm.py", line 27, in
    platforms = cl.get_platforms()
pyopencl.LogicError: clGetPlatformIDs failed: invalid/unknown error code

Any help?
member
Activity: 61
Merit: 10
Btw, instead of exporting your library path, it's probably better to add the config file for those paths to /etc/ld.so.conf.d, then they are applied globally to all accounts.

How does one do this?
legendary
Activity: 1260
Merit: 1000
Why doesn't someone compile a custom Ubuntu Bitcoin Mining package with all steps (or most steps at least) already done?

I'm sure many people would be happy, and tip the person that makes the package. Smiley

Tip away: https://bitcointalksearch.org/topic/linuxcoin-a-lightweight-debian-based-os-with-everything-ready-to-go-7374

There are so many things wrong with that distro as to be practically unusable.  It's a good start but it's not anywhere near ready for "production."

It actually takes longer and is harder to setup than a fresh manual Ubuntu install.
hero member
Activity: 714
Merit: 500
Why doesn't someone compile a custom Ubuntu Bitcoin Mining package with all steps (or most steps at least) already done?

I'm sure many people would be happy, and tip the person that makes the package. Smiley

Tip away: https://bitcointalksearch.org/topic/linuxcoin-a-lightweight-debian-based-os-with-everything-ready-to-go-7374
full member
Activity: 168
Merit: 100
Why doesn't someone compile a custom Ubuntu Bitcoin Mining package with all steps (or most steps at least) already done?

I'm sure many people would be happy, and tip the person that makes the package. Smiley
hero member
Activity: 714
Merit: 500
Wow, I feel like a n00b. I followed your guide to a T, but ATI Stream SDK 2.1 does not support the 6990. I changed that to SDK 2.3 and now everything's working fine. :-)
legendary
Activity: 1134
Merit: 1005
Got error on Step 22.

Code:
lester@Comp005:~/pyopencl-0.92$ make -j3
ctags -R src || true
/bin/sh: ctags: not found
/usr/bin/python setup.py build
running build
running build_py
running build_ext
building '_cl' extension
gcc -pthread -fno-strict-aliasing -fwrapv -Wall -O3 -DNDEBUG -fPIC -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION=1 -Isrc/cpp -Ibpl-subset/bpl_subset -I/opt/ati-stream-sdk-v2.1-lnx64/include/ -I/usr/lib/pymodules/python2.7/numpy/core/include -I/usr/include/python2.7 -c src/wrapper/wrap_cl.cpp -o build/temp.linux-x86_64-2.7/src/wrapper/wrap_cl.o
In file included from src/wrapper/wrap_cl.cpp:1:0:
src/wrapper/wrap_cl.hpp:20:19: fatal error: CL/cl.h: No such file or directory
compilation terminated.
error: command 'gcc' failed with exit status 1
make: *** [all] Error 1
lester@Comp005:~/pyopencl-0.92$
What is wrong here?
legendary
Activity: 1736
Merit: 1006
Please show guide for solo mining also! Thanks!  Smiley
hero member
Activity: 714
Merit: 500
I followed your guide in a clean install of Ubuntu 32-bit, using the 32-bit ATI Stream SDK instead of the 64-bit, but Poclbm won't show either of my 6690s. Aticonfig shows them, so I know they're there and hooked up correctly. Any hints?

Thanks. :-)
newbie
Activity: 30
Merit: 0
You should now have a fully functional Ubuntu 11.04 mining rig with Phoenix and poclbm installed.
Thanks for that.  Looks like I got everything installed.  Just now realizing why you didn't include Bitcoin in the guide - it's not necessary for mining in a pool (RPC).

Is there any way to test my GPU hash rate without a pool?  I installed Bitcoin using the guide here: http://bitcointalk.org/index.php?topic=6299.40 and I created the bitcoin.conf file but I cannot get solo GPU mining to work.  Just want to test out these GPUs.  

./poclbm.py
No device specified or device not found, use -d to specify one of the following

[ 0]   Intel(R) Core(TM) i7 CPU         920  @ 2.67GHz
[1]   Cypress
[2]   Cypress

$ ./poclbm.py -d 2 --user user --pass password
Problems communicating with bitcoin RPC

phoenix$ ./phoenix.py -u http://user:[email protected]:8332 -k poclbm DEVICE=1
[14/05/2011 16:01:57] Phoenix r76 starting...
[14/05/2011 16:02:00] Failed to connect, retrying...
[14/05/2011 16:02:18] Failed to connect, retrying...
[0 Khash/sec] [0 Accepted] [0 Rejected] [RPC]


Specs:
Ubuntu 11.04 64-bit, Radeon 5970
Pages:
Jump to: