[mlpack-git] [mlpack] Error compiling test program (#562)

Ozair Shafiq notifications at github.com
Mon Mar 14 09:39:42 EDT 2016


Hey guys,

I also tried compiling one of the test program (allknn_test.cpp) individually and got the same horde of undefined reference errors. Then I read and applied the advice by rcurtlin to use mlpack_test program to run tests and I am failing the tests in 'AllkNNTest'.

The output I get is:
Running 21 test cases...
mlpack_test: /home/ozair/programming/mlpack/src/mlpack/../mlpack/core/tree/rectangle_tree/rectangle_tree_impl.hpp:882: bool mlpack::tree::RectangleTree<MetricType, StatisticType, MatType, SplitType, DescentType>::ShrinkBoundForPoint(const vec&) [with MetricType = mlpack::metric::LMetric<2, true>; StatisticType = mlpack::neighbor::NeighborSearchStat<mlpack::neighbor::NearestNeighborSort>; MatType = arma::Mat<double>; SplitType = mlpack::tree::RStarTreeSplit; DescentType = mlpack::tree::RStarTreeDescentHeuristic; arma::vec = arma::Col<double>]: Assertion `false' failed.
unknown location(0): fatal error in "KNNModelTest": signal: SIGABRT (application abort requested)
/home/ozair/programming/mlpack/src/mlpack/tests/allknn_test.cpp(1027): last checkpoint
unknown location(0): fatal error in "KNNModelMonochromaticTest": std::runtime_error: Timer::Start(): timer 'tree_building' has already been started
/home/ozair/programming/mlpack/src/mlpack/tests/allknn_test.cpp(1027): last checkpoint
unknown location(0): fatal error in "NeighborPtrDeleteTest": std::runtime_error: Timer::Start(): timer 'tree_building' has already been started
/home/ozair/programming/mlpack/src/mlpack/tests/allknn_test.cpp(1115): last checkpoint

*** 3 failures detected in test suite "mlpackTest"

However, I tried running FeedForwardNetworkTest in mlpack_test and the output is:
Running 2 test cases...

*** No errors detected

At this point, I can't tell whether I am using an outdated/missing library components or anything else to fail AllkNNTest, but the FeedForwardNetworkTest is running just fine, so I am not sure where to go from here to get this AllkNNTest test to pass, I will appreciate any input.

Regards.




---
Reply to this email directly or view it on GitHub:
https://github.com/mlpack/mlpack/issues/562#issuecomment-196314103
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160314/138cc796/attachment-0001.html>


More information about the mlpack-git mailing list