Post
Topic
Board Development & Technical Discussion
Re: VanitySearch (Yet another address prefix finder)
by
inlovewiththedj
on 01/05/2020, 18:12:17 UTC
Hi

sorry for simple question (for some people) but can You write I mean step by step
how to install VanitySearch on Linux ie. Mint, Ubuntu etc.

First of all.
1. I downloaded archive from github https://github.com/JeanLucPons/VanitySearch/archive/1.17.tar.gz
2. I extracted this archive to my desktop
3. Then In my Linux Mint I opened terminal and I navigated to this folder ie. VanitySearch-1.17
4. Then I did put and run the command:
Code:
make
5. Don't know what next to open program and start generating new addresses

Thanks!

If you do not use CUDA, just run tthis comand:
$ make all

If you use CUDA (GPU device), you should compile in another way:
$ make gpu=1 ccap=20 all

where: gpu=1 is the number of your GPU device (gpu=0 is also possible for one device)
           ccap=20 is the compute capability depending on your GPU device

Find your device here https://en.wikipedia.org/wiki/CUDA and input the version in accordance with your device (for example 20 for version 2.0; 61 for version 6.1; etc)

As soon as you compile the program you can run it in the following way:

$ ./VanitySearch -t 0 -gpu 1TryMe

where -gpu means you use GPU, -t 0 means that you so not use CPU (0 threads)
"./" - important part to run the program in Linux  Wink

I installed CUDA SDK and Toolkit but
I have an error. PLEASE HELP

Code:
make gpu=1 ccap=61 all
mkdir -p obj
cd obj && mkdir -p GPU
cd obj && mkdir -p hash
g++ -DWITHGPU -m64 -mssse3 -Wno-write-strings -O2 -I. -I/usr/local/cuda-8.0/include -o obj/Base58.o -c Base58.cpp
g++ -DWITHGPU -m64 -mssse3 -Wno-write-strings -O2 -I. -I/usr/local/cuda-8.0/include -o obj/IntGroup.o -c IntGroup.cpp
g++ -DWITHGPU -m64 -mssse3 -Wno-write-strings -O2 -I. -I/usr/local/cuda-8.0/include -o obj/main.o -c main.cpp
g++ -DWITHGPU -m64 -mssse3 -Wno-write-strings -O2 -I. -I/usr/local/cuda-8.0/include -o obj/Random.o -c Random.cpp
g++ -DWITHGPU -m64 -mssse3 -Wno-write-strings -O2 -I. -I/usr/local/cuda-8.0/include -o obj/Timer.o -c Timer.cpp
g++ -DWITHGPU -m64 -mssse3 -Wno-write-strings -O2 -I. -I/usr/local/cuda-8.0/include -o obj/Int.o -c Int.cpp
g++ -DWITHGPU -m64 -mssse3 -Wno-write-strings -O2 -I. -I/usr/local/cuda-8.0/include -o obj/IntMod.o -c IntMod.cpp
g++ -DWITHGPU -m64 -mssse3 -Wno-write-strings -O2 -I. -I/usr/local/cuda-8.0/include -o obj/Point.o -c Point.cpp
g++ -DWITHGPU -m64 -mssse3 -Wno-write-strings -O2 -I. -I/usr/local/cuda-8.0/include -o obj/SECP256K1.o -c SECP256K1.cpp
g++ -DWITHGPU -m64 -mssse3 -Wno-write-strings -O2 -I. -I/usr/local/cuda-8.0/include -o obj/Vanity.o -c Vanity.cpp
g++ -DWITHGPU -m64 -mssse3 -Wno-write-strings -O2 -I. -I/usr/local/cuda-8.0/include -o obj/GPU/GPUGenerate.o -c GPU/GPUGenerate.cpp
g++ -DWITHGPU -m64 -mssse3 -Wno-write-strings -O2 -I. -I/usr/local/cuda-8.0/include -o obj/hash/ripemd160.o -c hash/ripemd160.cpp
g++ -DWITHGPU -m64 -mssse3 -Wno-write-strings -O2 -I. -I/usr/local/cuda-8.0/include -o obj/hash/sha256.o -c hash/sha256.cpp
g++ -DWITHGPU -m64 -mssse3 -Wno-write-strings -O2 -I. -I/usr/local/cuda-8.0/include -o obj/hash/sha512.o -c hash/sha512.cpp
g++ -DWITHGPU -m64 -mssse3 -Wno-write-strings -O2 -I. -I/usr/local/cuda-8.0/include -o obj/hash/ripemd160_sse.o -c hash/ripemd160_sse.cpp
g++ -DWITHGPU -m64 -mssse3 -Wno-write-strings -O2 -I. -I/usr/local/cuda-8.0/include -o obj/hash/sha256_sse.o -c hash/sha256_sse.cpp
/usr/local/cuda-8.0/bin/nvcc -maxrregcount=0 --ptxas-options=-v --compile --compiler-options -fPIC -ccbin /usr/bin/g++-4.8 -m64 -O2 -I/usr/local/cuda-8.0/include -gencode=arch=compute_61,code=sm_61 -o obj/GPU/GPUEngine.o -c GPU/GPUEngine.cu
make: /usr/local/cuda-8.0/bin/nvcc: Command not found
Makefile:63: recipe for target 'obj/GPU/GPUEngine.o' failed
make: *** [obj/GPU/GPUEngine.o] Error 127