[petsc-users] [error] undefined reference to TSSetPostStep

Dharmendar Reddy dharmareddy84 at gmail.com
Thu Jun 16 10:10:48 CDT 2011


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);

On Wed, Jun 15, 2011 at 5:44 PM, Barry Smith <bsmith at mcs.anl.gov> wrote:

>
>   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.
>
>   Any errors please send entire error messages to petsc-maint at mcs.anl.gov
>
>    Barry
>
> [see attached file: ztsf.c]
> On Jun 14, 2011, at 10:39 PM, Dharmendar Reddy wrote:
>
> > Thanks. I hope it will be for both TsSetPostStep and TsSetPreStep.
> >
> >
> >
> > On Tue, Jun 14, 2011 at 10:35 PM, Barry Smith <bsmith at mcs.anl.gov>
> wrote:
> >
> >   The fortran stub for this function is missing. Someone will prepare one
> and send it to you shortly.
> >
> >    Barry
> >
> > On Jun 14, 2011, at 10:00 PM, Dharmendar Reddy wrote:
> >
> > > Hello,
> > >          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.
> > > undefined reference to `tssetpoststep_' ( i also get the error for
> tssetprestep_)
> > >
> > > Thanks
> > > Reddy
> > >
> > > --
> > > -----------------------------------------------------
> > > Dharmendar Reddy Palle
> > > Graduate Student
> > > Microelectronics Research center,
> > > University of Texas at Austin,
> > > 10100 Burnet Road, Bldg. 160
> > > MER 2.608F, TX 78758-4445
> > > e-mail: dharmareddy84 at gmail.com
> > > Phone: +1-512-350-9082
> > > United States of America.
> > >
> > > <TsTest.F90><Makefile>
> >
> >
> >
> >
> > --
> > -----------------------------------------------------
> > Dharmendar Reddy Palle
> > Graduate Student
> > Microelectronics Research center,
> > University of Texas at Austin,
> > 10100 Burnet Road, Bldg. 160
> > MER 2.608F, TX 78758-4445
> > e-mail: dharmareddy84 at gmail.com
> > Phone: +1-512-350-9082
> > United States of America.
> >
>
>


-- 
-----------------------------------------------------
Dharmendar Reddy Palle
Graduate Student
Microelectronics Research center,
University of Texas at Austin,
10100 Burnet Road, Bldg. 160
MER 2.608F, TX 78758-4445
e-mail: dharmareddy84 at gmail.com
Phone: +1-512-350-9082
United States of America.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110616/b9ff240b/attachment.htm>


More information about the petsc-users mailing list