Dear Shiva,

> ======================optimized====== lac/trilinos_precondition.cc
> /opt/software/numerics/deal.II/source/lac/trilinos_precondition.cc: In  
> member function ?void  
> dealii::TrilinosWrappers::PreconditionAMG::initialize(const  
> dealii::TrilinosWrappers::SparseMatrix&, const  
> dealii::TrilinosWrappers::PreconditionAMG::AdditionalData&)?:
> /opt/software/numerics/deal.II/source/lac/trilinos_precondition.cc:519: 
> error:  
> ?SetDefaults? is not a member of ?ML_Epetra?
> /opt/software/numerics/deal.II/source/lac/trilinos_precondition.cc:550: 
> error:  
> ?SetDefaults? is not a member of ?ML_Epetra?

This looks like you are using an incomplete file
"ml_MultiLevelPreconditioner.h" that comes with your Trilinos
installation or some incompatible settings. On my system with Trilinos
10.6.4, this file contains the definition of SetDefaults in line 115.
Could you please check in your installation, i.e.,
TRILINOS_DIR/include/ml_MultiLevelPreconditioner to see if the
definition is in there? If it is, which settings did you compile
Trilinos with? Can you check in TRILINOS_DIR/include/ml_config.h whether
you have the settings "HAVE_ML_EPETRA" and "HAVE_ML_TEUCHOS" enabled?
I.e., you should find a line that looks like this:
#define HAVE_ML_EPETRA

If not, you need to change some configure options in Trilinos (an
example config line you can find in the deal.II README:
http://www.dealii.org/developer/readme-petsc-trilinos.html ).

Best,
Martin

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

Reply via email to