[petsc-users] [PETSc-Users] The MatSetValues takes too much time

Dongyu Liu D.Liu-4 at tudelft.nl
Thu May 2 06:45:57 CDT 2019


I am using PETSc sparse matrix ('aij') for a FEM program, when the 
matrix is really big, let's say 1million by 1million, we use setValues 
based on the index vector I and J, but the whole process takes around 2 

I don't know why it is like that, or is there any option that I should 
set to make this faster?



More information about the petsc-users mailing list