2012/3/16 Xiangze Zeng <zengshixiangze at 163.com>

> I replace MATAIJCUSP with MATMPIAIJCUSP. It works well. The attachments
> are the outputs of log_summary.
> MATAIJCUSP is used for serial matrices?
>

MATAIJCUSP automatically chooses MATSEQAIJCUSP if on serial communicator
and MATMPIAIJCUSP if on a parallel communicator. Practically speaking,
either will work, but when you run in serial, there is more overhead going
through the MPIAIJCUSP container and fewer preconditioners will be
available. So it's better to call bath MatSeqAIJSetPreallocation() and
MatMPIAIJSetPreallocation().
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120316/437a1566/attachment.htm>

Reply via email to