veg / hyphy

HyPhy: Hypothesis testing using Phylogenies
http://www.hyphy.org
Other
200 stars 68 forks source link

how to install OpenMP? #1666

Closed liamxg closed 5 months ago

liamxg commented 7 months ago

-- Could NOT find OpenMP_C (missing: OpenMP_C_FLAGS OpenMP_C_LIB_NAMES) -- Could NOT find OpenMP_CXX (missing: OpenMP_CXX_FLAGS OpenMP_CXX_LIB_NAMES) -- Could NOT find OpenMP (missing: OpenMP_C_FOUND OpenMP_CXX_FOUND)

stevenweaver commented 7 months ago

What OS are you using?

liamxg commented 7 months ago
image
liamxg commented 7 months ago

Dear @stevenweaver any suggestions, thanks.

spond commented 7 months ago

Dear @liamxg,

gcc-13 is probably the easiest way to get OpenMP support.

  1. Install homebrew (https://brew.sh)
  2. Use brew to install gcc (brew install gcc@13).
  3. Use gcc-13 to compile HyPhy
cd hyphy
rm -rf CMakeCache* CMakeFiles/
CC=gcc-13 CXX=g++-13 cmake ./
make 

Best, Sergei

liamxg commented 7 months ago

Dear @spond thanks.

github-actions[bot] commented 5 months ago

Stale issue message