Closed bvalot closed 2 years ago
Hi @bvalot !
Thanks for your report.
It would be helpful to look at the config.log
file that the configure
script generated when you tried to run it. It will contain the commands run during the configuration and the full error messages relating to the failure to use mpicc
properly. Please attach it to a follow-up comment on this issue if you can.
Please find the file below. config.log
Please find the file below. config.log
Thanks!
This is the relevant part from the log file:
configure:4011: checking whether the C compiler works
configure:4033: mpicc -O3 -DNDEBUG -std=c99 -pedantic conftest.c >&5
/usr/bin/ld: cannot find -lmpi
/usr/bin/ld: cannot find -lopen-rte
/usr/bin/ld: cannot find -lopen-pal
/usr/bin/ld: cannot find -lhwloc
/usr/bin/ld: cannot find -levent_core
/usr/bin/ld: cannot find -levent_pthreads
collect2: error: ld returned 1 exit status
This tells me that the mpicc
compiler is non-functional and can't be used as it can't find the needed libraries. You may possibly want to re-install it or check whether you are missing some development package. What package does your mpicc
compiler wrapper come from, openmpi-dev
(or mpi-default-dev
) or mpich
?
Oh. I'm really sorry. I have no dev package install for mpi. For me, it would be automatic with the compiler installation.
Installation work with "mpi-default-dev" install.
trx
I'm try to compile MrBayes with MPI and without Beagles I have some problem at the configure steps. gcc and mpicc are correctly installed at system /usr/bin
Would you be able to compile and run MrBayes to test fixes to this bug?
What is the environment that you run MrBayes in?
Operating system (including variant and release): Distributor ID: Debian Description: Debian GNU/Linux 11 (bullseye) Release: 11 Codename: bullseye
Version of MrBayes: v3.2.7a