brichard19 / parcrypt Goto Github PK
View Code? Open in Web Editor NEWParallel cryptanalysis
License: MIT License
Parallel cryptanalysis
License: MIT License
Unable to compile for windows using Visual studio due to this error
Hi
Very interesting!
Maybe I do not understand the concept, but:
How (and what) must be modified for another kind of tasks?
I would like to manage a group of clients (with one or multiple GPUs) to use my https://github.com/PawelGorny/WifSolverCuda
My program works with 1 GPU only - does client instance must be assigned to a single GPU or it is assigned to host and the splits the work internally?
May client return also statuses, not only final result?
Kind regards,
Pawel
Please tell me why
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='127.0.0.1', port=8080): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fc24086c130>: Failed to establish a new connection: [Errno 111] Connection refused'))
jojo@gorilla:~/Downloads/parcrypt-main$ make make -j8 all make[1]: Entering directory '/home/jojo/Downloads/parcrypt-main' make --directory address make --directory parcrypt_lib make[2]: Entering directory '/home/jojo/Downloads/parcrypt-main/address' for file in base58.cpp address_hash.cpp ripemd160.cpp checksum.cpp sha256.cpp ; do\ g++ -c $file -I/home/jojo/Downloads/parcrypt-main/include -I/home/jojo/Downloads/parcrypt-main/./ -I/home/jojo/Downloads/parcrypt-main/third_party/OpenCL-Headers -I/home/jojo/Downloads/parcrypt-main/third_party/fmt/include -I/home/jojo/Downloads/parcrypt-main/third_party/json11 -I/home/jojo/Downloads/parcrypt-main/address -I/home/jojo/Downloads/parcrypt-main/parcrypt_lib -I/home/jojo/Downloads/parcrypt-main/gpu -I/home/jojo/Downloads/parcrypt-main/logger -I/home/jojo/Downloads/parcrypt-main/platform -I/home/jojo/Downloads/parcrypt-main/secp256k1 -I/home/jojo/Downloads/parcrypt-main/util -O2 -std=c++2a;\ done make --directory gpu make --directory logger make --directory modules make[2]: Entering directory '/home/jojo/Downloads/parcrypt-main/parcrypt_lib' for file in server_common.cpp brute_force_work_unit.cpp http_client.cpp work_unit_factories.cpp settings_cache.cpp work_unit_manager.cpp ; do\ g++ -c $file -I/home/jojo/Downloads/parcrypt-main/include -I/home/jojo/Downloads/parcrypt-main/./ -I/home/jojo/Downloads/parcrypt-main/third_party/OpenCL-Headers -I/home/jojo/Downloads/parcrypt-main/third_party/fmt/include -I/home/jojo/Downloads/parcrypt-main/third_party/json11 -I/home/jojo/Downloads/parcrypt-main/address -I/home/jojo/Downloads/parcrypt-main/parcrypt_lib -I/home/jojo/Downloads/parcrypt-main/gpu -I/home/jojo/Downloads/parcrypt-main/logger -I/home/jojo/Downloads/parcrypt-main/platform -I/home/jojo/Downloads/parcrypt-main/secp256k1 -I/home/jojo/Downloads/parcrypt-main/util -O2 -std=c++2a;\ done make --directory platform make --directory secp256k1 make --directory util make[2]: Entering directory '/home/jojo/Downloads/parcrypt-main/logger' for file in logger.cpp ; do\ g++ -c $file -I/home/jojo/Downloads/parcrypt-main/include -I/home/jojo/Downloads/parcrypt-main/./ -I/home/jojo/Downloads/parcrypt-main/third_party/OpenCL-Headers -I/home/jojo/Downloads/parcrypt-main/third_party/fmt/include -I/home/jojo/Downloads/parcrypt-main/third_party/json11 -I/home/jojo/Downloads/parcrypt-main/address -I/home/jojo/Downloads/parcrypt-main/parcrypt_lib -I/home/jojo/Downloads/parcrypt-main/gpu -I/home/jojo/Downloads/parcrypt-main/logger -I/home/jojo/Downloads/parcrypt-main/platform -I/home/jojo/Downloads/parcrypt-main/secp256k1 -I/home/jojo/Downloads/parcrypt-main/util -O2 -std=c++2a;\ done make[2]: Entering directory '/home/jojo/Downloads/parcrypt-main/platform' for file in console_handler.cpp platform.cpp ; do\ g++ -c $file -I/home/jojo/Downloads/parcrypt-main/include -I/home/jojo/Downloads/parcrypt-main/./ -I/home/jojo/Downloads/parcrypt-main/third_party/OpenCL-Headers -I/home/jojo/Downloads/parcrypt-main/third_party/fmt/include -I/home/jojo/Downloads/parcrypt-main/third_party/json11 -I/home/jojo/Downloads/parcrypt-main/address -I/home/jojo/Downloads/parcrypt-main/parcrypt_lib -I/home/jojo/Downloads/parcrypt-main/gpu -I/home/jojo/Downloads/parcrypt-main/logger -I/home/jojo/Downloads/parcrypt-main/platform -I/home/jojo/Downloads/parcrypt-main/secp256k1 -I/home/jojo/Downloads/parcrypt-main/util -O2 -std=c++2a;\ done make[2]: Entering directory '/home/jojo/Downloads/parcrypt-main/secp256k1' for file in secp256k1.cpp ; do\ g++ -c $file -I/home/jojo/Downloads/parcrypt-main/include -I/home/jojo/Downloads/parcrypt-main/./ -I/home/jojo/Downloads/parcrypt-main/third_party/OpenCL-Headers -I/home/jojo/Downloads/parcrypt-main/third_party/fmt/include -I/home/jojo/Downloads/parcrypt-main/third_party/json11 -I/home/jojo/Downloads/parcrypt-main/address -I/home/jojo/Downloads/parcrypt-main/parcrypt_lib -I/home/jojo/Downloads/parcrypt-main/gpu -I/home/jojo/Downloads/parcrypt-main/logger -I/home/jojo/Downloads/parcrypt-main/platform -I/home/jojo/Downloads/parcrypt-main/secp256k1 -I/home/jojo/Downloads/parcrypt-main/util -O2 -std=c++2a;\ done make[2]: Entering directory '/home/jojo/Downloads/parcrypt-main/modules' make[2]: Entering directory '/home/jojo/Downloads/parcrypt-main/gpu' python3 ../tools/concat.py btc_pub_key_hash/secp256k1.cl btc_pub_key_hash/public_key_hash.cl > btc_pub_key_hash/btc_pub_key_hash.cl for file in gpu.cpp tuner.cpp opencl/opencl_device.cpp opencl/opencl_internal.cpp opencl/opencl_device_memory.cpp opencl/opencl_kernel.cpp opencl/opencl_lib.cpp opencl/opencl.cpp opencl/opencl_module.cpp ; do\ g++ -c $file -I/home/jojo/Downloads/parcrypt-main/include -I/home/jojo/Downloads/parcrypt-main/./ -I/home/jojo/Downloads/parcrypt-main/third_party/OpenCL-Headers -I/home/jojo/Downloads/parcrypt-main/third_party/fmt/include -I/home/jojo/Downloads/parcrypt-main/third_party/json11 -I/home/jojo/Downloads/parcrypt-main/address -I/home/jojo/Downloads/parcrypt-main/parcrypt_lib -I/home/jojo/Downloads/parcrypt-main/gpu -I/home/jojo/Downloads/parcrypt-main/logger -I/home/jojo/Downloads/parcrypt-main/platform -I/home/jojo/Downloads/parcrypt-main/secp256k1 -I/home/jojo/Downloads/parcrypt-main/util -I/home/jojo/Downloads/parcrypt-main/third_party/OpenCL-Headers -O2 -std=c++2a;\ done make[2]: Entering directory '/home/jojo/Downloads/parcrypt-main/util' for file in timer.cpp util.cpp ; do\ g++ -c $file -I/home/jojo/Downloads/parcrypt-main/include -I/home/jojo/Downloads/parcrypt-main/./ -I/home/jojo/Downloads/parcrypt-main/third_party/OpenCL-Headers -I/home/jojo/Downloads/parcrypt-main/third_party/fmt/include -I/home/jojo/Downloads/parcrypt-main/third_party/json11 -I/home/jojo/Downloads/parcrypt-main/address -I/home/jojo/Downloads/parcrypt-main/parcrypt_lib -I/home/jojo/Downloads/parcrypt-main/gpu -I/home/jojo/Downloads/parcrypt-main/logger -I/home/jojo/Downloads/parcrypt-main/platform -I/home/jojo/Downloads/parcrypt-main/secp256k1 -I/home/jojo/Downloads/parcrypt-main/util -O2 -std=c++2a;\ done g++: error: unrecognized command line option ‘-std=c++2a’; did you mean ‘-std=c++03’? g++: error: unrecognized command line option ‘-std=c++2a’; did you mean ‘-std=c++03’? Makefile:6: recipe for target 'all' failed make[2]: *** [all] Error 1 make[2]: Leaving directory '/home/jojo/Downloads/parcrypt-main/logger' g++: error: unrecognized command line option ‘-std=c++2a’; did you mean ‘-std=c++03’? Makefile:74: recipe for target 'dir_logger' failed make[1]: *** [dir_logger] Error 2 make[1]: *** Waiting for unfinished jobs.... g++: error: unrecognized command line option ‘-std=c++2a’; did you mean ‘-std=c++03’? g++: error: unrecognized command line option ‘-std=c++2a’; did you mean ‘-std=c++03’? g++: error: unrecognized command line option ‘-std=c++2a’; did you mean ‘-std=c++03’? g++: error: unrecognized command line option ‘-std=c++2a’; did you mean ‘-std=c++03’? Makefile:6: recipe for target 'all' failed make[2]: *** [all] Error 1 make[2]: Leaving directory '/home/jojo/Downloads/parcrypt-main/secp256k1' g++: error: unrecognized command line option ‘-std=c++2a’; did you mean ‘-std=c++03’? Makefile:80: recipe for target 'dir_secp256k1' failed make[1]: *** [dir_secp256k1] Error 2 Makefile:6: recipe for target 'all' failed make[2]: *** [all] Error 1 make[2]: Leaving directory '/home/jojo/Downloads/parcrypt-main/platform' Makefile:77: recipe for target 'dir_platform' failed make[1]: *** [dir_platform] Error 2 g++: error: unrecognized command line option ‘-std=c++2a’; did you mean ‘-std=c++03’? g++: error: unrecognized command line option ‘-std=c++2a’; did you mean ‘-std=c++03’? g++: error: unrecognized command line option ‘-std=c++2a’; did you mean ‘-std=c++03’? g++: error: unrecognized command line option ‘-std=c++2a’; did you mean ‘-std=c++03’? Makefile:6: recipe for target 'all' failed make[2]: *** [all] Error 1 make[2]: Leaving directory '/home/jojo/Downloads/parcrypt-main/util' Makefile:68: recipe for target 'dir_util' failed make[1]: *** [dir_util] Error 2 g++: error: unrecognized command line option ‘-std=c++2a’; did you mean ‘-std=c++03’? g++: error: unrecognized command line option ‘-std=c++2a’; did you mean ‘-std=c++03’? g++: error: unrecognized command line option ‘-std=c++2a’; did you mean ‘-std=c++03’? g++: error: unrecognized command line option ‘-std=c++2a’; did you mean ‘-std=c++03’? g++: error: unrecognized command line option ‘-std=c++2a’; did you mean ‘-std=c++03’? g++: error: unrecognized command line option ‘-std=c++2a’; did you mean ‘-std=c++03’? g++: error: unrecognized command line option ‘-std=c++2a’; did you mean ‘-std=c++03’? Makefile:6: recipe for target 'all' failed make[2]: *** [all] Error 1 make[2]: Leaving directory '/home/jojo/Downloads/parcrypt-main/address' Makefile:71: recipe for target 'dir_address' failed make[1]: *** [dir_address] Error 2 g++: error: unrecognized command line option ‘-std=c++2a’; did you mean ‘-std=c++03’? g++: error: unrecognized command line option ‘-std=c++2a’; did you mean ‘-std=c++03’? g++: error: unrecognized command line option ‘-std=c++2a’; did you mean ‘-std=c++03’? g++: error: unrecognized command line option ‘-std=c++2a’; did you mean ‘-std=c++03’? Makefile:6: recipe for target 'all' failed make[2]: *** [all] Error 1 make[2]: Leaving directory '/home/jojo/Downloads/parcrypt-main/parcrypt_lib' Makefile:83: recipe for target 'dir_parcrypt_lib' failed make[1]: *** [dir_parcrypt_lib] Error 2 g++: error: unrecognized command line option ‘-std=c++2a’; did you mean ‘-std=c++03’? g++: error: unrecognized command line option ‘-std=c++2a’; did you mean ‘-std=c++03’? g++: error: unrecognized command line option ‘-std=c++2a’; did you mean ‘-std=c++03’? Makefile:10: recipe for target 'all' failed make[2]: *** [all] Error 1 make[2]: Leaving directory '/home/jojo/Downloads/parcrypt-main/gpu' Makefile:86: recipe for target 'dir_gpulib' failed make[1]: *** [dir_gpulib] Error 2 python3 ../tools/embed_string.py --input btc_pub_key_hash/btc_pub_key_hash.cl --symbol _btc_pub_key_hash_cl_source --output btc_pub_key_hash/btc_pub_key_hash_cl.cpp for file in btc_pub_key_hash/btc_pub_key_hash.cpp btc_pub_key_hash/btc_pub_key_hash_cl.cpp btc_pub_key_hash/btc_pub_key_hash_gpu.cpp ; do\ g++ -c $file -I./ -Ibtc_pub_key_hash -I/home/jojo/Downloads/parcrypt-main/include -I/home/jojo/Downloads/parcrypt-main/./ -I/home/jojo/Downloads/parcrypt-main/third_party/OpenCL-Headers -I/home/jojo/Downloads/parcrypt-main/third_party/fmt/include -I/home/jojo/Downloads/parcrypt-main/third_party/json11 -I/home/jojo/Downloads/parcrypt-main/address -I/home/jojo/Downloads/parcrypt-main/parcrypt_lib -I/home/jojo/Downloads/parcrypt-main/gpu -I/home/jojo/Downloads/parcrypt-main/logger -I/home/jojo/Downloads/parcrypt-main/platform -I/home/jojo/Downloads/parcrypt-main/secp256k1 -I/home/jojo/Downloads/parcrypt-main/util -O2 -std=c++2a;\ done g++: error: unrecognized command line option ‘-std=c++2a’; did you mean ‘-std=c++03’? g++: error: unrecognized command line option ‘-std=c++2a’; did you mean ‘-std=c++03’? g++: error: unrecognized command line option ‘-std=c++2a’; did you mean ‘-std=c++03’? Makefile:6: recipe for target 'all' failed make[2]: *** [all] Error 1 make[2]: Leaving directory '/home/jojo/Downloads/parcrypt-main/modules' Makefile:89: recipe for target 'dir_modules' failed make[1]: *** [dir_modules] Error 2 make[1]: Leaving directory '/home/jojo/Downloads/parcrypt-main' Makefile:57: recipe for target 'main' failed make: *** [main] Error 2 jojo@gorilla:~/Downloads/parcrypt-main$
occurs intermittently every 15 to 20 cycles but program continues. same error on different computers and gpu units
[13:40:59] GPU error: CL_INVALID_BUFFER_SIZE
[13:41:00] Intel(R) Xeon(R) CPU L5638 @ 2.00GHz starting 13145427-4270-4469-bfdb-0f1a25ba35b1
[13:41:01] GPUs: 2 CPUs: 0
[13:41:01] Project: 64 Work unit: 13145427-4270-4469-bfdb-0f1a25ba35b1
Intel(R) Xeon(R) CPU Initializing
Project: 64 Work unit: 32d96a5f-0a2e-4d10-9d5d-ca67047966e0
NVIDIA GeForce GTX 1070 225.90 MK/s
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.