← Back to team overview

dolfin team mailing list archive

Re: plotting

 

On Wed, Oct 31, 2007 at 04:13:43PM -0400, Gideon Simpson wrote:
> I believe so.  both ffc and FIAT show up in the list of modules for  
> my python installation.
> On Oct 31, 2007, at 4:06 PM, Kristian Oelgaard wrote:
> 
> > Quoting Gideon Simpson <grs2103@xxxxxxxxxxxx>:
> >
> >> when running examples I get the message:
> >> Unable to plot (PyDOLFIN or Viper plotter not available).

Looks like the problem is PyDOLFIN.

> >> and if I try running the demo src/demo/plot/python/demo.py, i get:
> >> Traceback (most recent call last):
> >>    File "demo.py", line 6, in <module>
> >>      from dolfin import *
> >>    File "/opt/lib/python2.5/site-packages/dolfin/__init__.py", line
> >> 4, in <module>
> >>      from assemble import *
> >>    File "/opt/lib/python2.5/site-packages/dolfin/assemble.py", line
> >> 17, in <module>
> >>      from dolfin import *
> >>    File "/opt/lib/python2.5/site-packages/dolfin/dolfin.py", line 7,
> >> in <module>
> >>      import _dolfin
> >> ImportError: dlopen(/opt/lib/python2.5/site-packages/dolfin/
> >> _dolfin.so, 2): Symbol not found: _set_default_options
> >>    Referenced from: /opt/petsc-2.3.3-p6/lib/darwin8.8.0-c-debug/
> >> libpetscmat.dylib
> >>    Expected in: dynamic lookup
> >>
> >> what gives?  is this not fully implemented yet?

Yes, it's definitely PyDOLFIN that is the problem, and it seems to be
related to finding some symbol in PETSc.

Are you on a Mac? If so, let's hope some Mac wizard (=Åsmund) will
recognize the problem.

/Anders


> >
> > Do you have FFC installed? and is it in your PYTHONPATH?
> >
> > Kristian
> >
> >> -Gideon Simpson
> >>   Department of Applied Physics and Applied Mathematics
> >>   Columbia University
> >>
> >>
> >>
> >
> >
> 
> _______________________________________________
> DOLFIN-dev mailing list
> DOLFIN-dev@xxxxxxxxxx
> http://www.fenics.org/mailman/listinfo/dolfin-dev


Follow ups

References