[petsc-users] PaStiX does not work

Barry Smith bsmith at mcs.anl.gov
Tue Apr 6 19:55:39 CDT 2010


On Apr 6, 2010, at 7:04 PM, Gong Ding wrote:

> Dear Petsc developer,
>
> I found a problem that PASTIX solver can not be loaded from PETSC,  
> even for 3.1 version.
>
> When I use following code, the ksp_view told me that PC is ilu. And  
> the snes solver can not convergence at all.
>
> ierr = KSPSetType (ksp, (char*) KSPPREONLY); assert(!ierr);//it  
> seems PaStiX don't work with KSPPREONLY
> ierr = PCSetType  (pc, (char*) PCLU);
> ierr = PCFactorSetMatSolverPackage (pc, MAT_SOLVER_PASTIX); assert(! 
> ierr);
>
> Is it a bug or I made something wrong?

   You are doing something wrong but one cannot tell from just this  
code fragment.  Send the entire code to petsc-maint at mcs.anl.gov and  
the options you used to run it and the output it produced.

    Barry

>
> Yours
> Gong Ding



More information about the petsc-users mailing list