Hi,

After not using my model for a while, I have installed deal.ii v6.2.1 with PETSc 3.0.0-p7 (previously I used v6.1 and 2.3.3-p15), and am trying to run my model as I did before. (I have moved and am using a different platform now, but the differences are *probably* minimal - I'm still using red hat linux.)

Anyway, there is a point in my code where an asymmetric matrix is solved using stabilized bicg with an SOR preconditioner, like so:

PETScWrappers::MPI::SparseMatrix flux_matrix;
PETScWrappers::MPI::Vector solution_H0, flux_rhs;

...

SolverControl solvercontrol ( dof_handler_H0.n_dofs(), 1.e-8 );
PETScWrappers::SolverBicgstab bicgstab (solvercontrol,
                              mpi_communicator);
PETScWrappers::PreconditionSOR::AdditionalData addldata(1.2);
PETScWrappers::PreconditionSOR preconditioner(flux_matrix, addldata);

bicgstab.solve (flux_matrix, solution_H0,
            flux_rhs, preconditioner);

This never caused problems before. Now I get a PETSc error:

[0]PETSC ERROR: No support for this operation for this object type!
[0]PETSC ERROR: No support for omega != 1.0; use -mat_no_inode!
[0]PETSC ERROR: ------------------------------------------------------------------------ [0]PETSC ERROR: Petsc Release Version 3.0.0, Patch 7, Mon Jul 6 11:33:34 CDT 2009
[0]PETSC ERROR: See docs/changes/index.html for recent updates.
[0]PETSC ERROR: See docs/faq.html for hints about trouble shooting.
[0]PETSC ERROR: See docs/index.html for manual pages.
[0]PETSC ERROR: ------------------------------------------------------------------------ [0]PETSC ERROR: ./lib/ice_shelf on a linux-gnu named dng by dng Tue Jul 28 15:31:33 2009
[0]PETSC ERROR: Libraries linked from /home/dng/petsc-3.0.0-p7/linux-gnu/lib
[0]PETSC ERROR: Configure run at Tue Jul 14 09:30:32 2009
[0]PETSC ERROR: Configure options --download-f-blas-lapack=1 --with-clanguage=C++ --download-mpich=1 --with-shared=1 --with-x=0 [0]PETSC ERROR: ------------------------------------------------------------------------
[0]PETSC ERROR: MatRelax_Inode() line 1661 in src/mat/impls/aij/seq/inode.c
[0]PETSC ERROR: MatRelax() line 3127 in src/mat/interface/matrix.c
[0]PETSC ERROR: PCApply_SOR() line 37 in src/ksp/pc/impls/sor/sor.c
[0]PETSC ERROR: PCApply() line 357 in src/ksp/pc/interface/precon.c
[0]PETSC ERROR: KSPInitialResidual() line 57 in src/ksp/ksp/interface/itres.c
[0]PETSC ERROR: KSPSolve_BCGS() line 44 in src/ksp/ksp/impls/bcgs/bcgs.c
[0]PETSC ERROR: KSPSolve() line 385 in src/ksp/ksp/interface/itfunc.c

I know the thing to do is to roll back to deal.ii v6.1.0 and petsc 2.3.3 and make sure that all works in this new environment... but still, I would like to know, does anyone see any reason the above block of code should not work with my current installation?

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

Reply via email to