[petsc-users] Error linking with DMSETFUNCTION and DMSETJACOBIAN
Jed Brown
jedbrown at mcs.anl.gov
Tue Nov 12 02:34:23 CST 2013
TAY wee-beng <zonexo at gmail.com> writes:
> Hi,
>
> I am running PETSc 3.4 on windows 7 VS2008, using Intel Fortran.
>
> When I tried to build my code, during linking, it gives the error:
>
> 1>PETSc_solvers.obj : error LNK2019: unresolved external symbol
> *DMSETFUNCTION* referenced in function
* DMSetFunction() and DMSetJacobian() have been removed use
SNESSetFunction() and SNESSetJacobian() instead, note the calling
sequences are slightly different
http://www.mcs.anl.gov/petsc/documentation/changes/34.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20131112/e7ae8a68/attachment-0001.pgp>
More information about the petsc-users
mailing list