[Dune] Grid compile error
Agnese, Marco
m.agnese13 at imperial.ac.uk
Wed Jan 29 16:36:17 CET 2014
I added WORLDDIM in the Makefile.am, recompiled the project and everything worked fine.
Thank you very much for your help Christian.
________________________________________
From: christi at mathe-macht-spass.de [christi at mathe-macht-spass.de] on behalf of Christian Engwer [christian.engwer at uni-muenster.de]
Sent: Wednesday, January 29, 2014 11:49 AM
To: Agnese, Marco
Cc: dune at dune-project.org
Subject: Re: [Dune] Grid compile error
> dune_test_CPPFLAGS = $(AM_CPPFLAGS) \
> $(DUNEMPICPPFLAGS) \
> $(UG_CPPFLAGS) \
> $(AMIRAMESH_CPPFLAGS) \
> $(ALBERTA_CPPFLAGS) \
> $(ALUGRID_CPPFLAGS)
As alberta uses the same symbols for all dimensions, we can only use
alberta with a predefined dimension. Thus you need to add the
dimension dependend flags aswell. You should do this by defining
ALBERTA_DIM=?? (simly at the top of your Makefile.am) or by defining
WORLDDIM=??. Both will make ALBERTA_CPPFLAGS (and LIBS) contain the
correct dimension specific part.
Christian
More information about the Dune
mailing list