[Trilinos-Users] Error message when trying to use ML preconditioned CG in AIX/bassi/NERSC environment (8 mpi nodes).

Ernesto Prudencio prudenci at slac.stanford.edu
Fri Jan 18 21:45:32 MST 2008


Hi.

Instead of sending too much details on this first message, I decided to 
briefly describe the problem. Maybe it happened before and you have some 
quick fixing idea.

If I try to use ML preconditioned CG, I get the message

Error in GetValidMLPParameters: The developers messed something up. 
Sorry.

in std::cout and the message

AztecOO::SetProcConfig ERROR, failed to dynamic_cast Comm to 
Epetra_MpiComm

in std::cerr.

The error messages seem to be happen when my code calls

m_mlPreconditioner = new 
ML_Epetra::MultiLevelPreconditioner(*m_matrixForTrilinos, *m_mlList);

I am successfully using ML preconditioned CG in my local machine 
(uniprocessor, FC 7), in which case I get the following messages:

------------------------------------------------------------------------------
***
*** ML_Epetra::MultiLevelPreconditioner
***
Matrix has 251222 rows and 6428752 nonzeros, distributed over 1 
process(es)
The linear system matrix is an Epetra_CrsMatrix
Maximum number of levels = 2
Using decreasing levels. Finest level  = 1, coarsest level = 0
Number of applications of the ML cycle = 1
Number of PDE equations = 1
** Leaving column map of Main linear system matrix unchanged
...

Any idea on what might be wrong?

Thanks in advance,

Ernesto.








More information about the Trilinos-Users mailing list