Thanks. It works now.<br>I get a warning when i run make, is that okay?<br>ztsf.c(172): warning #167: argument of type "PetscErrorCode={int} (*)(void **)" is incompatible with paramet<br>er of type "PetscErrorCode={int} (*)(void *)"<br>
*ierr = TSMonitorSet(*ts,ourtsmonitor,*ts,ourmonitordestroy);<br><br><div class="gmail_quote">On Wed, Jun 15, 2011 at 5:44 PM, Barry Smith <span dir="ltr"><<a href="mailto:bsmith@mcs.anl.gov">bsmith@mcs.anl.gov</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><br>
Please find attached a new copy of src/ts/interface/ftn-custom/ztsf.c Just drop it into that directory and run make in that directory.<br>
<br>
Any errors please send entire error messages to <a href="mailto:petsc-maint@mcs.anl.gov">petsc-maint@mcs.anl.gov</a><br>
<br>
Barry<br>
<br>
[see attached file: ztsf.c]<br>
<div><div></div><div class="h5">On Jun 14, 2011, at 10:39 PM, Dharmendar Reddy wrote:<br>
<br>
> Thanks. I hope it will be for both TsSetPostStep and TsSetPreStep.<br>
><br>
><br>
><br>
> On Tue, Jun 14, 2011 at 10:35 PM, Barry Smith <<a href="mailto:bsmith@mcs.anl.gov">bsmith@mcs.anl.gov</a>> wrote:<br>
><br>
> The fortran stub for this function is missing. Someone will prepare one and send it to you shortly.<br>
><br>
> Barry<br>
><br>
> On Jun 14, 2011, at 10:00 PM, Dharmendar Reddy wrote:<br>
><br>
> > Hello,<br>
> > I get the following error when i try to compile the Fortran code attached with this email. Can you please tell me if i am missing any thing in the code.<br>
> > undefined reference to `tssetpoststep_' ( i also get the error for tssetprestep_)<br>
> ><br>
> > Thanks<br>
> > Reddy<br>
> ><br>
> > --<br>
> > -----------------------------------------------------<br>
> > Dharmendar Reddy Palle<br>
> > Graduate Student<br>
> > Microelectronics Research center,<br>
> > University of Texas at Austin,<br>
> > 10100 Burnet Road, Bldg. 160<br>
> > MER 2.608F, TX 78758-4445<br>
> > e-mail: <a href="mailto:dharmareddy84@gmail.com">dharmareddy84@gmail.com</a><br>
> > Phone: <a href="tel:%2B1-512-350-9082" value="+15123509082">+1-512-350-9082</a><br>
> > United States of America.<br>
> ><br>
> > <TsTest.F90><Makefile><br>
><br>
><br>
><br>
><br>
> --<br>
> -----------------------------------------------------<br>
> Dharmendar Reddy Palle<br>
> Graduate Student<br>
> Microelectronics Research center,<br>
> University of Texas at Austin,<br>
> 10100 Burnet Road, Bldg. 160<br>
> MER 2.608F, TX 78758-4445<br>
> e-mail: <a href="mailto:dharmareddy84@gmail.com">dharmareddy84@gmail.com</a><br>
> Phone: <a href="tel:%2B1-512-350-9082" value="+15123509082">+1-512-350-9082</a><br>
> United States of America.<br>
><br>
<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>-----------------------------------------------------<br>Dharmendar Reddy Palle<br>Graduate Student<br>Microelectronics Research center,<br>University of Texas at Austin,<br>
10100 Burnet Road, Bldg. 160<br>MER 2.608F, TX 78758-4445<br>e-mail: <a href="mailto:dharmareddy84@gmail.com">dharmareddy84@gmail.com</a><br>Phone: +1-512-350-9082<br>United States of America.<br><br>