[Dune] Error when compiling dune-grid with Intel's icpc 11.1
Martin Nolte
nolte at mathematik.uni-freiburg.de
Fri Sep 4 16:07:20 CEST 2009
Hi Leonard,
I was able to reproduce your error. Unfortunately, I have no idea what it
means. It seems to be an internal error in the intel compiler. If someone
tells me what it means, I will try my best to avoid it.
Cheers,
Martin
Leonard Kern wrote:
> Hello dune team!
>
> I'm currently trying to get dune and Intel's compilers to work together.
> Unfortunately, compiling dune-grid like this
>
> > dune-common/bin/dunecontrol --opts=intelnompi.opts --module=dune-grid
> all
>
> gives an error:
> /bin/sh ../../../../libtool --tag=CXX --mode=compile icpc -std=c++0x
> -DHAVE_CONFIG_H -I. -I../../../.. -DHX_HAS_STDIOSTREAM
> -I/home/kern/dune/dune-common -I/home/kern/dune/extlib/include
> -I/home/kern/dune/extlib/include -I/home/kern/dune/extlib/include/serial
> -I/home/kern/dune/extlib/include/duneinterface -DENABLE_ALUGRID
> -I/home/kern/dune/extlib/include/parallel -DHX_HAS_STDIOSTREAM
> -I/home/kern/dune/extlib/include/amiramesh -DHX_HAS_STDIOSTREAM -MT
> dgfparserblocks.lo -MD -MP -MF .deps/dgfparserblocks.Tpo -c -o
> dgfparserblocks.lo dgfparserblocks.cc
> libtool: compile: icpc -std=c++0x -DHAVE_CONFIG_H -I. -I../../../..
> -DHX_HAS_STDIOSTREAM -I/home/kern/dune/dune-common
> -I/home/kern/dune/extlib/include -I/home/kern/dune/extlib/include
> -I/home/kern/dune/extlib/include/serial
> -I/home/kern/dune/extlib/include/duneinterface -DENABLE_ALUGRID
> -I/home/kern/dune/extlib/include/parallel -DHX_HAS_STDIOSTREAM
> -I/home/kern/dune/extlib/include/amiramesh -DHX_HAS_STDIOSTREAM -MT
> dgfparserblocks.lo -MD -MP -MF .deps/dgfparserblocks.Tpo -c
> dgfparserblocks.cc -o dgfparserblocks.o
> ../../../../dune/grid/genericgeometry/hybridmapping.hh(136): internal
> error: assertion failed at: "shared/edgcpfe/expr.c", line 17885
>
> return trace( codimVariable, i );
> ^
>
> compilation aborted for dgfparserblocks.cc (code 4)
> make[6]: *** [dgfparserblocks.lo] Fehler 1
> make[6]: Leaving directory
> `/home/kern/dune/dune-grid/grid/io/file/dgfparser'
> make[5]: *** [all-recursive] Fehler 1
> make[5]: Leaving directory
> `/home/kern/dune/dune-grid/grid/io/file/dgfparser'
> make[4]: *** [all-recursive] Fehler 1
> make[4]: Leaving directory `/home/kern/dune/dune-grid/grid/io/file'
> make[3]: *** [all-recursive] Fehler 1
> make[3]: Leaving directory `/home/kern/dune/dune-grid/grid/io'
> make[2]: *** [all-recursive] Fehler 1
> make[2]: Leaving directory `/home/kern/dune/dune-grid/grid'
> make[1]: *** [all-recursive] Fehler 1
> make[1]: Leaving directory `/home/kern/dune/dune-grid'
> make: *** [all] Fehler 2
> --- Failed to build dune-grid ---
> Execution of dunecontrol terminated due to errors!
>
> (full output and intelnompi.opts are attached)
>
> Trying the same with gcc etc. works perfectly well. From what I read
> online, there may be some differences in how icpc and g++ interpret the
> c++ standard. As I'm not entirely sure whether this is a bug or a
> misconfiguration on my part, I'm posting this here instead of in flyspray.
>
> I'd be grateful for any tips/insights/possible solutions.
>
> Leonard Kern.
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Dune mailing list
> Dune at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune
--
Martin Nolte <nolte at mathematik.uni-freiburg.de>
Universität Freiburg phone: +49-761-203-5642
Abteilung für angewandte Mathematik fax: +49-761-203-5632
Hermann-Herder-Straße 10
79104 Freiburg, Germany
More information about the Dune
mailing list