[petsc-users] undefined reference to `dmsetmattype_'

Xiao, Jianjun (IKET) jianjun.xiao at kit.edu
Mon Mar 17 10:06:51 CDT 2014


Hello,

After the version was upgraded to 3.4.4, I got the error "undefined reference to `dmsetmattype_' ". I was using PETSc-dev, and it worked fine.

The matrix was created as below

       CALL DMSetMatType(da,MATMPISBAIJ,ierr)
       CALL DMCreateMatrix(da,mat,ierr)

Thank you.

Best regards
JJ


More information about the petsc-users mailing list