[Dune] Error when compiling dune-grid with Intel's icpc 11.1
Jö Fahlke
jorrit at jorrit.de
Fri Sep 11 09:53:41 CEST 2009
Am Thu, 10. Sep 2009, 23:13:21 +0200 schrieb Leonard Kern:
> I'm delighted. As far as I can tell, the workaround does indeed work
> its way around the bug. dune-common and dune-grid are compiled with
> zero (0) errors! However, there're still a few warnings of which I
> don't know whether they're icpc-related or minor issues in the code.
> FYI there is a full output of the build attached (using revisions
> 5571 and 5359, respectively).
There doesn't seem to be anything specific to icc:
> grep: *.aux: Datei oder Verzeichnis nicht gefunden
> TEXINPUTS=.:.:: dvipdf buildsystem
> /usr/bin/dvipdf: line 47: exec: dvips: not found
That looks like a misconfiguration of your system -- dvipdf is installed, but
dvips is not, and dvipdf requires dvips.
Then there are the usual warnings from the autotools.
The rest looks like deprecation warnings in onedgrid:
> Making all in onedgrid
> make[3]: Entering directory `/home/kern/iccbug/dune-grid/grid/onedgrid'
> /bin/sh ../../libtool --tag=CXX --mode=compile icpc -std=c++0x -DHAVE_CONFIG_H -I. -I../.. -I/home/kern/iccbug/dune-common -I../.. -DHX_HAS_STDIOSTREAM -I../libamiramesh-Linux/include/amiramesh -DHX_HAS_STDIOSTREAM -MT onedgrid.lo -MD -MP -MF .deps/onedgrid.Tpo -c -o onedgrid.lo onedgrid.cc
> libtool: compile: icpc -std=c++0x -DHAVE_CONFIG_H -I. -I../.. -I/home/kern/iccbug/dune-common -I../.. -DHX_HAS_STDIOSTREAM -I../libamiramesh-Linux/include/amiramesh -DHX_HAS_STDIOSTREAM -MT onedgrid.lo -MD -MP -MF .deps/onedgrid.Tpo -c onedgrid.cc -o onedgrid.o
> onedgrid.cc(397): warning #1478: function "Dune::OneDGridList<T>::insert(T *, T *) [with T=Dune::OneDEntityImp<0>]" (declared at line 182 of "../onedgrid/onedgridlist.hh") was declared "deprecated"
> vertices(i+1).insert(leftNeighbor->sons_[1]->vertex_[1]->succ_, leftUpperVertex);
> ^
>
> onedgrid.cc(401): warning #1478: function "Dune::OneDGridList<T>::insert(T *, T *) [with T=Dune::OneDEntityImp<0>]" (declared at line 182 of "../onedgrid/onedgridlist.hh") was declared "deprecated"
> vertices(i+1).insert(vertices(i+1).begin(), leftUpperVertex);
> ^
>
> onedgrid.cc(411): warning #1478: function "Dune::OneDGridList<T>::insert(T *, T *) [with T=Dune::OneDEntityImp<0>]" (declared at line 182 of "../onedgrid/onedgridlist.hh") was declared "deprecated"
> vertices(i+1).insert(centerVertexIterator->succ_, rightUpperVertex);
> ^
>
> onedgrid.cc(493): warning #1478: function "Dune::OneDGridList<T>::insert(T *, T *) [with T=Dune::OneDEntityImp<0>]" (declared at line 182 of "../onedgrid/onedgridlist.hh") was declared "deprecated"
> vertices(i+1).insert(leftNeighbor->sons_[1]->vertex_[1]->succ_, leftUpperVertex);
> ^
>
> onedgrid.cc(497): warning #1478: function "Dune::OneDGridList<T>::insert(T *, T *) [with T=Dune::OneDEntityImp<0>]" (declared at line 182 of "../onedgrid/onedgridlist.hh") was declared "deprecated"
> vertices(i+1).insert(vertices(i+1).begin(), leftUpperVertex);
> ^
>
> onedgrid.cc(505): warning #1478: function "Dune::OneDGridList<T>::insert(T *, T *) [with T=Dune::OneDEntityImp<0>]" (declared at line 182 of "../onedgrid/onedgridlist.hh") was declared "deprecated"
> vertices(i+1).insert(leftUpperVertex->succ_, rightUpperVertex);
> ^
>
> ../onedgrid/onedgridentity.hh(220): warning #1478: type "Dune::Grid<dim, dimworld, ct, GridFamily>::Codim<cd>::LeafIntersectionIterator [with dim=1, dimworld=1, ct=double, GridFamily=Dune::OneDGridFamily<1, 1>, cd=0]" (declared at line 486 of "../../dune/grid/common/grid.hh") was declared "deprecated"
> typedef typename GridImp::template Codim<0>::LeafIntersectionIterator LeafIntersectionIterator;
> ^
> detected during:
> instantiation of class "Dune::OneDGridEntity<0, dim, GridImp> [with dim=1, GridImp=const Dune::OneDGrid]" at line 222 of "../../dune/grid/common/entity.hh"
> instantiation of class "Dune::Entity<0, dim, GridImp, EntityImp> [with dim=1, GridImp=const Dune::OneDGrid, EntityImp=Dune::OneDGridEntity]" at line 1305 of "../../dune/grid/common/grid.hh"
> instantiation of class "Dune::MakeableInterfaceObject<InterfaceType> [with InterfaceType=Dune::Entity<0, 1, const Dune::OneDGrid, Dune::OneDGridEntity>]" at line 66 of "../onedgrid/onedgridentitypointer.hh"
> instantiation of class "Dune::OneDGridEntityPointer<codim, GridImp> [with codim=0, GridImp=const Dune::OneDGrid]" at line 17 of "../onedgrid/onedgridleafiterator.hh"
> instantiation of class "Dune::OneDGridLeafIterator<codim, pitype, GridImp> [with codim=0, pitype=Dune::All_Partition, GridImp=const Dune::OneDGrid]" at line 107 of "../../dune/grid/common/entitypointer.hh"
> instantiation of class "Dune::EntityPointer<GridImp, IteratorImp> [with GridImp=const Dune::OneDGrid, IteratorImp=Dune::OneDGridLeafIterator<0, Dune::All_Partition, const Dune::OneDGrid>]" at line 20 of "../../dune/grid/common/leafiterator.hh"
> instantiation of class "Dune::LeafIterator<codim, pitype, GridImp, LeafIteratorImp> [with codim=0, pitype=Dune::All_Partition, GridImp=const Dune::OneDGrid, LeafIteratorImp=Dune::OneDGridLeafIterator]" at line 546 of "onedgrid.cc"
>
> ../onedgrid/onedgridentity.hh(221): warning #1478: type "Dune::Grid<dim, dimworld, ct, GridFamily>::Codim<cd>::LevelIntersectionIterator [with dim=1, dimworld=1, ct=double, GridFamily=Dune::OneDGridFamily<1, 1>, cd=0]" (declared at line 487 of "../../dune/grid/common/grid.hh") was declared "deprecated"
> typedef typename GridImp::template Codim<0>::LevelIntersectionIterator LevelIntersectionIterator;
> ^
> detected during:
> instantiation of class "Dune::OneDGridEntity<0, dim, GridImp> [with dim=1, GridImp=const Dune::OneDGrid]" at line 222 of "../../dune/grid/common/entity.hh"
> instantiation of class "Dune::Entity<0, dim, GridImp, EntityImp> [with dim=1, GridImp=const Dune::OneDGrid, EntityImp=Dune::OneDGridEntity]" at line 1305 of "../../dune/grid/common/grid.hh"
> instantiation of class "Dune::MakeableInterfaceObject<InterfaceType> [with InterfaceType=Dune::Entity<0, 1, const Dune::OneDGrid, Dune::OneDGridEntity>]" at line 66 of "../onedgrid/onedgridentitypointer.hh"
> instantiation of class "Dune::OneDGridEntityPointer<codim, GridImp> [with codim=0, GridImp=const Dune::OneDGrid]" at line 17 of "../onedgrid/onedgridleafiterator.hh"
> instantiation of class "Dune::OneDGridLeafIterator<codim, pitype, GridImp> [with codim=0, pitype=Dune::All_Partition, GridImp=const Dune::OneDGrid]" at line 107 of "../../dune/grid/common/entitypointer.hh"
> instantiation of class "Dune::EntityPointer<GridImp, IteratorImp> [with GridImp=const Dune::OneDGrid, IteratorImp=Dune::OneDGridLeafIterator<0, Dune::All_Partition, const Dune::OneDGrid>]" at line 20 of "../../dune/grid/common/leafiterator.hh"
> instantiation of class "Dune::LeafIterator<codim, pitype, GridImp, LeafIteratorImp> [with codim=0, pitype=Dune::All_Partition, GridImp=const Dune::OneDGrid, LeafIteratorImp=Dune::OneDGridLeafIterator]" at line 546 of "onedgrid.cc"
>
> ../onedgrid/onedgridentity.hh(222): warning #1478: type "Dune::Grid<dim, dimworld, ct, GridFamily>::Codim<cd>::HierarchicIterator [with dim=1, dimworld=1, ct=double, GridFamily=Dune::OneDGridFamily<1, 1>, cd=0]" (declared at line 488 of "../../dune/grid/common/grid.hh") was declared "deprecated"
> typedef typename GridImp::template Codim<0>::HierarchicIterator HierarchicIterator;
> ^
> detected during:
> instantiation of class "Dune::OneDGridEntity<0, dim, GridImp> [with dim=1, GridImp=const Dune::OneDGrid]" at line 222 of "../../dune/grid/common/entity.hh"
> instantiation of class "Dune::Entity<0, dim, GridImp, EntityImp> [with dim=1, GridImp=const Dune::OneDGrid, EntityImp=Dune::OneDGridEntity]" at line 1305 of "../../dune/grid/common/grid.hh"
> instantiation of class "Dune::MakeableInterfaceObject<InterfaceType> [with InterfaceType=Dune::Entity<0, 1, const Dune::OneDGrid, Dune::OneDGridEntity>]" at line 66 of "../onedgrid/onedgridentitypointer.hh"
> instantiation of class "Dune::OneDGridEntityPointer<codim, GridImp> [with codim=0, GridImp=const Dune::OneDGrid]" at line 17 of "../onedgrid/onedgridleafiterator.hh"
> instantiation of class "Dune::OneDGridLeafIterator<codim, pitype, GridImp> [with codim=0, pitype=Dune::All_Partition, GridImp=const Dune::OneDGrid]" at line 107 of "../../dune/grid/common/entitypointer.hh"
> instantiation of class "Dune::EntityPointer<GridImp, IteratorImp> [with GridImp=const Dune::OneDGrid, IteratorImp=Dune::OneDGridLeafIterator<0, Dune::All_Partition, const Dune::OneDGrid>]" at line 20 of "../../dune/grid/common/leafiterator.hh"
> instantiation of class "Dune::LeafIterator<codim, pitype, GridImp, LeafIteratorImp> [with codim=0, pitype=Dune::All_Partition, GridImp=const Dune::OneDGrid, LeafIteratorImp=Dune::OneDGridLeafIterator]" at line 546 of "onedgrid.cc"
>
> mv -f .deps/onedgrid.Tpo .deps/onedgrid.Plo
> /bin/sh ../../libtool --tag=CXX --mode=compile icpc -std=c++0x -DHAVE_CONFIG_H -I. -I../.. -I/home/kern/iccbug/dune-common -I../.. -DHX_HAS_STDIOSTREAM -I../libamiramesh-Linux/include/amiramesh -DHX_HAS_STDIOSTREAM -MT onedgridfactory.lo -MD -MP -MF .deps/onedgridfactory.Tpo -c -o onedgridfactory.lo onedgridfactory.cc
> libtool: compile: icpc -std=c++0x -DHAVE_CONFIG_H -I. -I../.. -I/home/kern/iccbug/dune-common -I../.. -DHX_HAS_STDIOSTREAM -I../libamiramesh-Linux/include/amiramesh -DHX_HAS_STDIOSTREAM -MT onedgridfactory.lo -MD -MP -MF .deps/onedgridfactory.Tpo -c onedgridfactory.cc -o onedgridfactory.o
> mv -f .deps/onedgridfactory.Tpo .deps/onedgridfactory.Plo
> /bin/sh ../../libtool --tag=CXX --mode=compile icpc -std=c++0x -DHAVE_CONFIG_H -I. -I../.. -I/home/kern/iccbug/dune-common -I../.. -DHX_HAS_STDIOSTREAM -I../libamiramesh-Linux/include/amiramesh -DHX_HAS_STDIOSTREAM -MT nulliteratorfactory.lo -MD -MP -MF .deps/nulliteratorfactory.Tpo -c -o nulliteratorfactory.lo nulliteratorfactory.cc
> libtool: compile: icpc -std=c++0x -DHAVE_CONFIG_H -I. -I../.. -I/home/kern/iccbug/dune-common -I../.. -DHX_HAS_STDIOSTREAM -I../libamiramesh-Linux/include/amiramesh -DHX_HAS_STDIOSTREAM -MT nulliteratorfactory.lo -MD -MP -MF .deps/nulliteratorfactory.Tpo -c nulliteratorfactory.cc -o nulliteratorfactory.o
> mv -f .deps/nulliteratorfactory.Tpo .deps/nulliteratorfactory.Plo
> /bin/sh ../../libtool --tag=CXX --mode=link icpc -std=c++0x -I../libamiramesh-Linux/include/amiramesh -DHX_HAS_STDIOSTREAM -L/home/kern/iccbug/dune-common/lib -ldunecommon -o libonedgrid.la onedgrid.lo onedgridfactory.lo nulliteratorfactory.lo -ldunecommon
> libtool: link: ar cru .libs/libonedgrid.a onedgrid.o onedgridfactory.o nulliteratorfactory.o
> libtool: link: ranlib .libs/libonedgrid.a
> libtool: link: ( cd ".libs" && rm -f "libonedgrid.la" && ln -s "../libonedgrid.la" "libonedgrid.la" )
> make[3]: Leaving directory `/home/kern/iccbug/dune-grid/grid/onedgrid'
Bye,
Jö.
--
In the beginning the Universe was created. This has made a lot of
people very angry and been widely regarded as a bad move.
-- Douglas Adams
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 827 bytes
Desc: Digital signature
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20090911/dad82347/attachment.sig>
More information about the Dune
mailing list