[Dune] Alberta with Dune
Ganesh Diwan
gcdiwan83 at gmail.com
Mon Feb 9 17:08:55 CET 2015
> Is -DENABLE_ALBERTA=1 included in the compiler flags? You have to add
> $(ALBERTA_CPPFLAGS) in the Makefile.am for this, and I think also
> ALBERTA_LIBS and ALBERTA_LDFLAGS to the LIBS (LDFLAGS) variables of your
> program.
My Makefile has
ALBERTA1D_CPPFLAGS = $(ALBERTA_INCLUDE_CPPFLAGS) -DALBERTA_DIM=1
-DENABLE_ALBERTA
ALBERTA1D_LDFLAGS =
ALBERTA1D_LIBS = $(DUNE_GRID_LIBDIR)/libdunealbertagrid_1d.la
$(DUNE_GRID_LIBDIR)/libdunegrid.la $(ALBERTA_LIBPATHFLAGS) -lalberta_1d
$(ALBERTA_BASE_LIBS)
ALBERTA2D_CPPFLAGS = $(ALBERTA_INCLUDE_CPPFLAGS) -DALBERTA_DIM=2
-DENABLE_ALBERTA
ALBERTA2D_LDFLAGS =
ALBERTA2D_LIBS = $(DUNE_GRID_LIBDIR)/libdunealbertagrid_2d.la
$(DUNE_GRID_LIBDIR)/libdunegrid.la $(ALBERTA_LIBPATHFLAGS) -lalberta_2d
$(ALBERTA_BASE_LIBS)
ALBERTA3D_CPPFLAGS = $(ALBERTA_INCLUDE_CPPFLAGS) -DALBERTA_DIM=3
-DENABLE_ALBERTA
ALBERTA3D_LDFLAGS =
ALBERTA3D_LIBS = $(DUNE_GRID_LIBDIR)/libdunealbertagrid_3d.la
$(DUNE_GRID_LIBDIR)/libdunegrid.la $(ALBERTA_LIBPATHFLAGS) -lalberta_3d
$(ALBERTA_BASE_LIBS)
Should this not suffice?
Thanks
G
On Mon, Feb 9, 2015 at 3:04 PM, Ansgar Burchardt <"Ansgar
Burchardt"@43-1.org> wrote:
> -DENABLE_ALBERTA
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20150209/c112f4bf/attachment.htm>
More information about the Dune
mailing list