Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Problems on makefile tests #4

Open
fbrundu opened this issue Feb 9, 2015 · 1 comment
Open

Problems on makefile tests #4

fbrundu opened this issue Feb 9, 2015 · 1 comment

Comments

@fbrundu
Copy link

fbrundu commented Feb 9, 2015

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

@lidiaiprou
Copy link

Hi,
I am also trying to run tests using bash, libDAI 0.2.5 and the current version of libBoost on Ubuntu 14.04 and I am having exactly the same issue that was reported by fbrundu. Did you find a solution for this issue?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants