Thanks for your email and the encouragement, I will keep these reporting issues for sure! This thread was a nice lecture on templates!
On my topic, I have done as usual: git clone https://github.com/dealii/dealii.git dealii and proceeded with the configuration/installation of the library, to notice that I still have an error: Linking CXX executable pFEM /mypatch/pFEM.cc:370: error: undefined reference to 'void dealii::VectorTools::interpolate_boundary_values<2, 2, std::complex<double> >(dealii::hp::MappingCollection<2, 2> const&, dealii::hp::DoFHandler<2, 2> const&, std::map<unsigned int, dealii::Function<2, std::complex<double> > const*, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, dealii::Function<2, std::complex<double> > const*> > > const&, std::map<unsigned int, std::complex<double>, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, std::complex<double> > > >&, dealii::ComponentMask const&)' collect2: error: ld returned 1 exit status make[2]: *** [pFEM] Error 1 make[1]: *** [CMakeFiles/pFEM.dir/all] Error 2 make: *** [all] Error 2 As if nothing had changed. So I have a few questions: 1) Is it the same error? 2) If 1) is true, then isn't https://github.com/dealii/dealii/pull/5579 <https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Fdealii%2Fdealii%2Fpull%2F5579&sa=D&sntz=1&usg=AFQjCNFmtOPSaCSooQRONvwAcX3PeaAI4A> merged with https://github.com/dealii/dealii.git dealii? 3) If 2) is false, I would like to kindly ask how to apply the patch. I tried a few things I got from a GIT tutorial but seemed not to work. Thanks in advance, Juan Carlos Araújo, Umeå Universitet El lunes, 4 de diciembre de 2017, 13:09:28 (UTC-5), Wolfgang Bangerth escribió: > > On 12/01/2017 08:36 PM, Juan Carlos Araujo Cabarcas wrote: > > > > path/petsc_eigs/pFEM.cc:370: error: undefined reference to 'void > > dealii::VectorTools::interpolate_boundary_values<2, 2, > > std::complex<double> >(dealii::hp::MappingCollection<2, 2> const&, > > dealii::hp::DoFHandler<2, 2> const&, std::map<unsigned int, > > dealii::Function<2, std::complex<double> > const*, std::less<unsigned > > int>, std::allocator<std::pair<unsigned int const, dealii::Function<2, > > std::complex<double> > const*> > > const&, std::map<unsigned int, > > std::complex<double>, std::less<unsigned int>, > > std::allocator<std::pair<unsigned int const, std::complex<double> > > > > >&, dealii::ComponentMask const&)' > > Now that the compiler is happy with your code, this is the first real > bug -- we don't instantiate this function. The patch is here: > https://github.com/dealii/dealii/pull/5579 > > I appreciate you trying all of these things with complex-valued vectors. > It's hard to find all of the relevant places that need to be changed and > fixed. Keep these issues coming! > > Best > W. > > -- > ------------------------------------------------------------------------ > Wolfgang Bangerth email: bang...@colostate.edu > <javascript:> > www: http://www.math.colostate.edu/~bangerth/ > -- 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 dealii+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.