[petsc-users] Customizeing MatSetValuesBlocked(...)

Jed Brown jedbrown at mcs.anl.gov
Wed Aug 8 14:22:03 CDT 2012


On Wed, Aug 8, 2012 at 1:00 PM, Jinquan Zhong <jzhong at scsolutions.com>wrote:

> This makes sense to me.  I thought the preallocation only applies to
> MatCreateMPIAIJwithArrays(…) and other more complicate functions.****
>
> ** **
>
> The matrix coming out from ScaLAPACK will be repopulated into a sparse
> matrix in a much large scale.
>

I don't understand this exactly. You are taking the entries of the dense
matrix and putting them into a much larger sparse matrix? In that case, you
probably never need Elemental, but you definitely need to preallocate.


> Do I need to install elemental package in PETSc in order to use
> MATELEMENTAL?
>

Yes, just configure petsc-dev with --download-elemental.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120808/07187b72/attachment.html>


More information about the petsc-users mailing list