I tried to install dealII together with PETSC, which was installed using 
the configuration line
./configure PETSC_ARCH=linux-gnu-openmpi-complex --CXX_LINKER_FLAGS=-lc -
CC_LINKER_FLAGS=-lc --with-mkl_pardiso=1 --with-blaslapack-dir=/opt/intel/mkl 
--with-debugging=0 FOPTFLAGS="-fPIC -O3 -march=native -mtune=native" 
COPTFLAGS="-fPIC -O3 -march=native -mtune=native" CXXOPTFLAGS="-fPIC -O3 
-march=native -mtune=native" --with-scalar-type=complex 
--with-mpi-dir=/opt/openmpi 
--download-superlu_dist --with-metis-dir=/opt/metis --with-parmetis-dir=
/opt/parmetis --with-mkl_pardiso-dir=/opt/intel/mkl --with-openmp=1 --with-
cxx-dialect=C++11 --prefix=/opt/petsc
Running cmake on the dealII-directory works fine, but when compiling, I get 
this error:
../lib/libdeal_II.g.so.9.0.0-pre: undefined reference to `void 
dealii::FETools::convert_generalized_support_point_values_to_dof_values<1, 
2, std::complex<double> >(dealii::FiniteElement<1, 2> const&, 
std::vector<dealii::Vector<std::complex<double> >, 
std::allocator<dealii::Vector<std::complex<double> > > > const&, 
std::vector<std::complex<double>, std::allocator<std::complex<double> > >&)'
../lib/libdeal_II.g.so.9.0.0-pre: undefined reference to `void dealii::
FETools::convert_generalized_support_point_values_to_dof_values<1, 3, std::
complex<double> >(dealii::FiniteElement<1, 3> const&, std::vector<dealii::
Vector<std::complex<double> >, std::allocator<dealii::Vector<std::complex
<double> > > > const&, std::vector<std::complex<double>, std::allocator<std
::complex<double> > >&)'
../lib/libdeal_II.g.so.9.0.0-pre: undefined reference to `void 
dealii::FETools::convert_generalized_support_point_values_to_dof_values<2, 
3, std::complex<double> >(dealii::FiniteElement<2, 3> const&, 
std::vector<dealii::Vector<std::complex<double> >, 
std::allocator<dealii::Vector<std::complex<double> > > > const&, 
std::vector<std::complex<double>, std::allocator<std::complex<double> > >&)'
../lib/libdeal_II.g.so.9.0.0-pre: undefined reference to `void 
dealii::FETools::convert_generalized_support_point_values_to_dof_values<2, 
2, std::complex<double> >(dealii::FiniteElement<2, 2> const&, 
std::vector<dealii::Vector<std::complex<double> >, 
std::allocator<dealii::Vector<std::complex<double> > > > const&, 
std::vector<std::complex<double>, std::allocator<std::complex<double> > >&)'
../lib/libdeal_II.g.so.9.0.0-pre: undefined reference to `void dealii::
FETools::convert_generalized_support_point_values_to_dof_values<3, 3, std::
complex<double> >(dealii::FiniteElement<3, 3> const&, std::vector<dealii::
Vector<std::complex<double> >, std::allocator<dealii::Vector<std::complex
<double> > > > const&, std::vector<std::complex<double>, std::allocator<std
::complex<double> > >&)'
../lib/libdeal_II.g.so.9.0.0-pre: undefined reference to `void 
dealii::FETools::convert_generalized_support_point_values_to_dof_values<1, 
1, std::complex<double> >(dealii::FiniteElement<1, 1> const&, 
std::vector<dealii::Vector<std::complex<double> >, 
std::allocator<dealii::Vector<std::complex<double> > > > const&, 
std::vector<std::complex<double>, std::allocator<std::complex<double> > >&)'
collect2: error: ld returned 1 exit status
make[2]: *** [examples/CMakeFiles/step-9.debug.dir/build.make:126: bin/step-
9.debug] Error 1
make[1]: *** [CMakeFiles/Makefile2:5448: examples/CMakeFiles/step-9.debug.
dir/all] Error 2
make: *** [Makefile:130: all] Error 2


What exactly did I wrong here? When compiling without PETSC the compilation 
works fine.
Thanks!

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to