[petsc-users] superlu dist colperm by default

Hong Zhang hzhang at mcs.anl.gov
Sat Apr 28 12:55:13 CDT 2012


Wen:

>
> I am using superlu dist in PETSc 3.1. The version of superlu dist
> installed by petsc is SuperLU_DIST_2.4-hg-v2. Does anyone know which
> colperm method superlu dist use for the default setting by petsc? I cannot
> got such information by using -mat_superlu_dist_statprint, the output of
> which I attached below. Thanks.
>

Please update to the latest petsc and superlu_dist (preferable petsc-dev)
PETSc 3.1 and SuperLU_DIST_2.4-hg-v2 are several years old.
I recall there were bugs in colperm. Together with superlu's developer,
these bugs were fixed in latest superLU_DIST and petsc.
I guess 'colperm method superlu dist' was not supported in that version.
It is supported in petsc-dev and SuperLU_DIST_3.0-p1
With petsc-dev, I get
petsc-dev/src/ksp/ksp/examples/tutorials>mpiexec -n 2 ./ex2 -pc_type lu
-pc_factor_mat_solver_package superlu_dist -ksp_view
...
            SuperLU_DIST run parameters:
              Process grid nprow 2 x npcol 1
              Equilibrate matrix TRUE
              Matrix input mode 1
              Replace tiny pivots TRUE
              Use iterative refinement FALSE
              Processors in row 2 col partition 1
              Row permutation LargeDiag
              Column permutation METIS_AT_PLUS_A
              Parallel symbolic factorization FALSE
              Repeated factorization SamePattern_SameRowPerm


Hong

>
> Regards,
> Wen
>
>
> ***************************************************************************************************************
> PC Object:
>   type: lu
>     LU: out-of-place factorization
>     tolerance for zero pivot 1e-12
>     matrix ordering: natural
>     factor fill ratio given 0, needed 0
>       Factored matrix follows:
>         Matrix Object:
>           type=mpiaij, rows=215883, cols=215883
>           package used to perform factorization: superlu_dist
>           total: nonzeros=0, allocated nonzeros=431766
>             SuperLU_DIST run parameters:
>               Process grid nprow 8 x npcol 8
>               Equilibrate matrix TRUE
>               Matrix input mode 1
>               Replace tiny pivots TRUE
>               Use iterative refinement FALSE
>               Processors in row 8 col partition 8
>               Row permutation LargeDiag
>               Parallel symbolic factorization FALSE
>               Repeated factorization SamePattern
>
> ******************************************************************************************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120428/5f4dbc1f/attachment-0001.htm>


More information about the petsc-users mailing list