Jon,

> I've been able to compile the latest (revision 22793) svn version using the
> Intel compilers and MKL (recent versions).  Everything compiles and links
> ok, except that I had to add
>
> #  include <iostream>
>
> to petsc_matrix_base.h, or else the compiler would complain about std::cout
> not being contained in the standard library...

That file doesn't reference std::cout. Where is the use of std::cout for which 
you need to add <iostream>


> Anyway, when I try to compile any of the examples, I get the same list of
> linking errors (below).  Does this look like a problem with my
> configuration or a bug in deal.II?

It's likely a combination of what the Intel compiler believes it needs and 
what we provide. For example, we may have code like

  if (dim>1)
    return TensorProductPolynomials<dim-1>::n();
  else
    return 0;

A smart compiler would recognize that it doesn't ever need
TensorProductPolynomials<0>::n, but Intel ICC might.


> ============================ Linking step-40
> /software/deal.II/svn/lib/libdeal_II.g.so: undefined reference to
> `dealii::TensorProductPolynomials<0>::n() const'
> /software/deal.II/svn/lib/libdeal_II.g.so: undefined reference to
> `dealii::TensorProductPolynomials<0>::compute_value(unsigned int,
> dealii::Point<0> const&) const'

I've fixed these two yesterday. I think Martin wanted to look at the other 
ones later.

Best
 W.

-------------------------------------------------------------------------
Wolfgang Bangerth                email:            [email protected]
                                 www: http://www.math.tamu.edu/~bangerth/

_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii

Reply via email to