NOTE: This is still work in progress, it has only went through limited amounts of testing. The official release of this will be in v1.1.0 planned for next Thursday (December 13th)
The branch cleanup_cuckoo_v2
contains the correct version. The following steps can be taken to build and replace the cuda29
miner. (Of course change the paths to match your local system)
epoch@ip-172-31-12-21:~/hans$ export PATH=/usr/local/cuda-9.2/bin${PATH:+:{PATH}}
epoch@ip-172-31-12-21:~/hans git clone -b cleanup_cuckoo_v2 GitHub - aeternity/cuckoo: Please open Aeternity-specific issues in https://github.com/aeternity/aeternity/issues . For Cuckoo-specific issues and pull requests, the most effective way is opening those in upstream repository https://github.com/tromp/cuckoo
Cloning into ‘cuckoo’…
remote: Enumerating objects: 105, done.
remote: Counting objects: 100% (105/105), done.
remote: Compressing objects: 100% (61/61), done.
remote: Total 3862 (delta 66), reused 72 (delta 44), pack-reused 3757
Receiving objects: 100% (3862/3862), 12.73 MiB | 11.52 MiB/s, done.
Resolving deltas: 100% (2646/2646), done.
Checking connectivity… done.
epoch@ip-172-31-12-21:~/hans$ cd cuckoo
epoch@ip-172-31-12-21:~/hans/cuckoo$ make cuda29
mkdir -p bin
(cd src/cuckoo; nvcc -std=c++11 -o cuda29 -DEDGEBITS=29 -arch sm_35 mean.cu …/crypto/blake2b-ref.c)
cp src/cuckoo/cuda29 bin
epoch@ip-172-31-12-21:~/hans/cuckoo$ cp bin/cuda29 ~/node/lib/aecuckoo-0.1.0/priv/bin
epoch@ip-172-31-12-21:~/hans/cuckoo$
Update
Monday, Dec 10th, 9:30 CET
Lifted the branch cleanup_cuckoo_v2
on top of Tromp’s latest updates. I.e. it now supports the -c
flag to reduce CPU load.