Bitcoin Forum
December 10, 2016, 10:34:09 PM *
News: To be able to use the next phase of the beta forum software, please ensure that your email address is correct/functional.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Compiling CGMiner with Scrypt on top of Ubuntu 12.04 for 7970s  (Read 28707 times)
ThiagoCMC
Legendary
*
Offline Offline

Activity: 1190


฿itcoin: Currency of Resistance!


View Profile WWW
July 26, 2012, 03:57:00 AM
 #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

Mercado Forex acessível para todos os Brasileiros que tenham Bitcoins! Cadastre-se hoje mesmo! Bastar acessar aqui: https://1broker.com/m/r.php?i=8879
1481409249
Hero Member
*
Offline Offline

Posts: 1481409249

View Profile Personal Message (Offline)

Ignore
1481409249
Reply with quote  #2

1481409249
Report to moderator
1481409249
Hero Member
*
Offline Offline

Posts: 1481409249

View Profile Personal Message (Offline)

Ignore
1481409249
Reply with quote  #2

1481409249
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1481409249
Hero Member
*
Offline Offline

Posts: 1481409249

View Profile Personal Message (Offline)

Ignore
1481409249
Reply with quote  #2

1481409249
Report to moderator
1481409249
Hero Member
*
Offline Offline

Posts: 1481409249

View Profile Personal Message (Offline)

Ignore
1481409249
Reply with quote  #2

1481409249
Report to moderator
ThiagoCMC
Legendary
*
Offline Offline

Activity: 1190


฿itcoin: Currency of Resistance!


View Profile WWW
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

Mercado Forex acessível para todos os Brasileiros que tenham Bitcoins! Cadastre-se hoje mesmo! Bastar acessar aqui: https://1broker.com/m/r.php?i=8879
ThiagoCMC
Legendary
*
Offline Offline

Activity: 1190


฿itcoin: Currency of Resistance!


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

Now, I'll figure out the better setup combo for the 5XXX series...   :-D

Mercado Forex acessível para todos os Brasileiros que tenham Bitcoins! Cadastre-se hoje mesmo! Bastar acessar aqui: https://1broker.com/m/r.php?i=8879
ThiagoCMC
Legendary
*
Offline Offline

Activity: 1190


฿itcoin: Currency of Resistance!


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

Added GPU_MAX_ALLOC_PERCENT=100 to cgminer cmdline...

Mercado Forex acessível para todos os Brasileiros que tenham Bitcoins! Cadastre-se hoje mesmo! Bastar acessar aqui: https://1broker.com/m/r.php?i=8879
Pages: [1]
  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!