Skip to content

Instantly share code, notes, and snippets.

@anshumang
Created August 18, 2015 16:16
Show Gist options
  • Save anshumang/f4f3eca1b91e65f8a31f to your computer and use it in GitHub Desktop.
Save anshumang/f4f3eca1b91e65f8a31f to your computer and use it in GitHub Desktop.
cmake CMakeLists.txt
-- The C compiler identification is GNU 4.8.2
-- The CXX compiler identification is GNU 4.8.2
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found CUDA: /usr/local/cuda (found version "7.0")
-- Boost version: 1.54.0
-- Found the following Boost libraries:
-- system
-- filesystem
-- timer
-- chrono
-- Try OpenMP C flag = [-fopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Success
-- Try OpenMP CXX flag = [-fopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Success
CMake Error: Error in cmake code at
/opt/data2/anshuman/gunrock-repos/gunrock-0.3/cmake/FindPackageHandleStandardArgs.cmake:3:
Parse error. Expected "(", got newline with text "
".
CMake Error at cmake/FindOpenMP.cmake:229 (include):
include could not find load file:
/opt/data2/anshuman/gunrock-repos/gunrock-0.3/cmake/FindPackageHandleStandardArgs.cmake
Call Stack (most recent call first):
CMakeLists.txt:33 (find_package)
-- Found OpenMP: -fopenmp
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
METIS_LIBRARY
linked by target "gunrock" in directory /opt/data2/anshuman/gunrock-repos/gunrock-0.3/gunrock
linked by target "betweenness_centrality" in directory /opt/data2/anshuman/gunrock-repos/gunrock-0.3/tests/bc
linked by target "breadth_first_search" in directory /opt/data2/anshuman/gunrock-repos/gunrock-0.3/tests/bfs
linked by target "connected_component" in directory /opt/data2/anshuman/gunrock-repos/gunrock-0.3/tests/cc
linked by target "pagerank" in directory /opt/data2/anshuman/gunrock-repos/gunrock-0.3/tests/pr
linked by target "single_source_shortest_path" in directory /opt/data2/anshuman/gunrock-repos/gunrock-0.3/tests/sssp
linked by target "direction_optimizing_bfs" in directory /opt/data2/anshuman/gunrock-repos/gunrock-0.3/tests/dobfs
linked by target "HITS" in directory /opt/data2/anshuman/gunrock-repos/gunrock-0.3/tests/hits
linked by target "SALSA" in directory /opt/data2/anshuman/gunrock-repos/gunrock-0.3/tests/salsa
linked by target "minimum_spanning_tree" in directory /opt/data2/anshuman/gunrock-repos/gunrock-0.3/tests/mst
linked by target "who_to_follow" in directory /opt/data2/anshuman/gunrock-repos/gunrock-0.3/tests/wtf
linked by target "degree_centrality" in directory /opt/data2/anshuman/gunrock-repos/gunrock-0.3/tests/topk
-- Configuring incomplete, errors occurred!
See also "/opt/data2/anshuman/gunrock-repos/gunrock-0.3/CMakeFiles/CMakeOutput.log".
@1duo
Copy link

1duo commented Aug 24, 2015

METIS_LIBRARY needs to be manually installed.

@CinderaLuo
Copy link

I met the same problem,so could you tell me how to install METIS_LIBRARY?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment