[Dune] Where does ALU3DGRID_PARALLEL get defined
Markus Blatt
markus at dr-blatt.de
Tue Feb 26 09:40:14 CET 2013
Hi,
I am having a hard time track done an error that seems to be due to
ALU3DGRID_PARALLEL not being defined. As I am the only one, this might
a due to my system being mixe up.
Can someone with more insight tell me where this should be defined?
I looked in the Makefile.am, header and source files, but to no avail.
Here is the linker error, that I expect:
> > libtool: link: g++ -std=c++0x -I/home/mblatt/dune_install_2.2/include -I/home/mblatt/dune_install_2.2/include -I/home/mblatt/dune_install_2.2/include -I/home/mblatt/dune_install_2.2/include -I/home/mblatt/dune_install_2.2/include -DENABLE_POSIX_CLOCK -I/home/mblatt/dune-test/dune-pdelab-1.1-rc2 -I/usr/include/superlu -DENABLE_SUPERLU -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -pthread -DMPIPP_H -DENABLE_MPI=1 -I/home/mblatt/src/dune/3rdParty/grids/ug-install/include/ug -DENABLE_UG -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -pthread -DMPIPP_H -DENABLE_MPI=1 -I/home/mblatt/src/dune/3rdParty/grids/alugrid51-install/include -I/home/mblatt/src/dune/3rdParty/grids/alugrid51-install/include/serial -I/home/mblatt/src/dune/3rdParty/grids/alugrid51-install/include/duneinterface -DENABLE_ALUGRID -I/home/mblatt/src/dune/3rdParty/grids/alugrid51-install/include/parallel -g -O0 -o dgdiffusion dgdiffusion-dgdiffusion.o -pthread -Wl,--export-dynamic -pthread -Wl,--export-dynamic -L/usr/lib/openmpi/lib -L/usr/lib -lsuperlu -L/usr/lib/gcc/x86_64-linux-gnu/4.7 -L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../.. -L/home/mblatt/src/dune/3rdParty/grids/ug-install/lib -L/home/mblatt/src/dune/3rdParty/grids/alugrid51-install/lib -L/home/mblatt/dune-test/dune-pdelab-1.1-rc2/lib -L/home/mblatt/dune_install_2.2/lib -L/tmp/dune-geometry-2.2.1beta1/lib -L/tmp/dune-common-2.2.1beta1/lib /home/mblatt/dune-test/dune-pdelab-1.1-rc2/lib/.libs/libdunepdelab.a -lrt /home/mblatt/dune_install_2.2/lib/libdunegrid.a /home/mblatt/src/dune/3rdParty/grids/alugrid51-install/lib/libalugrid.a /usr/lib/openmpi/lib/libmpi.so /usr/lib/openmpi/lib/libopen-rte.so /usr/lib/openmpi/lib/libopen-pal.so -lnsl -lutil -ldl /home/mblatt/src/dune/3rdParty/grids/ug-install/lib/libugS2.a /home/mblatt/src/dune/3rdParty/grids/ug-install/lib/libugS3.a /home/mblatt/src/dune/3rdParty/grids/ug-install/lib/libdevS.a -lm /home/mblatt/dune_install_2.2/lib/libdunegeometry.a /home/mblatt/dune_install_2.2/lib/libdunecommon.a -llapack -lblas -lgfortran -lquadmath -ldunecommon -pthread -Wl,-rpath -Wl,/usr/lib/openmpi/lib -Wl,-rpath -Wl,/usr/lib/openmpi/lib
> > dgdiffusion-dgdiffusion.o: In function `Dune::ALU3dGridGeometricFaceInfoBase<(Dune::ALU3dGridElementType)4, ompi_communicator_t*>::generateLocalGeometries() const':
> > /home/mblatt/dune_install_2.2/include/dune/grid/alugrid/3d/faceutility_imp.cc:637: undefined reference to `Dune::ALU3dGridGeometricFaceInfoBase<(Dune::ALU3dGridElementType)4, ompi_communicator_t*>::referenceElementCoordinatesUnrefined(Dune::ALU3dGridGeometricFaceInfoBase<(Dune::ALU3dGridElementType)4, ompi_communicator_t*>::SideIdentifier, Dune::FieldMatrix<double, 3, 3>&) const'
> > /home/mblatt/dune_install_2.2/include/dune/grid/alugrid/3d/faceutility_imp.cc:640: undefined reference to `Dune::ALU3dGridGeometricFaceInfoBase<(Dune::ALU3dGridElementType)4, ompi_communicator_t*>::referenceElementCoordinatesUnrefined(Dune::ALU3dGridGeometricFaceInfoBase<(Dune::ALU3dGridElementType)4, ompi_communicator_t*>::SideIdentifier, Dune::FieldMatrix<double, 3, 3>&) const'
> > collect2: error: ld returned 1 exit status
> > make[4]: *** [dgdiffusion] Fehler 1
> > make[4]: Leaving directory `/home/mblatt/dune-test/dune-pdelab-howto-1.1-rc2/src/convection-diffusion'
> > make[3]: *** [all-recursive] Fehler 1
> > make[3]: Leaving directory `/home/mblatt/dune-test/dune-pdelab-howto-1.1-rc2/src/convection-diffusion'
> > make[2]: *** [all-recursive] Fehler 1
> > make[2]: Leaving directory `/home/mblatt/dune-test/dune-pdelab-howto-1.1-rc2/src'
> > make[1]: *** [all-recursive] Fehler 1
> > make[1]: Leaving directory `/home/mblatt/dune-test/dune-pdelab-howto-1.1-rc2'
> > make: *** [all] Fehler 2
> > --- Failed to build dune-pdelab-howto ---
> > Terminating dunecontrol due to previous errors!
>
Your help is highly appreciated.
Kind regards,
Markus
--
Do you need more support with DUNE or HPC in general?
Dr. Markus Blatt - HPC-Simulation-Software & Services http://www.dr-blatt.de
Hans-Bunte-Str. 8-10, 69123 Heidelberg, Germany
Tel.: +49 (0) 160 97590858 Fax: +49 (0)322 1108991658
More information about the Dune
mailing list