[Dune] Dune-cornerpoint migration to Windows

Carsten Gräser graeser at math.fu-berlin.de
Tue Mar 29 14:38:23 CEST 2011


Hello,
this seems to be specific to dune-cornerpoint. Since this
is not one of the dune core modules it's perhaps best to
contact the developers directly. The OPM homepage
(http://www.sintef.no/Projectweb/GeoScale/Simulators/)
mentions Atgeirr Flø Rasmussen as contact person.

Regards,
Carsten



Am 29.03.2011 14:26, schrieb Guillermo Montilla:
> Dear Dune subscribers;
> 
> I am writing to request your support, which I will appreciate greatly.
> I'm migrating dune-cornerpoint to Visual C++ (Microsoft Windows), using the
> version of the following link
> https://public.ict.sintef.no/openrs/svn/trunk/dune-cornerpoint/common/
> 
> I have separated the work of migration in two phases:
> 
> 1. GRDECL Parser
> 2. Grid building
> 
> The first phase works great.
> 
> In the second phase I have encountered a compiler error within buildTopo()
> function, located in the file readEclipseFormat.cpp
> 
> The error occurs when calling the function makeInverseRelation(), there are
> two calls to this function.
> 
> This error produces the following compiler reports (twice)
> 
> Error C2664: 'std::allocator<_Ty>::construct' :
> Cannot convert parameter 2 from 'int' to 'const
> Dune::cpgrid::EntityRep<codim> &'
> File : C:\Program Files\Microsoft Visual Studio 8\VC\include\memory
> Line : 130
> 
> Error C2679: binary '='
> No operator found which takes a right-hand operand of type 'int' (or there
> is no acceptable conversion)
> File : C:\Program Files\Microsoft Visual Studio 8\VC\include\xutility
> Line : 2266
> 
> Analyzing the error I have found that comes from the line 70 of
> SparceTable.h, which contains the following code
>             : data_(data_beg, data_end)
> 
> When I remove this line of code the compiler errors disappear.
> 
> I greatly appreciate if you can give me any suggestions to correct this
> error.
> Guillermo Montilla, Ph.D.
> University of Carabobo
> Venezuela

-- 
----------------------------------------------------------------------
Carsten Gräser           | phone: +49-30 / 838-75349
Freie Universität Berlin | fax  : +49-30 / 838-54977
Institut für Mathematik  | email: graeser at math.fu-berlin.de
Arnimallee 6             |
14195 Berlin, Germany    | URL  : http://page.mi.fu-berlin.de/graeser
----------------------------------------------------------------------




More information about the Dune mailing list