Dear Felix,

I never tried to combine Dumux version 2.12 with cornerpoint grids. However, 
for previous versions of Dumux I had similar problems. I always solved the 
problem by trying other versions of DUNE and/or OPM. Also the version of cmake 
and the C++ compiler seems to be important. Newer versions resulted sometimes 
in compiling errors.


Regards Birger

________________________________
Von: Dumux <[email protected]> im Auftrag von Martin 
Schneider <[email protected]>
Gesendet: Dienstag, 23. Oktober 2018 16:51:51
An: DuMuX User Forum; Felix Feldmann
Betreff: Re: [DuMuX] Dumux 2.12.0, dune 2.6.0 and opm 2017.10 compatibility

Dear Felix,

probably the array<int,8> should be replaced by std::array<int,8>.
However, I would recommend you to use the opm release 2017.04 and ert by 
installing it using the
installexternal.sh script from the dumux 2.12 release:
https://git.iws.uni-stuttgart.de/dumux-repositories/dumux/blob/releases/2.12/bin/installexternal.sh

You should also think about using the Dumux master branch (which will be 
released soon)
which works with the opm 2018.04 release.

I hope this helps. Best regards,
Martin

On 10/23/2018 12:53 PM, Felix Feldmann wrote:
Dear All,

I am currently running some 2D simulations using Dumux 2.12.0 and Dune 2.6.0. 
However, I would like to additionally compute cornerpoint (“petrel grids”) 
problems.
According to 
https://git.iws.uni-stuttgart.de/dumux-repositories/dumux/blob/master/CHANGELOG.md,
 this should be possible by combining Dumux 2.12.0, Dune 2.6.0 as well as OPM 
2017.10.
Dumux 2.12.0 and Dune 2.6.0 are running fine, while the OPM installation is 
causing problems: Considering the OPM hierarchy, I am able to successfully 
install the first three OPM modules:

1)      Libecl

2)      Opm-common

3)      Opm-material


However, as I try to add opm-grid, I do receive an error message (the shortened 
message is listed below). Do you think, that Dumux 2.12.0, Dune 2.6.0 and Opm 
2017.10 are compatible? Did you experience similar problems during the 
installation of Dumux, Dune and Opm-grid (former cornerpoint)?

Best regards,
Felix
Felix Feldmann
Research Assistant
[cid:[email protected]]
SAN Campus
P O Box 2533, Petroleum Institute
Abu Dhabi, UAE
M +971 565624402
[email protected]<mailto:[email protected]>

--------------------------------------------------------------------------------------------------------------
/home/felix/workspace/dune/opm-grid-release-2017.10/dune/grid/cpgrid/CpGridData.hpp:347:29:
 error: template argument 1 is invalid
     std::vector< array<int,8> >       cell_to_point_;
                             ^
/home/felix/workspace/dune/opm-grid-release-2017.10/dune/grid/cpgrid/CpGridData.hpp:347:29:
 error: template argument 2 is invalid
/home/felix/workspace/dune/opm-grid-release-2017.10/dune/grid/cpgrid/CpGridData.hpp:347:31:
 error: expected unqualified-id before ‘>’ token
     std::vector< array<int,8> >       cell_to_point_;




_______________________________________________
Dumux mailing list
[email protected]<mailto:[email protected]>
https://listserv.uni-stuttgart.de/mailman/listinfo/dumux



--
M.Sc. Martin Schneider
University of Stuttgart
Institute for Modelling Hydraulic and Environmental Systems
Department of Hydromechanics and Modelling of Hydrosystems
Pfaffenwaldring 61
D-70569 Stuttgart
Tel: (+49) 0711/ 685-69159
Fax: (+49) 0711/ 685-60430
E-Mail: 
[email protected]<mailto:[email protected]>
_______________________________________________
Dumux mailing list
[email protected]
https://listserv.uni-stuttgart.de/mailman/listinfo/dumux

Reply via email to