Bitcoin Forum
May 14, 2024, 11:45:15 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Compiling CGMiner with Scrypt on top of Ubuntu 12.04 for 7970s  (Read 29421 times)
ThiagoCMC (OP)
Legendary
*
Offline Offline

Activity: 1204
Merit: 1000

฿itcoin: Currency of Resistance!


View Profile
July 26, 2012, 03:57:00 AM
Last edit: July 26, 2012, 06:45:44 AM by ThiagoCMC
 #1

Guys,

 Here is the complete procedure... I'll resume it a lot...

 1- Install Ubuntu 12.04 64 bits

 2- Install Catalyst 12.6
 2.1- Configure your cards, etc...  :-/

 3- Instal AMDSDK v2.6
 4- Install some stuff to compile cgminer
 5- get cgminer with Scrypt support on it
 6- compile it
 7- run it

 Details

 4- Build depencencies:

 sudo aptitude install build-essential libcurl4-gnutls-dev yasm libncurses5-dev git autoconf automake

 5- get cgminer:

 git clone -b newscrypt https://github.com/ckolivas/cgminer

 5.1- Download ADL_SDK

 wget http://download2-developer.amd.com/amd/GPU/zip/ADL_SDK_4.0.zip

 copy the ADL_SDK_4.0.zip:/include/*.h to cgminer/ADL_SDK/

 6- compile cgminer:

 cd cgminer
 CFLAGS="-O2 -Wall -march=native -I/opt/AMDAPP/include" LDFLAGS="-L/usr/lib" ./configure --enable-scrypt
 make

 7- run it:

 NOTE: I tune this before cgminer: "aticonfig --od-setclocks=1000,1575 --adapter=all"

 GPU_MAX_ALLOC_PERCENT=100 ./cgminer --scrypt -o http://200.204.161.215:9327 -u YOUR_LITECOIN_ADDRESS -p x --lookup-gap 2 --thread-concurrency 8192 -g 4 -I 13 -w 256

 NOTE 2: A good start point is a already running Ubuntu with some 7970 on it, but for Bitcoins... So, now it is time to help a bit those folks... Turn of Bitcoin and turn on Litecoin a bit!

Cheers!
Thiago
1715687115
Hero Member
*
Offline Offline

Posts: 1715687115

View Profile Personal Message (Offline)

Ignore
1715687115
Reply with quote  #2

1715687115
Report to moderator
1715687115
Hero Member
*
Offline Offline

Posts: 1715687115

View Profile Personal Message (Offline)

Ignore
1715687115
Reply with quote  #2

1715687115
Report to moderator
1715687115
Hero Member
*
Offline Offline

Posts: 1715687115

View Profile Personal Message (Offline)

Ignore
1715687115
Reply with quote  #2

1715687115
Report to moderator
Each block is stacked on top of the previous one. Adding another block to the top makes all lower blocks more difficult to remove: there is more "weight" above each block. A transaction in a block 6 blocks deep (6 confirmations) will be very difficult to remove.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715687115
Hero Member
*
Offline Offline

Posts: 1715687115

View Profile Personal Message (Offline)

Ignore
1715687115
Reply with quote  #2

1715687115
Report to moderator
1715687115
Hero Member
*
Offline Offline

Posts: 1715687115

View Profile Personal Message (Offline)

Ignore
1715687115
Reply with quote  #2

1715687115
Report to moderator
ThiagoCMC (OP)
Legendary
*
Offline Offline

Activity: 1204
Merit: 1000

฿itcoin: Currency of Resistance!


View Profile
July 26, 2012, 03:59:22 AM
 #2

BTW! After compiling on your first rig, you can just do:

scp -r ~/cgminer/ RIG2:
scp -r ~/cgminer/ RIG3:

 And skit the step "3- Instal AMDSDK v2.6" on the others rigs... Just Catalyst 12.6 is enough form them...

Cheers!
Thiago
ThiagoCMC (OP)
Legendary
*
Offline Offline

Activity: 1204
Merit: 1000

฿itcoin: Currency of Resistance!


View Profile
July 26, 2012, 04:00:39 AM
 #3

Now, I'll figure out the better setup combo for the 5XXX series...   :-D
ThiagoCMC (OP)
Legendary
*
Offline Offline

Activity: 1204
Merit: 1000

฿itcoin: Currency of Resistance!


View Profile
July 26, 2012, 06:46:06 AM
 #4

Added GPU_MAX_ALLOC_PERCENT=100 to cgminer cmdline...
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!