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 &quot;PetscErrorCode={int} (*)(void **)&quot; is incompatible with paramet<br>er of type &quot;PetscErrorCode={int} (*)(void *)&quot;<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">&lt;<a href="mailto:bsmith@mcs.anl.gov">bsmith@mcs.anl.gov</a>&gt;</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>
&gt; Thanks. I hope it will be for both TsSetPostStep and TsSetPreStep.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Tue, Jun 14, 2011 at 10:35 PM, Barry Smith &lt;<a href="mailto:bsmith@mcs.anl.gov">bsmith@mcs.anl.gov</a>&gt; wrote:<br>
&gt;<br>
&gt;   The fortran stub for this function is missing. Someone will prepare one and send it to you shortly.<br>
&gt;<br>
&gt;    Barry<br>
&gt;<br>
&gt; On Jun 14, 2011, at 10:00 PM, Dharmendar Reddy wrote:<br>
&gt;<br>
&gt; &gt; Hello,<br>
&gt; &gt;          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>
&gt; &gt; undefined reference to `tssetpoststep_&#39; ( i also get the error for tssetprestep_)<br>
&gt; &gt;<br>
&gt; &gt; Thanks<br>
&gt; &gt; Reddy<br>
&gt; &gt;<br>
&gt; &gt; --<br>
&gt; &gt; -----------------------------------------------------<br>
&gt; &gt; Dharmendar Reddy Palle<br>
&gt; &gt; Graduate Student<br>
&gt; &gt; Microelectronics Research center,<br>
&gt; &gt; University of Texas at Austin,<br>
&gt; &gt; 10100 Burnet Road, Bldg. 160<br>
&gt; &gt; MER 2.608F, TX 78758-4445<br>
&gt; &gt; e-mail: <a href="mailto:dharmareddy84@gmail.com">dharmareddy84@gmail.com</a><br>
&gt; &gt; Phone: <a href="tel:%2B1-512-350-9082" value="+15123509082">+1-512-350-9082</a><br>
&gt; &gt; United States of America.<br>
&gt; &gt;<br>
&gt; &gt; &lt;TsTest.F90&gt;&lt;Makefile&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; -----------------------------------------------------<br>
&gt; Dharmendar Reddy Palle<br>
&gt; Graduate Student<br>
&gt; Microelectronics Research center,<br>
&gt; University of Texas at Austin,<br>
&gt; 10100 Burnet Road, Bldg. 160<br>
&gt; MER 2.608F, TX 78758-4445<br>
&gt; e-mail: <a href="mailto:dharmareddy84@gmail.com">dharmareddy84@gmail.com</a><br>
&gt; Phone: <a href="tel:%2B1-512-350-9082" value="+15123509082">+1-512-350-9082</a><br>
&gt; United States of America.<br>
&gt;<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>