[Dune] Error building dune-istl: #if with no expression

Lars Vingli Odsæter LAODS at statoil.com
Mon Jul 9 09:42:49 CEST 2012


Hi,

Thanks for all help, but I still can't make it work. I have now checked out the trunk both for dune-common and dune-istl, and run dunecontrol. These are my exact commands:

$ svn co https://svn.dune-project.org/svn/dune-common/trunk dune-common
$ svn co https://svn.dune-project.org/svn/dune-istl/trunk dune-istl
$ nice dune-common/bin/dunecontrol --module=dune-istl --opts=config.opts all 2>&1 | tee build_common_istl.log

My config-file looks like this:
------------------------------------------------------------------
## REMEMBER!
## export LD_LIBRARY_PATH=/project/res/x86_64_RH_5/share/opm/boost/lib/
CONFIGURE_FLAGS="--disable-mpiruntest \
       --disable-documentation \
       --disable-expressiontemplates \
       --enable-dunedevel --enable-old-numbering \
       CXX='g++' CC='gcc' F77='gfortran' \
       CXXFLAGS=\"-DNOOUTPUT -O3 -DNDEBUG -Wall -g  \" \
       CFLAGS=\"-DNOOUTPUT -O3 -DNDEBUG -Wall -g \" \
       --with-boost=/project/res/x86_64_RH_5/share/opm/boost \
       --with-boost-libdir=/project/res/x86_64_RH_5/share/opm/boost/lib \
       --with-superlu=/project/res/x86_64_RH_5/share/opm/SuperLU_4.0/ \
       --with-superlu-lib=libsuperlu_4.0.a"

MAKE_FLAGS="-j 6 all"
------------------------------------------------------------------

The output to the terminal is attached (build_common_istl.log).
Compared to last time (when I used the stable 2.2 release), there also seems to be some linking problem, as some files are not found, i.e.,

In file included from example.cc:15:
../../../dune/istl/istlexception.hh:4:37: error: dune/common/exceptions.hh: No such file or directory

My original problem (#if with no expression) is still there. I am quite new to this game, and not so experienced with debugging.

Lars

________________________________________
From: Christian Engwer [christian.engwer at uni-muenster.de]
Sent: Friday, July 06, 2012 5:33 PM
To: Bård Skaflestad
Cc: Lars Vingli Odsæter; dune at dune-project.org
Subject: Re: [Dune] Error building dune-istl: #if with no expression

Hi,


I had a look at Bards patch and applied it to the trunk... should work
now.

Christian

On Fri, Jul 06, 2012 at 01:28:58PM +0200, Bård Skaflestad wrote:
> On Fri, 2012-07-06 at 13:09 +0200, Lars Vingli Odsæter wrote:
> > Hello.
> >
> > I am working on the OPM Project, which depends on dune-istl. I have successfully built dune-common, but when I try to build dune-istl (with dunecontrol all) I get the following error message:
> >
> > In file included from ../../../dune/istl/gsetc.hh:11,
> >                  from example.cc:23:
> > ../../../dune/istl/multitypeblockvector.hh:4:15: error: #if with no expression
>
> [etc]
>
> See FlySpray issue 1145
> (http://www.dune-project.org/flyspray/index.php?do=details&task_id=1145)
>
> You may want to stick to using
>
>       * dune-common at 6479
>       * dune-istl at 1491 (especially)
>       * dune-grid at 7672 (possibly)
>
>
> Sincerely,
> --
> Bård Skaflestad <Bard.Skaflestad at sintef.no>
> SINTEF ICT, Applied Mathematics
>
>
> _______________________________________________
> Dune mailing list
> Dune at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune

--
Prof. Dr. Christian Engwer
Institut für Numerische und Angewandte Mathematik
Fachbereich Mathematik und Informatik der Universität Münster
Einsteinstrasse 62
48149 Münster

E-Mail  christian.engwer at uni-muenster.de
Telefon +49 251 83-35067
FAX             +49 251 83-32729

-------------------------------------------------------------------
The information contained in this message may be CONFIDENTIAL and is
intended for the addressee only. Any unauthorised 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




More information about the Dune mailing list