Closed daedhalus closed 9 months ago
Dear @daedhalus,
MP2
is not a valid taget. MPI
won't be available without MPI present.
Have you tried the following??
make MP
or
make
Regarding the missing libraries. You should be able to install openmpi
(for MPI) using homebrew
(https://formulae.brew.sh/formula/open-mpi#default). OpenMP
is support by gcc
(it's probably easiest).
So you can
brew install gcc
....
cd hyphy_directory
rm -rf CMakeFiles CMakeCache*
CC=/path/to/gcc CXX=/path/to/g++ cmake ./
make
Best, Sergei
Stale issue message
Hi,
After reading several issues on git, stackoverflow, stackexchange, etc. and not finding a solution, I was hoping I might find help here. I do not have a coding or IT background and only very limited knowledge about bash commands and terminal use. Maybe the solution is out there already but described in a way with jargon terms that are not understandable for a naive user like I am, thus sorry if this may be redundant.
I tried installing HyPhy for terminal use on my Mac Ventura 13.5, Apple M2 Pro chip following the directions here https://stevenweaver.github.io/hyphy-site/download/ and here https://stevenweaver.github.io/hyphy-site/installation/ .
I installed cmake first via downloading the source distribution and then using
./bootstrap
,make
andsudo make install
which seemed to work. I also have cmake installed via homebrew after some back and forth and trying to fix issues that came up later myself. Further, I have XCode Commandline Tools and a Developer Tool Kit for Mac installed. Then, when runningcmake -G Xcode .
from the directory where all the hyphy stuff is, I get the following output:I was concerned about it not finding OpenMP related things and MPI related things, but read somewhere online that those are not errors and that it is fine because clang does not use OpenMP or something so I thought "ok, maybe just continue with the next installation step and see what happens". So then I tried
make MP2
,make MPI
,make LBI
andmake install
and none of them worked, giving me these messages:I also tried the following things at some point after diving into some stackoverflow and git threads:
PackagesNotFoundError: The following packages are not available from current channels: - hyphy
)Now I am running out of ideas. I am very grateful for any help and want to emphasize again that I am a novice user and do not have a coding background, so maybe small things like not being in the right directory when executing commands may already fix the issue.
Thank you :)