Any idea as to what might be the cause of this problem? I encountered
it today also when trying to build on my laptop, OS X 10.6.8, gcc and
gfortran 4.6, openmpi 1.4.4, Trilinos 10.4.2, petsc-3.2 (latest from
hg). The problem only occurs when trying to compile with both petsc
and Trilinos. Compilation is successful when either petsc or Trilinos
is selected, just not both.

I have no idea, as I said here I've installed these two libraries many times and have never seen the problem:


Have you figured out what causes this? I've installed deal.II and Trilinos
many times and I've never seen this problem. ML_Epetra::SetDefaults is defined
in the file ml_MultiLevelPreconditioner.h, which we do include in
lac/trilinos_preconditioner.cc, so I'm not quite sure what may cause this
problem...

Of course, my question remains unanswered: have you looked into this file ml_MultiLevelPreconditioner.h and thought about where the error message might come from? Seeing...

Compilation is aborted with the following error message:
/home/it2/max/sw/deal.II/source/lac/trilinos_precondition.cc(519):
error: namespace "ML_Epetra" has no member "SetDefaults"
          ML_Epetra::SetDefaults("SA",parameter_list);

...suggests that the compiler knows about namespace ML_Epetra but doesn't see SetDefaults for whatever reason even though that function is declared in this file (around line 115). Can you identify why the compiler appears to ignore this part? Is one of the conditions in an #ifdef directive false or some such?

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