something slowed down MatSetValues

xiaoyin ji sapphire.jxy at gmail.com
Wed Jun 10 13:10:27 CDT 2009


Hi,

I've just got a problem with MatSetValues. I have a loop of about 1
million and 6 MatSetValues call inside. The loop runs very slow( about
several minutes or more), but if I comment one or two MatSetValues
then it will finish in seconds. Any hints? Thank you!

Xiaoyin Ji


More information about the petsc-users mailing list