computations / root_digger

A tool to root phylogenies
MIT License
19 stars 7 forks source link

Cannot install root_digger #5

Closed suhanaser closed 3 years ago

suhanaser commented 3 years ago

Hi, I'm trying to install root_Digger but I keep getting the following error message: CMake Error at src/CMakeLists.txt:6 (add_executable): Target "rd" links to target "MPI::MPI_CXX" but the target was not found. I'm not sure how to fix that. Can you please help

Thanks in advance Suha

computations commented 3 years ago

Sure thing. It looks like you are trying to build the MPI version of RootDigger, but you don't have MPI installed (or Cmake isn't able to find MPI on your system). RootDigger's cmake will only look for MPI if you ask for it, but this could be a bug. So, running make at the project root should build RootDigger without MPI.

Can you show which command you used?

suhanaser commented 3 years ago

Thanks for your quick reply. I tried make and I also tried cmake -DMPI_BUILD=ON -DCMAKE_BUILD_TYPE=Release. Same error message

computations commented 3 years ago

Thanks for reporting this. It looks like it was a mistake on my end. The newest commit should have fixed this.

suhanaser commented 3 years ago

I've tried again but still getting the same error message

computations commented 3 years ago

can you please post the log from the cmake command to the error? Thanks

computations commented 3 years ago

Closing due to inactivity