[Dune] problem with alberta, cannot find "ldunealbertagrid_0d"

Martin Drohmann mdrohmann at googlemail.com
Fri Jan 29 10:48:33 CET 2010


Dear Wolfgang Giese,

It seems like the "GRIDDIM" macro is set to zero. If you use
ALL_PKG_CPPFLAGS in your Makefile.am it should be enough to add a line

  GRIDDIM=2 # or whatever is true

to your Makefile.am. Otherwise add -DGRIDDIM=2 to your CPPFLAGS.

Martin


On 28 January 2010 19:16,  <giese at math.hu-berlin.de> wrote:
> Dear Dune-Developers,
>
> I was wondering if you could help me out with this error message. I've
> downloaded the latest revision of dune-common, dune-pdelab,
> dune-localfunctions, dune-grid, dune-istl and I am using ALBERTA 2.0.1.
> When executing dunecontrol, dune is looking for the file
> "ldunealbertagrid_0d", which atually does not exist... The end of the
> error message looks as follows:
>
> libtool: link: warning: library
> `/home/basar/Personal/Wolfgang_Giese/Dune/alberta/lib/libalberta_util.la'
> was moved.
> libtool: link: warning: library
> `/home/basar/Personal/Wolfgang_Giese/Dune/alberta/lib/libalberta_util.la'
> was moved.
> libtool: link: g++ -std=c++0x -g -O2 -o dune_yeastdg
> dune_yeastdg-dune_yeastdg.o
> -L/home/basar/Personal/Wolfgang_Giese/Dune/dune-grid/lib
> -L/home/basar/Personal/Wolfgang_Giese/Dune/dune-common/lib
> -ldunealbertagrid_0d
> -L/home/basar/Personal/Wolfgang_Giese/Dune/alberta/lib -lalberta_0d
> /home/basar/Personal/Wolfgang_Giese/Dune/alberta/lib/libalberta_util.a -lm
> /home/basar/Personal/Wolfgang_Giese/Dune/dune-grid/lib/.libs/libdunegrid.a
> /home/basar/Personal/Wolfgang_Giese/Dune/dune-common/lib/.libs/libdunecommon.a
> /usr/bin/ld: cannot find -ldunealbertagrid_0d
> collect2: ld returned 1 exit status
> make[3]: *** [dune_yeastdg] Error 1
> make[3]: Leaving directory
> `/home/basar/Personal/Wolfgang_Giese/Dune/dune-yeastdg/src'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory
> `/home/basar/Personal/Wolfgang_Giese/Dune/dune-yeastdg/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory
> `/home/basar/Personal/Wolfgang_Giese/Dune/dune-yeastdg'
> make: *** [all] Error 2
> --- Failed to build dune-yeastdg ---
> Execution of dunecontrol terminated due to errors!
>
>
> I would be very grateful if you could help me!
>
> Best wishes,
> Wolfgang Giese
>
>
>
>
>
> _______________________________________________
> Dune mailing list
> Dune at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune
>




More information about the Dune mailing list