Hi,
 
  I finally managed to install flow and successfully tested it with SPE1CASE1.DATA . Thank you very much for your help. The main issue was with Dune, as my git repository was broken for some unknown reason. I cloned it again and then worked.
 
  I followed the instructions from opm-project.org/?page_id=231 with some exceptions that I would like to share with you
 
-- In the pre-requisites
- I used DUNEVERSION=2.4 and set CMAKE_FLAGS="-DCMAKE_INSTALL_PREFIX='~/local/'" in the installing script for Dune.
- I set PKG_CONFIG_PATH with export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$HOME/local/lib/pkgconfig/
- I ran ./dune-common/bin/dunecontrol make install all
- For SuperLU I followed the instructions from https://www.dune-project.org/doc/install-superlu/ and installed version 4.3. I set the environment variable SUPERLU_ROOT to specify the installation location. Observe that the latest SuperLu is not supported, and the instructions you provide to install SuperLu with brew do not work
 
-- For each OPM module
- I checked out on "testing/2017.06/rc1" except for opm-upscaling which doesn't have this tag.  I did not install opm-upscaling.
- I configured with cmake .. -DCMAKE_INSTALL_PREFIX=~/local/ -DCMAKE_BUILD_TYPE=Debug in sub-directory called build
 
   Cheers!
   Andres
 
Fra: Opm <[email protected]> på vegne av Andres Codas Duarte <[email protected]>
Sendt: 2. august 2017 18:27:09
Kopi: [email protected]
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 <[email protected]>
To: Andres Codas Duarte <[email protected]>
Cc: "[email protected]" <[email protected]>
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 <[email protected]> på vegne av Andres Codas Duarte <[email protected]>
Sendt: 2. august 2017 18:11:40
Kopi: [email protected]
Emne: Re: [Opm] Help with installation
 
I'm on a MacOS Sierra (version 10.12.6).
 
 
----- Original message -----
From: Alf Birger Rustad <[email protected]>
To: Andres Codas Duarte <[email protected]>
Cc: "[email protected]" <[email protected]>
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 <[email protected]> på vegne av Andres Codas Duarte <[email protected]>
Sendt: 2. august 2017 16:32:24
Kopi: [email protected]
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 <[email protected]>
Sent by: "Opm" <[email protected]>
To: OPM Mailing List <[email protected]>
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
[email protected]
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
 

_______________________________________________
Opm mailing list
[email protected]
http://opm-project.org/cgi-bin/mailman/listinfo/opm

Reply via email to