Hi Jed,
Is there any tutorial to show the new calling sequence?
I looked at some examples and it seems that I need to create a new SNES
using SNESCreate, and use SNESSetDM.
However, I am not sure what are the arguments for SNESSetFunction and
SNESSetJacobian in Fortran?
Thanks.
Yours sincerely,
TAY wee-beng
On 12/11/2013 16:34, Jed Brown wrote:
TAY wee-beng <[email protected]> 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