HOW-TO RUN YESCRYPT MINER ON MACHINES WITH AMD PROCESSORS:
This tutorial includes the use of Virtualbox if you are running Windows, if you are unfamiliar with running Virtualbox or any other virtual environment you choose ,it will not be covered here, please do that first.
If running Linux environment you can follow the terminal commands in the post. ( all terminal commands are in
green )
1) Run a Linux based environment either directly or virtually on Windows (Virtual users on Windows make sure to allocate the number of cores of your processor that you wish to use in the Settings)
2) Find your processor info, this is needed to specify the build parameters when configuring the yescrypt miner.
Open a terminal and enter:
grep -m1 -A3 "vendor_id" /proc/cpuinfoexample output:vendor_id: AuthenticAMD
cpu family: 15
model: 35, 43, 75 or 107
stepping: 1 or 2
model name: AMD Athlon(tm) 64 X2 Dual Core Processor
The information that you need most is
cpu family and
model to correctly build the miner. We will use this information in step #5
3) You will need some prerequisites before building:
Install Build Dependencies on
Debian, Ubuntu and other APT-based distros:
sudo apt-get install build-essential libcurl4-openssl-devInstall Build Dependencies on
Fedora, RHEL, CentOS and other yum-based distros:
sudo yum install gcc make curl-develInstall Build Dependencies on
OpenSUSE and other ZYpp-based distros:
sudo zypper in gcc make libcurl-devel4) Obtain miner : in this case I am using the noncepool miner (no longer around) posting.
git clone https://github.com/noncepool/cpuminer-yescrypt.git (if your new virtual machine does not have "git" just follow the prompt output)
cd cpuminer-yescrypt./autogen.sh (again, if a fresh Linux install you may have to install auto-tools
sudo apt-get install automake )
5) Here is where you will need the cpu information from above. Follow this link
http://www.opikdesign.com/kios/procie_kernel/ and scan the list for your cpu family
and model. You may notice that there are also Intel based listings for those of you who may want to double check the effectiveness of your current build.
Once your family and model are found, the info we want is related to
CFLAGS There will be a box with 3 lines of info you want the
middle line.
example: CFLAGS="-march=k8 -O2 -pipe -fomit-frame-pointer" (Please make sure you check for 32bit or 64bit )
Now we can continue with building the miner, I will use our example above which is for a 32 bit AMD Athlon 64 X2 (now back to terminal)
./configure CFLAGS="-march=k8 -O2 -pipe -fomit-frame-pointer" (
enter your specific CFLAGS command after ./configure )
makeYou should have no errors reported in the compilation, now you can run the miner using a pool of your choice with the following command:
example:./minerd -a yescrypt -o stratum+tcp://stratum1.suchpool.pw:3322 -u yourusername -p yourpasswordYou can also control the number of cores you want to use by using the
-t command.
example: ./minerd -a yescrypt -o stratum+tcp://stratum1.suchpool.pw:3322 -u yourusername -p yourpassword -t 3 (for 3 cores etc.)
Please note that you can use any pool you like, the above is meant as an example only.
I hope this helps those new to mining, Linux, and BSTY or those who have wanted use their AMD machines and couldn't
If you like it:
XzmZG4tjj8DJZJcADUFYAChRETm1CkDkAY