← Back to team overview

dolfin team mailing list archive

Re: demo report

 

On Fri, Feb 15, 2008 at 09:28:29PM -0500, Gideon Simpson wrote:
> So, up to the extent that the viper plotting seems to be broken, the  
> poisson demo works in both c++ and python.

Good, was it ffc-clean that helped?

Why is plotting broken? Has it worked for you before?

To debug it, run a demo and then look in /tmp for the latest Python
script:

  # ls -lrt /tmp/*.py | tail -1
  -rw-r--r-- 1 logg logg 128 2008-02-15 18:45 /tmp/fileaD6dZd.py

Edit this script and remove the try/except part so you just have
the small piece of code that does the plotting. That should tell us
more about what goes wrong.

>  However, neither c++ nor  
> python elasticity or stokes demos run properly, both generating  
> segmentation faults after:
> 
> Initializing PETSc (ignoring command-line arguments).

Try removing as much stuff as you can (beginning at the end of the
script) to have something which is as simple as possible but still
breaks. Then post the script to give us a hint of what may go wrong.

-- 
Anders


Follow ups

References