Coder Social home page Coder Social logo

riner's People

Contributors

ee9zee avatar nan-git avatar optiminer avatar vlkrb0 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

riner's Issues

Work expired mechanism deletes submission data

it should still be possible to submit work even if the pool decided it is outdated.
Currently this is not possible since the expiration mechanism is done via std::weak_ptr::expired()

Tests for CuckatooSolverTest are failing

How to reproduce:

  1. Clone Repo
  2. Run cmake .
  3. Run make
  4. Run ./tests
[ RUN      ] CuckatooSolverTest.Solve29
2019-07-31 08:27:17,092 INFO [default] Running on device Intel(R) HD Graphics Skylake Desktop GT2
2019-07-31 08:27:17,092 INFO [default] try to create API instance
2019-07-31 08:27:17,092 INFO [default] device has no sysfs API
2019-07-31 08:27:17,093 VERBOSE-0 [default] Bucket bit shift = 19
2019-07-31 08:27:17,093 VERBOSE-0 [default] Max memory alloc = 3221225472
2019-07-31 08:27:17,093 VERBOSE-0 [default] Bytes: total=4294967296, bitmaps=167772160, nodes=2624702234
2019-07-31 08:27:17,093 VERBOSE-0 [default] 1024 buckets with max size 640768
2019-07-31 08:27:17,212 VERBOSE-0 [default] nonce = 352321536
2019-07-31 08:27:17,212 VERBOSE-0 [default] Siphash Keys: 1215811604871491824, 11038469633392922588, 3505491256721110140, 106272524790969032
2019-07-31 08:27:17,212 INFO [default] iterations=8192
2019-07-31 08:27:30,731 VERBOSE-0 [default] Done
2019-07-31 08:27:30,894 VERBOSE-0 [default] active edges: 0
2019-07-31 08:27:30,903 VERBOSE-0 [default] active edges: 0
2019-07-31 08:27:30,915 INFO [default] pruning is done
2019-07-31 08:27:30,927 INFO [default] Found 0 potential cycles
/home/ee9zee/Riner/src/algorithm/grin/CuckatooTest.cpp:103: Failure
Expected equality of these values:
  1
  cycles.size()
    Which is: 0
[  FAILED  ] CuckatooSolverTest.Solve29 (14252 ms)
[ RUN      ] CuckatooSolverTest.Solve31
2019-07-31 08:27:30,942 INFO [default] Running on device Intel(R) HD Graphics Skylake Desktop GT2
2019-07-31 08:27:30,943 INFO [default] try to create API instance
2019-07-31 08:27:30,943 INFO [default] device has no sysfs API
2019-07-31 08:27:30,943 VERBOSE-0 [default] Bucket bit shift = 19
2019-07-31 08:27:30,943 VERBOSE-0 [default] Max memory alloc = 3221225472
2019-07-31 08:27:30,943 VERBOSE-0 [default] Bytes: total=4294967296, bitmaps=671088640, nodes=2624702234
2019-07-31 08:27:30,943 VERBOSE-0 [default] 4096 buckets with max size 160192
2019-07-31 08:27:31,059 VERBOSE-0 [default] nonce = 8742930641540181280
2019-07-31 08:27:31,059 VERBOSE-0 [default] Siphash Keys: 707696558862008831, 13844509301656340219, 10878251467021832460, 1593815210236709481
2019-07-31 08:27:31,059 INFO [default] iterations=32768
2019-07-31 08:28:26,248 VERBOSE-0 [default] Done
2019-07-31 08:28:26,898 VERBOSE-0 [default] active edges: 0
2019-07-31 08:28:26,933 VERBOSE-0 [default] active edges: 0
2019-07-31 08:28:26,979 INFO [default] pruning is done
2019-07-31 08:28:27,026 INFO [default] Found 0 potential cycles
/home/ee9zee/Riner/src/algorithm/grin/CuckatooTest.cpp:129: Failure
Expected equality of these values:
  1
  cycles.size()
    Which is: 0
[  FAILED  ] CuckatooSolverTest.Solve31 (56131 ms)
[ RUN      ] CuckatooSolverTest.IsValidCycle

...
[----------] Global test environment tear-down
[==========] 19 tests from 7 test cases ran. (78593 ms total)
[  PASSED  ] 17 tests.
[  FAILED  ] 2 tests, listed below:
[  FAILED  ] CuckatooSolverTest.Solve29
[  FAILED  ] CuckatooSolverTest.Solve31

cmake . error

  1. we miss important part about tools f.e. on Ubuntu 18 I did:
    apt install build-essential git
    git clone https://github.com/Kitware/CMake/; cd CMake
    ./bootstrap && make && sudo make install
  2. building riner according to docs generates error:

`ubuntu@borisriner:~/riner$ cmake .
-- The C compiler identification is GNU 7.4.0
-- The CXX compiler identification is GNU 7.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc - works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ - works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at /usr/local/share/cmake-3.17/Modules/FindPackageHandleStandardArgs.cmake:164 (message):
Could NOT find Protobuf (missing: Protobuf_INCLUDE_DIR)
Call Stack (most recent call first):
/usr/local/share/cmake-3.17/Modules/FindPackageHandleStandardArgs.cmake:445 (_FPHSA_FAILURE_MESSAGE)
/usr/local/share/cmake-3.17/Modules/FindProtobuf.cmake:626 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:21 (find_package)

-- Configuring incomplete, errors occurred!
See also "/home/ubuntu/riner/CMakeFiles/CMakeOutput.log".
See also "/home/ubuntu/riner/CMakeFiles/CMakeError.log".`

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.