Author

Topic: Compiling CGMiner with Scrypt on top of Ubuntu 12.04 for 7970s (Read 29430 times)

legendary
Activity: 1204
Merit: 1000
฿itcoin: Currency of Resistance!
Added GPU_MAX_ALLOC_PERCENT=100 to cgminer cmdline...
legendary
Activity: 1204
Merit: 1000
฿itcoin: Currency of Resistance!
Now, I'll figure out the better setup combo for the 5XXX series...   :-D
legendary
Activity: 1204
Merit: 1000
฿itcoin: Currency of Resistance!
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
legendary
Activity: 1204
Merit: 1000
฿itcoin: Currency of Resistance!
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
Jump to: