[petsc-users] [error] undefined reference to TSSetPostStep
Jed Brown
jed at 59A2.org
Thu Jun 16 10:24:55 CDT 2011
On Thu, Jun 16, 2011 at 17:10, Dharmendar Reddy <dharmareddy84 at gmail.com>wrote:
> Thanks. It works now.
> I get a warning when i run make, is that okay?
> ztsf.c(172): warning #167: argument of type "PetscErrorCode={int} (*)(void
> **)" is incompatible with paramet
> er of type "PetscErrorCode={int} (*)(void *)"
> *ierr = TSMonitorSet(*ts,ourtsmonitor,*ts,ourmonitordestroy);
This warning is harmless. The new prototype is more permissive, so there is
no warning in petsc-dev. If the warning bothers you, you can add an explicit
cast.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110616/c696a675/attachment.htm>
More information about the petsc-users
mailing list