Welcome, Guest. Please Login
YaBB - Yet another Bulletin Board
 
  HomeHelpSearchLogin  
 
Installation problem (OpenMP flag) (Read 3844 times)
Eduardo Amorim
YaBB Newbies
*
Offline


Curious HyPhy user

Posts: 1
Installation problem (OpenMP flag)
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
Back to top
 
 
IP Logged
 
fawe
YaBB Newbies
*
Offline


Curious HyPhy user

Posts: 1
Re: Installation problem (OpenMP flag)
Reply #1 - 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
Back to top
 
 
IP Logged
 
Sergei
YaBB Administrator
*****
Offline


Datamonkeys are forever...

Posts: 1658
UCSD
Gender: male
Re: Installation problem (OpenMP flag)
Reply #2 - 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
Back to top
 

Associate Professor
Division of Infectious Diseases
Division of Biomedical Informatics
School of Medicine
University of California San Diego
WWW WWW  
IP Logged