[Opm] Help with installation

Alf Birger Rustad abir at statoil.com
Wed Aug 2 17:07:10 UTC 2017


I am a bit blindfolded I am afraid, but it looks similar to the issues we have had with Boost lately.

Cheers,
Alf

________________________________
Fra: Opm <opm-bounces at opm-project.org> på vegne av Andres Codas Duarte <andrescodas at br.ibm.com>
Sendt: 2. august 2017 18:27:09
Kopi: opm at opm-project.org
Emne: Re: [Opm] Help with installation

Dear Alf,

   Dune seems to be compiling correctly.  I'm having issues when executing cmake for opm-core, with the following output (I sent the corresponding CMakeErrog.log before):

CMake Error at /usr/local/Cellar/cmake/3.9.0/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
  Could NOT find opm-grid (missing: HAVE_OPM_GRID)
Call Stack (most recent call first):
  /usr/local/Cellar/cmake/3.9.0/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:377 (_FPHSA_FAILURE_MESSAGE)
  /Users/codas/local/share/opm/cmake/Modules/OpmPackage.cmake:368 (find_package_handle_standard_args)
  /Users/codas/local/share/opm/cmake/Modules/Findopm-grid.cmake:15 (find_opm_package)
  /Users/codas/local/share/opm/cmake/Modules/OpmFind.cmake:147 (find_package)
  /Users/codas/local/share/opm/cmake/Modules/OpmFind.cmake:211 (find_and_append_package_to)
  /Users/codas/local/share/opm/cmake/Modules/OpmLibMain.cmake:116 (find_and_append_package_list_to)
  CMakeLists.txt:158 (include)

-- Configuring incomplete, errors occurred!

    Note that opm-grid was previously successfully installed.

    Are you suggesting that the error is on Dune?

    Andres

----- Original message -----
From: Alf Birger Rustad <abir at statoil.com>
To: Andres Codas Duarte <andrescodas at br.ibm.com>
Cc: "opm at opm-project.org" <opm at opm-project.org>
Subject: SV: [Opm] Help with installation
Date: Wed, Aug 2, 2017 1:17 PM

Then I am afraid I am not of much more help, I have no access to OSX. The most popular Linux distros have Dune packaged for you.

Cheers,
Alf

________________________________
Fra: Opm <opm-bounces at opm-project.org> på vegne av Andres Codas Duarte <andrescodas at br.ibm.com>
Sendt: 2. august 2017 18:11:40
Kopi: opm at opm-project.org
Emne: Re: [Opm] Help with installation

I'm on a MacOS Sierra (version 10.12.6).


----- Original message -----
From: Alf Birger Rustad <abir at statoil.com>
To: Andres Codas Duarte <andrescodas at br.ibm.com>
Cc: "opm at opm-project.org" <opm at opm-project.org>
Subject: SV: [Opm] Help with installation
Date: Wed, Aug 2, 2017 12:42 PM

Hi Andres,

Dune 2.4.1 was used with rc1, but 2.3.1 should also work fine. Any other version may be problematic. I am on vacation, so a bit limited abilities to help you. Still, what distribution are you building on?

Cheers,
Alf
________________________________
Fra: Opm <opm-bounces at opm-project.org> på vegne av Andres Codas Duarte <andrescodas at br.ibm.com>
Sendt: 2. august 2017 16:32:24
Kopi: opm at opm-project.org
Emne: Re: [Opm] Help with installation

Hi Atgeirr,

   Thank you!.

   What version of Dune should I use together with "testing/2017.06/rc1"?  I checkout on version 2.4 and I got the following error when building opm-core:

"
In file included from /Users/codas/opm/opm-core/build/CMakeFiles/CMakeTmp/src.cxx:1:
In file included from /Users/codas/opm/opm-grid/dune/grid/CpGrid.hpp:62:
In file included from /Users/codas/opm/opm-grid/dune/grid/cpgrid/Intersection.hpp:52:
/Users/codas/opm/opm-grid/dune/grid/cpgrid/Geometry.hpp:48:10: fatal error: 'dune/geometry/genericgeometry/geometrytraits.hh' file not found
#include <dune/geometry/genericgeometry/geometrytraits.hh>
"

    The full CMakeError.log is attached

    I realized that there could be a misunderstanding in the version because the files for pkgconfig "dune-*.pc" say the version is "Version: 2.5.2-git" while I made sure to checkout on "releases/2.4" when installing.

     I'm confused, how do you recommend to proceed?.  I just want to install on a recent version from sources so I can debug the code.

     Thanks
     Andres

----- Original message -----
From: Atgeirr Rasmussen <Atgeirr.Rasmussen at sintef.no>
Sent by: "Opm" <opm-bounces at opm-project.org>
To: OPM Mailing List <opm at opm-project.org>
Cc:
Subject: Re: [Opm] Help with installation
Date: Wed, Aug 2, 2017 4:23 AM


Hello Andres!

I checked-out on 63b7cf6febf3f41e59b8803c06994e12a550c46a (which is earlier than the one above), and continued with a successful installation.

Good to hear!


I realized that you are pushing new commits every few hours to the master branch of all the opm-modules.  I guess these are not all properly unit-tested?  How should I proceed to compile a 'stable' executable?

Currently we only make stable releases every six months, as you know. In general, new commits are not accepted without testing. We use Jenkins at https://ci.opm-project.org to verify every pull request before it is merged, and as a rule patches are also reviewed before they are accepted. Inevitably, things go wrong once in a while, but the master branches are in a good state *almost* all the time.

Recently, some extra testing was performed on a particular version (more recent than the April release), and the repositories were tagged to make it easy to reproduce that version. If you check out the tag "testing/2017.06/rc1" across all repositories you should get that version, which is quite well tested.

If you want to stay current with ongoing development there is no way around using the master branches however.

Atgeirr

_______________________________________________
Opm mailing list
Opm at opm-project.org
http://opm-project.org/cgi-bin/mailman/listinfo/opm



-------------------------------------------------------------------
The information contained in this message may be CONFIDENTIAL and is
intended for the addressee only. Any unauthorized use, dissemination of the
information or copying of this message is prohibited. If you are not the
addressee, please notify the sender immediately by return e-mail and delete
this message.
Thank you



-------------------------------------------------------------------
The information contained in this message may be CONFIDENTIAL and is
intended for the addressee only. Any unauthorized use, dissemination of the
information or copying of this message is prohibited. If you are not the
addressee, please notify the sender immediately by return e-mail and delete
this message.
Thank you




-------------------------------------------------------------------
The information contained in this message may be CONFIDENTIAL and is
intended for the addressee only. Any unauthorized use, dissemination of the
information or copying of this message is prohibited. If you are not the
addressee, please notify the sender immediately by return e-mail and delete
this message.
Thank you
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <//opm-project.org/pipermail/opm/attachments/20170802/21ac0405/attachment.html>


More information about the Opm mailing list