[Dune] Problem with the autogeneration of (dgf)gridtype.hh on OSX
Jö Fahlke
jorrit at jorrit.de
Wed Apr 14 14:20:54 CEST 2010
Benedikt Oswald updated his Dune-Modules 10 Minutes ago. Not he gets the
error message below. This message suggests to me, that there is a problem
with the generated gridtype.hh and dgfgridtype.hh (both attached) on OSX. If
look into gridtype.hh you will notice the line
======================================================================
-e #if defined ALUGRID_CONFORM
======================================================================
near the top of the file. I suspect the generating code uses a "-e" option to
some program, and that this "-e" options is not portable to OSX. The program
might be "echo": bash apparently support "echo -e" on our Mac (bigapple),
while /bin/sh does not (even if that is just bash under a different name).
Can the GridType guys please have a look?
Thanks,
Jö.
======================================================================
In file included from /Users/oswald/svnwork/dune-trunk/dune-grid/
dgfgridtype.hh:4,
from integration.cc:9:
/Users/oswald/svnwork/dune-trunk/dune-grid/gridtype.hh:12: error:
stray '#' in program
In file included from /Users/oswald/svnwork/dune-trunk/dune-grid/
dgfgridtype.hh:4,
from integration.cc:9:
/Users/oswald/svnwork/dune-trunk/dune-grid/gridtype.hh:92:6: error:
#error "Ambiguous definition of GRIDTYPE."
/Users/oswald/svnwork/dune-trunk/dune-grid/gridtype.hh:122:2: error:
#endif without #if
In file included from integration.cc:9:
/Users/oswald/svnwork/dune-trunk/dune-grid/dgfgridtype.hh:6: error:
stray '#' in program
In file included from integration.cc:9:
/Users/oswald/svnwork/dune-trunk/dune-grid/dgfgridtype.hh:31:2: error:
#endif without #if
In file included from /Users/oswald/svnwork/dune-trunk/dune-grid/
dgfgridtype.hh:4,
from integration.cc:9:
/Users/oswald/svnwork/dune-trunk/dune-grid/gridtype.hh:12: error:
expected unqualified-id before '-' token
In file included from /Users/oswald/svnwork/dune-trunk/dune-grid/
dgfgridtype.hh:4,
from integration.cc:9:
/Users/oswald/svnwork/dune-trunk/dune-grid/gridtype.hh:102: error:
conflicting declaration 'typedef class Dune::YaspGrid<2>
Dune::GridSelector::GridType'
/Users/oswald/svnwork/dune-trunk/dune-grid/gridtype.hh:21: error:
'Dune::GridSelector::GridType' has a previous declaration as 'typedef
struct Dune::ALUConformGrid<2, 2> Dune::GridSelector::GridType'
In file included from integration.cc:9:
/Users/oswald/svnwork/dune-trunk/dune-grid/dgfgridtype.hh:6: error:
expected unqualified-id before '-' token
/Users/oswald/svnwork/dune-trunk/dune-grid/dune/grid/io/file/dgfparser/
dgfalu.hh: In member function 'int
Dune::DGFBaseFactory<GridType>::boundaryId(const Intersection&) const
[with Intersection = Dune::Intersection<const Dune::ALU2dGrid<2, 2,
triangle>, Dune::LeafIntersectionWrapper>, G = Dune::ALUConformGrid<2,
2>]':
/Users/oswald/svnwork/dune-trunk/dune-grid/dune/grid/io/file/dgfparser/
dgfparser.hh:526: instantiated from 'void
Dune::GridPtr<GridType>::initialize(Dune::DGFGridFactory<GridType>&)
[with GridType = Dune::ALUConformGrid<2, 2>]'
/Users/oswald/svnwork/dune-trunk/dune-grid/dune/grid/io/file/dgfparser/
dgfparser.hh:342: instantiated from
'Dune::GridPtr<GridType>::GridPtr(const std::string&,
ompi_communicator_t*) [with GridType = Dune::ALUConformGrid<2, 2>]'
integration.cc:76: instantiated from here
/Users/oswald/svnwork/dune-trunk/dune-grid/dune/grid/io/file/dgfparser/
dgfalu.hh:94: warning: 'boundaryId' is deprecated (declared at /Users/
oswald/svnwork/dune-trunk/dune-grid/dune/grid/common/intersection.hh:
223)
make[2]: *** [integration-integration.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
--- Failed to build dune-grid-howto ---
Execution of dunecontrol terminated due to errors!
======================================================================
======================================================================
pcp029897:dune-trunk oswald$ svn info dune-common/
Path: dune-common
URL: https://svn.dune-project.org/svn/dune-common/trunk
Repository Root: https://svn.dune-project.org/svn/dune-common
Repository UUID: 419231ca-4411-0410-aba2-fc6cf8c4f609
Revision: 5974
Node Kind: directory
Schedule: normal
Last Changed Author: joe
Last Changed Rev: 5973
Last Changed Date: 2010-04-13 17:12:54 +0200 (Tue, 13 Apr 2010)
pcp029897:dune-trunk oswald$ svn info dune-grid
Path: dune-grid
URL: https://svn.dune-project.org/svn/dune-grid/trunk
Repository Root: https://svn.dune-project.org/svn/dune-grid
Repository UUID: f82f27de-4411-0410-b156-930a902cda50
Revision: 6602
Node Kind: directory
Schedule: normal
Last Changed Author: mnolte
Last Changed Rev: 6602
Last Changed Date: 2010-04-12 13:50:34 +0200 (Mon, 12 Apr 2010)
pcp029897:dune-trunk oswald$ svn info dune-istl/
Path: dune-istl
URL: https://svn.dune-project.org/svn/dune-istl/trunk
Repository Root: https://svn.dune-project.org/svn/dune-istl
Repository UUID: 8c7282f0-4411-0410-8e4f-cdd3e049afb8
Revision: 1199
Node Kind: directory
Schedule: normal
Last Changed Author: christi
Last Changed Rev: 1199
Last Changed Date: 2010-04-09 14:40:04 +0200 (Fri, 09 Apr 2010)
pcp029897:dune-trunk oswald$ svn info dune-grid-howto/
Path: dune-grid-howto
URL: https://svn.dune-project.org/svn/dune-grid-howto/trunk
Repository Root: https://svn.dune-project.org/svn/dune-grid-howto
Repository UUID: 971b7fa1-7d12-0410-b1b7-9c127676b1f7
Revision: 305
Node Kind: directory
Schedule: normal
Last Changed Author: robertk
Last Changed Rev: 305
Last Changed Date: 2010-04-14 10:04:21 +0200 (Wed, 14 Apr 2010)
======================================================================
----- End forwarded message -----
--
http://www.heise.de/tp/deutsch/inhalt/te/17529/1.html
"Wer nichts zu verbergen hat, kann auch seine echte Emailadresse
angeben." -- Luke321 im Telepolis-Forum
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 828 bytes
Desc: Digital signature
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20100414/6689fee5/attachment.sig>
More information about the Dune
mailing list