OPM / opm-grid

DUNE module supporting grids in a corner-point format
http://www.opm-project.org
GNU General Public License v3.0
18 stars 75 forks source link

Error in building opm-grid #269

Closed kudhru closed 7 years ago

kudhru commented 7 years ago

Hi

I am getting the following error while trying to build opm-grid from scratch. It is related to #243 but cannot figure out where am I going wrong.

**loading initial cache file ../../options.cmake
-- CMake version: 3.7.2
-- Mac OS X version: 10.12.2 (16C67)
-- Target architecture: x86_64
-- Source code repository: git f81cd33
-- Linker: @(#)PROGRAM:ld  PROJECT:ld64-274.1
configured to support archs: armv6 armv7 armv7s arm64 i386 x86_64 x86_64h armv6m armv7k armv7m armv7em (tvOS)
LTO support using: LLVM version 8.0.0, (clang-800.0.38)
TAPI support using: Apple TAPI version 1.30
-- Precompiled headers: disabled
-- Build type: Debug
-- All warnings enabled: -Wall
-- OpenMP: disabled
-- Finding package C99 using module mode
-- Finding package CXX11Features using module mode
-- Finding package Boost using module mode
-- Boost version: 1.63.0
-- Found the following Boost libraries:
--   date_time
--   filesystem
--   system
--   unit_test_framework
-- Finding package MPI using module mode
-- Finding package dune-common using module mode
-- Finding package BLAS using module mode
-- A library with BLAS API found.
-- Finding package LAPACK using module mode
-- A library with BLAS API found.
-- A library with LAPACK API found.
-- Finding package CxaDemangle using module mode
-- Could NOT find CxaDemangle (missing:  HAVE_CXA_DEMANGLE) 
-- Version 2.3.1 of dune-common from /usr/local/Cellar/dune-common/2.3.1/lib/dunecontrol/dune-common/dune.module
-- Finding package dune-grid using module mode
-- Finding package dune-geometry using module mode
CMake Error at /usr/local/Cellar/cmake/3.7.2/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:138 (message):
  Could NOT find dune-geometry (missing: HAVE_DUNE_GEOMETRY)
Call Stack (most recent call first):
  /usr/local/Cellar/cmake/3.7.2/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
  /Users/AkhilaRasamrtaMurthih/Documents/partTime/reserMine/setup/opm-common/cmake/Modules/OpmPackage.cmake:368 (find_package_handle_standard_args)
  /Users/AkhilaRasamrtaMurthih/Documents/partTime/reserMine/setup/opm-common/cmake/Modules/Finddune-geometry.cmake:14 (find_opm_package)
  /Users/AkhilaRasamrtaMurthih/Documents/partTime/reserMine/setup/opm-common/cmake/Modules/OpmFind.cmake:147 (find_package)
  /Users/AkhilaRasamrtaMurthih/Documents/partTime/reserMine/setup/opm-common/cmake/Modules/OpmPackage.cmake:279 (find_and_append_package_to)
  /Users/AkhilaRasamrtaMurthih/Documents/partTime/reserMine/setup/opm-common/cmake/Modules/Finddune-grid.cmake:17 (find_opm_package)
  /Users/AkhilaRasamrtaMurthih/Documents/partTime/reserMine/setup/opm-common/cmake/Modules/OpmFind.cmake:147 (find_package)
  /Users/AkhilaRasamrtaMurthih/Documents/partTime/reserMine/setup/opm-common/cmake/Modules/OpmFind.cmake:211 (find_and_append_package_to)
  /Users/AkhilaRasamrtaMurthih/Documents/partTime/reserMine/setup/opm-common/cmake/Modules/OpmLibMain.cmake:112 (find_and_append_package_list_to)
  CMakeLists.txt:109 (include)

-- Configuring incomplete, errors occurred!**

I am sure I have dune-geometry package installed on my machine.

atgeirr commented 7 years ago

I am sure I have dune-geometry package installed on my machine.

How did you install Dune (binary package or compiled yourself), and what are the procedures you have followed for installing OPM?

kudhru commented 7 years ago

I followed the instructions on the following link for installing OPM: http://opm-project.org/?page_id=231

And installed Dune using the binary package by following the instructions on the following website: https://www.dune-project.org/homebrew/

kudhru commented 7 years ago

Really sorry for bugging unnecessarily. The build completed successfully after I cleaned the CMakeFiles cache. I may have been doing something wrong previously. Thanks for replying back!

atgeirr commented 7 years ago

Really sorry for bugging unnecessarily. The build completed successfully after I cleaned the CMakeFiles cache. I may have been doing something wrong previously. Thanks for replying back!

That's ok, good that you figured it out!