Bitcoin Forum
April 27, 2015, 07:08:51 AM *
News: Latest stable version of Bitcoin Core: 0.10.0 [Torrent]
 
   Home   Help Search Donate Login Register  
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 [30] 31 32 »
  Print  
Author Topic: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO  (Read 234212 times)
Christian Pezza
Member
**
Offline Offline

Activity: 98



View Profile WWW

Ignore
September 02, 2011, 12:49:18 AM
 #581

help try to reinstall and after
13. tar zxfv pyopencl-0.92.tar.gz

tar (child): pyopencl-0.92.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now

and mainly wont work anything after this step  Lips sealed

If you like this tread consider to donate some to https://bitcointalk.org/donate.html
1430118531
Hero Member
*
Offline Offline

Posts: 1430118531

View Profile Personal Message (Offline)

Ignore
1430118531
Reply with quote  #2

1430118531
Report to moderator
1430118531
Hero Member
*
Offline Offline

Posts: 1430118531

View Profile Personal Message (Offline)

Ignore
1430118531
Reply with quote  #2

1430118531
Report to moderator
1430118531
Hero Member
*
Offline Offline

Posts: 1430118531

View Profile Personal Message (Offline)

Ignore
1430118531
Reply with quote  #2

1430118531
Report to moderator
coin palaceDON'T TOUCH MY SLOTS! © by Bender  GET YOURS HERE!
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1430118531
Hero Member
*
Offline Offline

Posts: 1430118531

View Profile Personal Message (Offline)

Ignore
1430118531
Reply with quote  #2

1430118531
Report to moderator
1430118531
Hero Member
*
Offline Offline

Posts: 1430118531

View Profile Personal Message (Offline)

Ignore
1430118531
Reply with quote  #2

1430118531
Report to moderator
Christian Pezza
Member
**
Offline Offline

Activity: 98



View Profile WWW

Ignore
September 03, 2011, 06:57:50 AM
 #582

Guys!

 Pyopencl fails to install, look:

Code:
martinx@garimpeiro-4:~/pyopencl-0.92$ sudo make install
ctags -R src || true
/bin/sh: ctags: not found
/usr/bin/python setup.py install
running install
install_dir /usr/local/lib/python2.7/dist-packages/
Checking .pth file support in /usr/local/lib/python2.7/dist-packages/
/usr/bin/python -E -c pass
TEST PASSED: /usr/local/lib/python2.7/dist-packages/ appears to support .pth files
running bdist_egg
running egg_info
writing requirements to pyopencl.egg-info/requires.txt
writing pyopencl.egg-info/PKG-INFO
writing top-level names to pyopencl.egg-info/top_level.txt
writing dependency_links to pyopencl.egg-info/dependency_links.txt
reading manifest file 'pyopencl.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'pyopencl.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-i686/egg
running install_lib
running build_py
running build_ext
creating build/bdist.linux-i686/egg
creating build/bdist.linux-i686/egg/pyopencl
copying build/lib.linux-i686-2.7/pyopencl/elementwise.py -> build/bdist.linux-i686/egg/pyopencl
copying build/lib.linux-i686-2.7/pyopencl/array.py -> build/bdist.linux-i686/egg/pyopencl
copying build/lib.linux-i686-2.7/pyopencl/version.py -> build/bdist.linux-i686/egg/pyopencl
copying build/lib.linux-i686-2.7/pyopencl/clmath.py -> build/bdist.linux-i686/egg/pyopencl
copying build/lib.linux-i686-2.7/pyopencl/__init__.py -> build/bdist.linux-i686/egg/pyopencl
copying build/lib.linux-i686-2.7/pyopencl/_cl.so -> build/bdist.linux-i686/egg/pyopencl
copying build/lib.linux-i686-2.7/pyopencl/tools.py -> build/bdist.linux-i686/egg/pyopencl
copying build/lib.linux-i686-2.7/pyopencl/clrandom.py -> build/bdist.linux-i686/egg/pyopencl
byte-compiling build/bdist.linux-i686/egg/pyopencl/elementwise.py to elementwise.pyc
byte-compiling build/bdist.linux-i686/egg/pyopencl/array.py to array.pyc
byte-compiling build/bdist.linux-i686/egg/pyopencl/version.py to version.pyc
byte-compiling build/bdist.linux-i686/egg/pyopencl/clmath.py to clmath.pyc
byte-compiling build/bdist.linux-i686/egg/pyopencl/__init__.py to __init__.pyc
byte-compiling build/bdist.linux-i686/egg/pyopencl/tools.py to tools.pyc
byte-compiling build/bdist.linux-i686/egg/pyopencl/clrandom.py to clrandom.pyc
creating stub loader for pyopencl/_cl.so
byte-compiling build/bdist.linux-i686/egg/pyopencl/_cl.py to _cl.pyc
creating build/bdist.linux-i686/egg/EGG-INFO
copying pyopencl.egg-info/PKG-INFO -> build/bdist.linux-i686/egg/EGG-INFO
copying pyopencl.egg-info/SOURCES.txt -> build/bdist.linux-i686/egg/EGG-INFO
copying pyopencl.egg-info/dependency_links.txt -> build/bdist.linux-i686/egg/EGG-INFO
copying pyopencl.egg-info/requires.txt -> build/bdist.linux-i686/egg/EGG-INFO
copying pyopencl.egg-info/top_level.txt -> build/bdist.linux-i686/egg/EGG-INFO
writing build/bdist.linux-i686/egg/EGG-INFO/native_libs.txt
zip_safe flag not set; analyzing archive contents...
creating 'dist/pyopencl-0.92-py2.7-linux-i686.egg' and adding 'build/bdist.linux-i686/egg' to it
removing 'build/bdist.linux-i686/egg' (and everything under it)
Processing pyopencl-0.92-py2.7-linux-i686.egg
removing '/usr/local/lib/python2.7/dist-packages/pyopencl-0.92-py2.7-linux-i686.egg' (and everything under it)
creating /usr/local/lib/python2.7/dist-packages/pyopencl-0.92-py2.7-linux-i686.egg
Extracting pyopencl-0.92-py2.7-linux-i686.egg to /usr/local/lib/python2.7/dist-packages
pyopencl 0.92 is already the active version in easy-install.pth

Installed /usr/local/lib/python2.7/dist-packages/pyopencl-0.92-py2.7-linux-i686.egg
Processing dependencies for pyopencl==0.92
Searching for decorator>=3.2.0
Reading http://pypi.python.org/simple/decorator/
No local packages or download links found for decorator>=3.2.0
error: Could not find suitable distribution for Requirement.parse('decorator>=3.2.0')
make: *** [install] Error 1
same problem here Sad

 At the site http://pypi.python.org/simple/decorator/ there is only decorator-3.3.1.tar.gz!!

 This is happening with somebody!? To temporally workaround this issue, I just copy a "pre-compiled" pyopencl from my other rig to this one and the "make install" works!

 But for a brand new installation, this does not work anymore... Anyway, I'll try to compile this again in a new server next week.

Thanks!
Thiago

If you like this tread consider to donate some to https://bitcointalk.org/donate.html
sunbird
Newbie
*
Offline Offline

Activity: 23


View Profile

Ignore
September 05, 2011, 04:41:08 AM
 #583

Hi all,

Trying to get my first rig going.

Fresh 11.04 install.

Followed every step of the guide, without any errors, but I'm getting this error for poclbm

Code:
$ ./poclbm.py
Traceback (most recent call last):
  File "./poclbm.py", line 47, in <module>
    platforms = cl.get_platforms()
pyopencl.LogicError: clGetPlatformIDs failed: invalid/unknown error code

and this one on phoenix:

Code:
$ ./phoenix.py
Traceback (most recent call last):
  File "./phoenix.py", line 29, in <module>
    import minerutil
  File "/media/meerkat/phoenix/minerutil/__init__.py", line 25, in <module>
    from RPCProtocol import RPCClient
  File "/media/meerkat/phoenix/minerutil/RPCProtocol.py", line 26, in <module>
    from twisted.web.iweb import IBodyProducer
ImportError: No module named web.iweb

I'm sure they are related. I've browsed this thread but haven't found a solution. Would appreciate any help. This is with the 2.1 sdk.

Edit: I noticed that most of the instructions ask for 11.04 desktop, I used server, so I'm going to reinstall and try again with a clean desktop install. It would be great to get this working with the -server versions for folks who are planning to run headless.
Christian Pezza
Member
**
Offline Offline

Activity: 98



View Profile WWW

Ignore
September 05, 2011, 07:04:16 AM
 #584

After a PM to Inaba he answer me:
"I will look into rewriting it sometime in the near future."

but not much more for now Sad

I am totally stuck I wish to help more

If you like this tread consider to donate some to https://bitcointalk.org/donate.html
BkkCoins
Hero Member
*****
Offline Offline

Activity: 784


firstbits:1MinerQ


View Profile WWW

Ignore
September 05, 2011, 07:17:26 AM
 #585

After a PM to Inaba he answer me:
"I will look into rewriting it sometime in the near future."

but not much more for now Sad

I am totally stuck I wish to help more

You might check this alternate Ubuntu install thread to see if it works better for the steps you have trouble with.

https://bitcointalk.org/index.php?topic=9239.0

I started with the one in this thread but ended with better results following that one.

sunbird
Newbie
*
Offline Offline

Activity: 23


View Profile

Ignore
September 05, 2011, 05:29:18 PM
 #586

Hi all,

This post did work for me https://bitcointalk.org/index.php?topic=9239.0 - at least partially. I now have the graphics cards working with the drivers and AMDsdk installed and working. But my graphics card doesn't show up with opencl:

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

[0] AMD Sempron(tm) 145 Processor

running /.clinfo also shows only the processor, not the card.

But the card is installed and the graphics driver sees it:

Code:
$ DISPLAY=:0 sudo aticonfig --odgt --adapter=all

Adapter 0 - ATI Radeon HD 4800 Series         
            Sensor 0: Temperature - 48.50 C

Thoughts from the group?

Christian Pezza
Member
**
Offline Offline

Activity: 98



View Profile WWW

Ignore
September 05, 2011, 05:36:40 PM
 #587

Hi all,

This post did work for me https://bitcointalk.org/index.php?topic=9239.0 - at least partially. I now have the graphics cards working with the drivers and AMDsdk installed and working. But my graphics card doesn't show up with opencl:

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

[0] AMD Sempron(tm) 145 Processor

running /.clinfo also shows only the processor, not the card.

But the card is installed and the graphics driver sees it:

Code:
$ DISPLAY=:0 sudo aticonfig --odgt --adapter=all

Adapter 0 - ATI Radeon HD 4800 Series        
            Sensor 0: Temperature - 48.50 C

Thoughts from the group?


see
https://bitcointalk.org/index.php?topic=7514.msg438546#msg438546

and reboot

If you like this tread consider to donate some to https://bitcointalk.org/donate.html
sunbird
Newbie
*
Offline Offline

Activity: 23


View Profile

Ignore
September 05, 2011, 06:52:13 PM
 #588

Hi all,

This post did work for me https://bitcointalk.org/index.php?topic=9239.0 - at least partially. I now have the graphics cards working with the drivers and AMDsdk installed and working. But my graphics card doesn't show up with opencl:

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

[0] AMD Sempron(tm) 145 Processor

running /.clinfo also shows only the processor, not the card.

But the card is installed and the graphics driver sees it:

Code:
$ DISPLAY=:0 sudo aticonfig --odgt --adapter=all

Adapter 0 - ATI Radeon HD 4800 Series        
            Sensor 0: Temperature - 48.50 C

Thoughts from the group?


see
https://bitcointalk.org/index.php?topic=7514.msg438546#msg438546

and reboot

Thanks. I tried this but poclbm still doesn't see my video card when running as standard user. However, in the same thread you referenced, someone mentioned running poclbm as root and that does see both my cards. The ati sdk directories are owned by root, but all the files are chmod'd 755, so they should be executable by a non-priv user. Obviously, i'm not going to run my mining as root...

Any ideas?
Christian Pezza
Member
**
Offline Offline

Activity: 98



View Profile WWW

Ignore
September 08, 2011, 04:08:33 AM
 #589

After a PM to Inaba he answer me:
"I will look into rewriting it sometime in the near future."

but not much more for now Sad

I am totally stuck I wish to help more

You might check this alternate Ubuntu install thread to see if it works better for the steps you have trouble with.

https://bitcointalk.org/index.php?topic=9239.0

I started with the one in this thread but ended with better results following that one.


same problem but the real deal is:
Cannot write to `bitcoin-0.3.21-linux.tar.gz' (Read-only file system).

cannot write to 'anything doesent matter what u do'

any Idea... never changed and what make different now from 2 moths a go  Huh

Cheers

BTW I am stuck I don't have time to study more stuff Sad

If you like this tread consider to donate some to https://bitcointalk.org/donate.html
Anonymous
Guest

September 20, 2011, 07:43:59 PM
 #590

I got this on step 13 (I tried to traduce it):
Code:
user@computername:~$ tar zxfv pyopencl-0.92.tar.gz
tar (child): pyopencl-0.92.tar.gz : the function open has failed: No file or folder of this type
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now

Could some one explain me, what that means and how I can fix it?
BkkCoins
Hero Member
*****
Offline Offline

Activity: 784


firstbits:1MinerQ


View Profile WWW

Ignore
September 21, 2011, 12:33:37 AM
 #591

I got this on step 13 (I tried to traduce it):
Code:
user@computername:~$ tar zxfv pyopencl-0.92.tar.gz
tar (child): pyopencl-0.92.tar.gz : the function open has failed: No file or folder of this type
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now

Could some one explain me, what that means and how I can fix it?

You need a dash in front of zxfv ie. -zxfv since it's options, not a filename.
Also the order is wrong as the filename follows so the f must be last,

-xzvf

amazingrando
Hero Member
*****
Offline Offline

Activity: 546



View Profile

Ignore
September 22, 2011, 06:02:53 PM
 #592

I have several machines set up with the original config (2.4) in the first post.  The driver is 11.4 and I want to upgrade to 11.6 or newer so I can over/underclock past BIOS limits.

I tried this process, but I get a "No protocol specified" error after the upgrade
Code:
cd ~
sudo apt-get remove fglrx
wget http://www2.ati.com/drivers/linux/ati-driver-installer-11-6-x86.x86_64.run
sudo sh ati-driver-installer-11-6-x86.x86_64.run --buildpkg Ubuntu/natty
sudo dpkg -i *.deb
sudo apt-get -f install
sudo aticonfig -f --initial --adapter=all
sudo reboot

Is there a better way to do the upgrade?

Also, can the newest version, 11.8, work with APP SDK 2.4, or would that need to be upgraded too?  If so, I'd just stick with 11.6.

Bitbond - 105% PPS mining bond - mining payouts without buying hardware
Anonymous
Guest

September 24, 2011, 03:27:49 PM
 #593

I got this on step 13 (I tried to traduce it):
Code:
user@computername:~$ tar zxfv pyopencl-0.92.tar.gz
tar (child): pyopencl-0.92.tar.gz : the function open has failed: No file or folder of this type
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now

Could some one explain me, what that means and how I can fix it?

You need a dash in front of zxfv ie. -zxfv since it's options, not a filename.
Also the order is wrong as the filename follows so the f must be last,

-xzvf

Well, I tried some changes out and it changed nothing. I still get:

Code:
user@computer:~$ tar -xzvf pyopencl-0.92.tar.gz
tar (child): pyopencl-0.92.tar.gz : the function open has failed: No file or folder of this type
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
Code:
user@computer:~$ sudo tar -xzvf pyopencl-0.92.tar.gz
tar (child): pyopencl-0.92.tar.gz : the function open has failed: No file or folder of this type
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
Code:
user@computer:~$ sudo tar -xzvf pyopencl-0.92.tar.gz -C /
tar (child): pyopencl-0.92.tar.gz : the function open has failed: No file or folder of this type
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
fivebells
Sr. Member
****
Offline Offline

Activity: 462


View Profile

Ignore
September 24, 2011, 03:52:04 PM
 #594

Well, I tried some changes out and it changed nothing. I still get:
  Tell us the output of
Code:
file pyopencl-0.92.tar.gz
Anonymous
Guest

September 24, 2011, 04:11:54 PM
 #595

Well, I tried some changes out and it changed nothing. I still get:
  Tell us the output of
Code:
file pyopencl-0.92.tar.gz

I got this:
Code:
user@computer:~$ file pyopencl-0.92.tar.gz
pyopencl-0.92.tar.gz: ERROR: cannot open `pyopencl-0.92.tar.gz' (No such file or directory)
fivebells
Sr. Member
****
Offline Offline

Activity: 462


View Profile

Ignore
September 24, 2011, 04:31:03 PM
 #596

Either you're in the wrong directory, or the download didn't succeed.  Send the output of the following command (may take a while to run, as it is crawling your entire filesystem.)

Code:
sudo find / -name pyopencl

If you followed the instructions in the OP, you might also try
Code:
screen -r stream
  If that runs w/o errors, try Cntrl-a Cntrl-Space a few times until you cycle through.  One of the windows you see in this process will contain the wget pyopencl command.  If the download has finished, run the command
Code:
pwd
, note the directory path it reports,  and follow the instructions from there.
Anonymous
Guest

September 24, 2011, 06:37:52 PM
 #597

Either you're in the wrong directory, or the download didn't succeed.  Send the output of the following command (may take a while to run, as it is crawling your entire filesystem.)

Code:
sudo find / -name pyopencl

If you followed the instructions in the OP, you might also try
Code:
screen -r stream
  If that runs w/o errors, try Cntrl-a Cntrl-Space a few times until you cycle through.  One of the windows you see in this process will contain the wget pyopencl command.  If the download has finished, run the command
Code:
pwd
, note the directory path it reports,  and follow the instructions from there.

Code:
user@computer:~$ sudo find / -name pyopencl
[sudo] password for user:
/usr/lib/pymodules/python2.7/pyopencl
/usr/lib/pyshared/python2.7/pyopencl
/usr/lib/pyshared/python2.6/pyopencl
/usr/share/pyshared/pyopencl

I'll try what you suggested.
fivebells
Sr. Member
****
Offline Offline

Activity: 462


View Profile

Ignore
September 24, 2011, 06:52:23 PM
 #598

That won't work, because the output of the find command indicates that the download did not succeed.  Did you complete step 13. from the OP?
Anonymous
Guest

September 24, 2011, 07:00:29 PM
 #599

That won't work, because the output of the find command indicates that the download did not succeed.  Did you complete step 13. from the OP?
Actually, it's step 13 that doesn't work for any reason.

P.S.: I took the second Tutorial, because I have a 6670. Did I understood correctly the text?
fivebells
Sr. Member
****
Offline Offline

Activity: 462


View Profile

Ignore
September 24, 2011, 07:58:43 PM
 #600

Can you point me at the second tutorial?  I am only aware of the one in the OP.

Hmm, I read carelessly, thought step 13 was the download of pyopencl, since it was the first place it appears in the sequence.  It appears that those instructions are incomplete.   Try downloading it with the command
Code:
wget http://pypi.python.org/packages/source/p/pyopencl/pyopencl-0.92.tar.gz
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 [30] 31 32 »
  Print  
 
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!