[petsc-users] SNESFunction undefined reference

Xiangdong epscodes at gmail.com
Wed Apr 9 10:38:29 CDT 2014


Hello everyone,

When add this line to src/ex3.c

SNESFunction(snes,x,fval,&ctx);

The compiler complains that undefined reference to `SNESFunction'.

However, all other snes function calls in ex3 work well. Why is it special
for SNESFunction?

Any suggestions to fix this problem?

Thank you.

Xiangdong
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20140409/f24aac98/attachment.html>


More information about the petsc-users mailing list