Dear Jed,
Thank you.
I am using 'master' now. But I have another error
DMDABoundaryType :: bx, by, bz
1
Error: Unclassifiable statement at (1)
JJ
________________________________________
From: Jed Brown [[email protected]]
Sent: Monday, March 17, 2014 7:11 PM
To: Xiao, Jianjun (IKET); [email protected]
Subject: Re: [petsc-users] undefined reference to `dmsetmattype_'
"Xiao, Jianjun (IKET)" <[email protected]> writes:
> 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)
Use 'master' for this interface. The MatType argument to DMCreateMatrix
was removed between v3.4 and 'master'. Barry added the missing Fortran
stub (dmsetmattype_) in the commit that make this interface change.
You're already using the new interface, so stick with 'master' until we
make a release (soon).