HyPhy message board
http://www.hyphy.org/cgi-bin/hyphy_forums/YaBB.pl
HYPHY Package >> HyPhy feedback >> Installation problem (OpenMP flag)
http://www.hyphy.org/cgi-bin/hyphy_forums/YaBB.pl?num=1395090267

Message started by Eduardo Amorim on Mar 17th, 2014 at 2:04pm

Title: Installation problem (OpenMP flag)
Post by Eduardo Amorim on Mar 17th, 2014 at 2:04pm
I've seen this problem before in other posts and tried to do what was suggested then, but unfortunately nothing worked.

I try to compile HyPhy in my Mac with

cmake ./

And I have error messages such as:

-- Try OpenMP CXX flag = [-qsmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP CXX flag = [-mp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Could NOT find OpenMP (missing:  OpenMP_C_FLAGS OpenMP_CXX_FLAGS)
-- Could NOT find MPI_C (missing:  MPI_C_LIBRARIES MPI_C_INCLUDE_PATH)
-- Could NOT find MPI_CXX (missing:  MPI_CXX_LIBRARIES MPI_CXX_INCLUDE_PATH)
-- Found unsuitable Qt version "" from NOTFOUND
-- Configuring done
WARNING: Target "hyphy_mp" has EXCLUDE_FROM_ALL set and will not be built by default but an install rule has been provided for it.  CMake does not define behavior for this case.
WARNING: Target "HYPHYMP" has EXCLUDE_FROM_ALL set and will not be built by default but an install rule has been provided for it.  CMake does not define behavior for this case.
WARNING: Target "HYPHYOCL" has EXCLUDE_FROM_ALL set and will not be built by default but an install rule has been provided for it.  CMake does not define behavior for this case.
WARNING: Target "HYPHYDEBUG" has EXCLUDE_FROM_ALL set and will not be built by default but an install rule has been provided for it.  CMake does not define behavior for this case.
-- Generating done
-- Build files have been written to: /Users/eduardo/Downloads/hyphy-master

If I try

make HYPHYMP

or

make MP2

I get something like:

dyn-128-59-46-54:hyphy-master eduardo$ make MP2
[  0%] Building CXX object CMakeFiles/HYPHYMP.dir/src/core/_hyExecutionContext.cpp.o
In file included from /Users/eduardo/Downloads/hyphy-master/src/core/_hyExecutionContext.cpp:31:
In file included from /Users/eduardo/Downloads/hyphy-master/src/core/include/variablecontainer.h:43:
In file included from /Users/eduardo/Downloads/hyphy-master/src/core/include/variable.h:48:
/Users/eduardo/Downloads/hyphy-master/src/core/include/formula.h:98:25: error: friend declaration specifying a
      default argument must be a definition
    friend  long        Parse               (_Formula*, _String&, _FormulaParsingContext&, _Formula* = nil);
                        ^
/Users/eduardo/Downloads/hyphy-master/src/core/include/formula.h:101:25: error: friend declaration specifying a
      default argument must be a definition
    friend  long        ExecuteFormula      (_Formula*, _Formula*, long, long, _VariableContainer* = ni...
                        ^
2 errors generated.
make[3]: *** [CMakeFiles/HYPHYMP.dir/src/core/_hyExecutionContext.cpp.o] Error 1
make[2]: *** [CMakeFiles/HYPHYMP.dir/all] Error 2
make[1]: *** [CMakeFiles/MP2.dir/rule] Error 2
make: *** [MP2] Error 2

What am I doing wrong? How could I solve this problem?

Thanks,

Eduardo

Title: Re: Installation problem (OpenMP flag)
Post by fawe on Apr 25th, 2014 at 6:03am
Hi,

I just want to put forward my interest in a solution to this as I'm currently encountering exactly the same problem.

Many thanks,
Fanny

Title: Re: Installation problem (OpenMP flag)
Post by Sergei on Apr 25th, 2014 at 10:42am
Hi Fanny and Eduardo,

The issue should have been resolved with this Multimedia File Viewing and Clickable Links are available for Registered Members only!!  You need to Login Login commit on April 16th.

Sergei

HyPhy message board » Powered by YaBB 2.5.2!
YaBB Forum Software © 2000-2024. All Rights Reserved.