Closed cement-head closed 2 years ago
Hi!
If you installed Beagle with an installation prefix of /home/cbfgws6
, then this is what you should be using with the --with-beagle
option to the configure
script. Finding the header is only part of the issue, and the other part is to later find the correct library too.
If using /home/cbfgws6
as the path for finding Beagle doesn't work, then you could try using pkg-config
. To do that, you would set PKG_CONFIG_PATH
to the pathname of the directory holding the hmsbeagle-1.pc
file that was installed with Beagle. This file may possibly be located in /home/cbfgws6/lib/pkgconfig
on your system.
./configure PKG_CONFIG_PATH=/home/cbfgws6/lib/pkgconfig ...other...options...here...
See also https://raw.githubusercontent.com/NBISweden/MrBayes/develop/INSTALL
$ ./configure --with-beagle=/home/cbfgws6 --with-mpi
Fixed my problem - thank you - can't believe I missed that.
I get an error on sudo make install - something to do with the PDF of the manual:
make[2]: Entering directory '/home/cbfgws6/Programs/MrBayes/doc/manual'
env TEXINPUTS=./src: BIBINPUTS=./src: BSTINPUTS=./src: /usr/bin/pdflatex --interaction=batchmode ./src/Manual_MrBayes_v3.2
This is pdfTeX, Version 3.14159265-2.6-1.40.18 (TeX Live 2017/Debian) (preloaded format=pdflatex)
restricted \write18 enabled.
entering extended mode
Makefile:513: recipe for target 'Manual_MrBayes_v3.2.pdf' failed
make[2]: *** [Manual_MrBayes_v3.2.pdf] Error 1
make[2]: Leaving directory '/home/cbfgws6/Programs/MrBayes/doc/manual'
Makefile:335: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/cbfgws6/Programs/MrBayes/doc'
Makefile:422: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
Suggestions on how to fix?
$ sudo apt install texlive
Solved the issue.
$ mb -v
MrBayes, Bayesian Analysis of Phylogeny
Version: 3.2.7a
Features: SSE AVX FMA Beagle MPI
Host type: x86_64-unknown-linux-gnu (CPU: x86_64)
Compiler: gnu 9.4.0
BEAGLE3 installed as per: https://github.com/beagle-dev/beagle-lib/wiki/LinuxInstallInstructions make test for BEAGLE3 works
Downloading and attempting to compile MrBayes 3.2.7 with BEAGLE3 results in beagle.h not being found.
What is the current observed behaviour?
Cannot find beagle:
What is the expected/wanted behaviour?
Find beagle.h; finish compiling
How may we reproduce this bug?
Follow instructions
Steps to reproduce the bug:
Would you be able to compile and run MrBayes to test fixes to this bug?
git
and how to compile MrBayes.What is the environment that you run MrBayes in?
Version
command in MrBayes below:Other information that may be of use to us in resolving this issue
It looks as if the header files are there, and I'm specifying the correct directory, but MrBayes is reporting that it can't find them. Do I have to configure the pkg-config VARIABLE?