Skip to content

Problems on makefile tests #4

@fbrundu

Description

@fbrundu

Hi,
I am trying to run tests after compiling Paradigm. I usually use zsh but now I am using bash because I received

runtests.sh: 3: set: Illegal option -o pipefail

Using bash I am receiving this error:

~/git/Paradigm ⭠ master * » make tests SHELL=`which bash`                                                                                                                                                                                                          cd testdata && bash runtests.sh
Testing node splitting [1/2], should take seconds
Testing node splitting [2/2], should take seconds
Testing use of different FactorGenerators, should take seconds
Testing inference, should take less than a minute
terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::negative_edge> >'
  what():  The graph may not contain an edge with negative weight.
Command terminated by signal 6
0.11user 0.00system 0:00.20elapsed 59%CPU (0avgtext+0avgdata 7940maxresident)k
0inputs+0outputs (0major+2435minor)pagefaults 0swaps
1,2d0
< Different sample names:
< sample_2 loglikelihood=-79.6557
make: *** [tests] Error 1

I am using libDAI (0.2.5 - https://github.com/yesimon/libDAI/releases/tag/v0.2.5) and libBoost (1.54). I have also patched libDAI (0.2.5) for conflict with boost foreach (see https://groups.google.com/forum/#!searchin/libdai/daiforeach/libdai/_mbXP4Svf6w/g44H6gsKunQJ). I am on Linux Ubuntu 14.04.

Thanks

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