Skip to content

Compilation error and dependencies #28

@sgyzetrov

Description

@sgyzetrov

Hi @bmmalone :

I am currently working through the paper Learning Optimal Bayesian Networks: A Shortest Path Perspective, but code included in your paper (urlearning-cpp-8-24-2014 -> urlearning-cpp-673f203f44b9) can not calculate score. So I did some digging and found a bitbucket repo and this Github repo. Few questions:

N.B. I am using a docker image for urlearning testing, the image is Ubuntu 18.04

  1. This repo no longer seem active, and so was the bitbucket repo. Which one is the latest version? I am guessing this repo and rather than the one hosting on bitbucket?
  2. Got the same compilation errors stated in Issues compiling score #27 and some more, @bmmalone could you be kind enough to specify dependencies? I got boost_1_63 from your bazel file but did not catch your gcc/g++ version for compilation. Which version did you use?
  3. I did managed to compile the whole bitbucket project before (through replacing buggy files with files on Github). But I was unable to calculate score. Some weird boost error appears:
    $> score soybean.csv soybean.pss
    ...
    score: /usr/include/boost/dynamic_bitset/dynamic_bitset.hpp: boost::dynamic_bitset<Block, Allocator>::size_type, bool) [with Block = long unsigned int; Allocator = std::allocator<long unsigned int>; boost::dynamic_bitset<Block, Allocator>::size_type = long unsigned int]: Assertion `pos < m_num_bits' failed.
    Aborted
    
    Have you ever been able to use score and had no trouble calculating .csv files at all? Which .csv data did you try? Because it seems to me score is currently unusable...

Looking forward for your reply, thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions