[Dune] Error when compiling dune-grid with Intel's icpc 11.1

Leonard Kern kern at math.hu-berlin.de
Fri Sep 4 14:34:16 CEST 2009


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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: icpc_problems.zip
Type: application/zip
Size: 8652 bytes
Desc: not available
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20090904/f27a6de9/attachment.zip>


More information about the Dune mailing list