[petsc-dev] Problem mixing sieve and TS

Paul Sicsic paul.sicsic at polytechnique.edu
Thu Oct 27 01:16:47 CDT 2011


>
>
> The X you passed in is not a valid Mat (we could see that from the earlier
> call). More specifically, according to valgrind, it is uninitialized memory.
> The shift is still infinite coming into this function, which I don't
> understand.
>
> Why do you say the X matrix is not valid ?
If I run the program with -mat_view, our Mass (AppCtx%M) and rigidity matrix
(AppCTx%K) are assembled.


> From the singularity at 0, it looks like perhaps the initial time step size
> is being set to zero. Next time you get a stack trace, can you on
> ts->time_step?
>

tssolve_ (ts=0x7fff42d866e0, x=0x7fff42d86388, ftime=0x7fff42d866f0,
__ierr=0x7fff42d85adc) at
/opt/HPC/petsc-dev/src/ts/interface/ftn-auto/tsf.c:397
397             (Vec)PetscToPointer((x) ),ftime);
(gdb) p ts->time_step
$1 = 6.9531990170672068e-310

Should ts->time_step be inizialized entering TSSolve ?

We had called (As in example ex22f) :
     Call TSSetInitialTimeStep(AppCtx%TS, 0.0, .01,  ierr); CHKERRQ(iErr)
     Call TSSetFromOptions(AppCtx%TS,  iErr); CHKERRQ(iErr)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20111027/aaf6d5ac/attachment.html>


More information about the petsc-dev mailing list