Posts Tagged ‘CUDAminer

ccminer-1-6-3-git-tpruvot

We have compiled an up to date Windows binary from the latest ccMiner 1.6.3-git by tpruvot (source). The latest version adds support for the NeoScrypt algorithm based on djm34’s work who recently added NeoScrypt support to his fork with minimum requirement for Compute 3.5 capabilities from your Nvidia GPU. With this version of ccMiner we are getting around 146 KHS hashrate mining NeoScrypt on a GeForce GTX 750 Ti GPU which is about the same performance we are getting on the same hardware using djm34’s fork which is to be expected. Our windows binary is compiled with VS2013 and supports Compute 3.5, 5.0 and 5.2 GPUs, you can download and try it below, there is an example BAT file setup for testing.

To download the latest ccMiner version 1.6.3-git by tpruvot for Windows OS…

ccminer-1-6-2-git-tpruvot

We have compiled an up to date Windows binary from the latest ccMiner 1.6.2-git by tpruvot (source). The ccMiner fork from tpruvot is with support for Compute 3.0 or later Nvidia-based video cards all the way up to the latest Compute 5.2 GPUs from Nvidia. The latest version includes some fixes and most notably the addition of Scrypt, Scrypt-N and Scrypt-Jane algorithms that are ported from CudaMiner that has already been outdated and not supported for a while. Not that it is much profitable to mine coins using these algorithms at the moment, especially Scrypt ones on the GPU, but still now you have support for them in ccMiner available. Since our last binary release there was also the addition of Double Skein Algo (Skein 2) that is being used by crypto coins such as Woodcoin. Our windows binary is compiled with VS2013 and supports Compute 3.0, 3.5, 5.0 and 5.2 GPUs, you can download and try it below, there is an example BAT file setup for testing.

To download the latest ccMiner version 1.6.2-git by tpruvot for Windows OS…

cudaminer-latest-windows-build-from-source

It seems that a lot of people are having trouble figuring out how to compile CudaMiner from source for Windows and since our readers have also requested a simple and easy to use guide, we have prepared something that should help. The process is pretty simple and straight forward, so if you follow the steps you should be able to compile the code yourself in no time, probably…

First Download the required files:
– You need to have Visual Studio 2010 or 2012 with C++ installed, other versions might also work, but we have not tested.
– Download and install Nvidia CUDA Toolkit, do note that Visual Studio needs to be installed first for the CUDA Toolkit to properly work with it.
– You need to download the Windows versions of pthreads, OpenSSL and curl for the respective version you will be compiling for (32 or 64-bit), there is a complete package that contains all of these to make it simple for you, though they may not be the latest versions.
– Download the latest CudaMiner source code, use the Download ZIP button on the right to make it easier.

cudaminer-requirements

Prepare everything for compiling the project:
– Create a folder where you will place all of the required files, for example CUDAMINER-WIN and extract the complete package of prerequisites in it as well as the source code of CudaMiner, you should have things look like on the image above.
– Open the CudaMiner-master folder and open the cudaminer.sln project file, it should load up in Visual Studio. Note that the project is in VS2010 format and if using 2012 for example you will be asked to upgrade the project to the 2012 format, choose yes.

cudaminer-code-generation

Final tweaks and compiling the project in Visual studio:
– Make Sure you have selected Release build and choose if you are compiling a 32 or 64-bit version inside Visual Studio after you have opened up the cudaminer SLN file.
– If you wan to compile the code for a specific GPU architecture other than the default you will need to go to Project, Properties, Confguration Properties, CUDA C/C++, Device and select the required ones under Code Generation.
– Select Build Solution from the Build menu and wait for the compilation process to finish, you will find the executable file in the Release folder (or x64, Release for the 64-bit version).
– You need the cudaminer.exe executable file and the respective cudart DLL file (32 or 64-bit, depending on the version you are building).
– You also need to get the respective 32 or 64-bit version of the pthreadVC2.dll file from the phtreads folder.
– Put the executable file and the two DLL files in a single folder and you are ready to run CudaMiner.
– Note that on your system everything should be working fine, but on other computers lacking Visual C++ Redistributable for Visual Studio 2010/2012 installed you will need to also install this package (version depends on what version of Visual Studio you have used to compile the project). Alternatively you can just include the msvcp and msvcr DLL files along with the other files to make sure you have all of the required files packaged together.

Hopefully this guide will help you compile the CudaMiner source code for Windows on your own, this could also be helpful in compiling other projects if you haven’t used Visual Studio at all, though the guide is specifically for compiling CudaMiner.


top