Ubuntu
How compille and run on Ubuntu 16.04. Help me please
Hi,
Make sure you have the CUDA Toolkit 9.2 installed https://developer.nvidia.com/cuda-downloads
To compile on Ubuntu, run make.
The binaries will be in the bin directory
Let me know if you need help.
Thanks
In Arch linux it doesn't compile as well.
cuda 9.2.148-2 is installed gcc7 7.3.1+20180814-1 by dependancy for cuda
after trying to make I get several errors about ambiguity like
KeyFinder.cpp: In member function ‘void KeyFinder::generateStartingPoints()’: KeyFinder.cpp:244:37: error: call of overloaded ‘add(uint64_t&)’ is ambiguous _exponents.push_back(privKey.add(i)); ^ In file included from /tmp/BitCrack/cudaDeviceContext/DeviceContext.h:6:0, from /tmp/BitCrack/cudaDeviceContext/CudaDeviceContext.h:4, from KeyFinder.cpp:4:
Linux build is fixed now.
Thanks
[2018-09-16.13:55:00] [Info] Initializing Tesla V100-SXM2-16GB [2018-09-16.13:55:01] [Info] Generating 10,485,760 starting points (400.0MB) [2018-09-16.13:55:01] [Info] Error: invalid device symbol Exiting.
I compiled the file, but when I run the error.
Hi,
In Makefile, try changing COMPUTE_CAP to 70.
Let me know if that works.
Thanks
Thank's! Now it compiles at least in Arch. And after correcting COMPUTE_CAP even works :)
[2018-09-17.14:19:33] [Info] Compression: compressed
[2018-09-17.14:19:33] [Info] Starting at: 2876437231378229588557147714825991654328390017445995009117939066
[2018-09-17.14:19:33] [Info] Loading addresses from 'btc'
'2018-09-17.14:19:33] [Error] Invalid address '16ftSEQ4ctQFDtVZiUBusQUjRrGhM3JYwe
[2018-09-17.14:19:33] [Info] Error: Exiting.
now does not start from the address in the file With the same file on Windows, everything is fine
If there is any space at the beginning or end of the address in the text file, it will render unrecoqnizable like it did for you. Theres a typo error in your file, check it.
No mistakes! On Windows it works!
Maybe the new line char is different. Try to make new list in Linux.
Hi,
This is due to Linux leaving the carriage return in the buffer when reading lines (I'm guessing you made the file in Windows?). I have fixed the code to remove it when reading addresses.
Try pulling the latest code.
Thanks
Hello, yes, it's all right. I now have a new question. Is it possible to change the code in this way, the -s flag was automatically selected at startup? not with 1, as it is now
I think that it is necessary for someone and in windows
#denis-vk #43 created
I've used COMPUTE_CAP 30 and 70 as suggested above. Still getting invalid device symbol error.
Suggestions?
Edit: Nevermind. I looked up the CUDA wiki and changed COMPUTE_CAP to 61 and it's working like a charm. :)
Glad you were able to figure it out!
Can someone help with a build on Ubuntu 16.04 LTS using CUDA 9.2?
When I type "make" I get a lib directory, but no bin directory, and no binaries. Is anyone else having this same problem?
Try make BUILD_OPENCL=1 or make BUILD_CUDA=1
I'll fix the make script to be more clear.
I am trying to compile on ubuntu 22.04 . there is no file to run after make or sudo make