← Back to team overview

ffc team mailing list archive

Re: [UFL-dev] UFL and new release

 

On Monday 30 March 2009 20:06:04 Anders Logg wrote:
> On Fri, Mar 27, 2009 at 04:33:16PM +0100, Johan Hake wrote:
> > On Thursday 26 March 2009 21:44:50 Anders Logg wrote:
> > > FFC is now fully functional w.r.t. compilation of UFL forms, at least
> > > judging by the demos in FFC which now all produce correct results.
> > >
> > > The Poisson demo in DOLFIN has also been moved to UFL.
> >
> > Should we also include the ufl version of the Poission python demo too?
> >
> > This could be done by putting:
> >
> > from dolfin import *
> > try:
> >     from dolfin.ufl import *
> > except:
> >     pass
> >
> > at the top of the poission demo.
>
> I don't think it's necessary. It would generally be good if we could
> avoid try/except in demos as it obfuscates the code.
>
> > If we want that we should probably release viper too, as a recent patch
> > made it possible to plot ufl based PyDOLFIN Functions.
>
> It's also needed for C++ plotting which has changed and now relies
> directly on Viper.
>
> For those who haven't noticed, Viper can now plot all kinds of data
> (Function(PlotData), Mesh, MeshFunction) directly from the command-line:
>
>   viper mesh.xml
>
> > > I therefore suggest we make new releases of FFC, UFL and DOLFIN:
> > >
> > >   DOLFIN 0.9.2
> > >   FFC 0.6.2
> > >   UFL 0.1.0 ?
> > >   SyFi/SFC?
> >
> > The added ufc.build_ufc_module is needed for the PyDOLFIN/ffc.jit so we
> > will also need a UFC 1.1.2 release.
>
> Yes.
>
> So the list is
>
>   DOLFIN 0.9.2
>   FFC 0.6.2
>   Viper 0.4.2 ?
>   UFL 0.1.0 ?
>   SyFi/SFC ?

    UFC 1.1.2! ;)

> The buildbot is not responding at the moment so I can't check the
> status.

All is green except:

The DOLFIN macbot how is complaining about the trilinos demo and the DOLFIN 
linux64-exp which complains about:

Traceback (most recent call last):
  File "./demo.py", line 8, in <module>
    from dolfin import *
  
File "/work/jhbuildbot/fenics/lib/python2.5/site-packages/dolfin/__init__.py", 
line 16, in <module>
    from assemble import *
  
File "/work/jhbuildbot/fenics/lib/python2.5/site-packages/dolfin/assemble.py", 
line 25, in <module>
    import cpp
  File "/work/jhbuildbot/fenics/lib/python2.5/site-packages/dolfin/cpp.py", 
line 25, in <module>
    import _cpp
ImportError: /work/jhbuildbot/local/lib/openmpi/mca_paffinity_linux.so: 
undefined symbol: mca_base_param_reg_int

I know Johannes has tried to get into this but as far as I know with no 
success.

Johan


Follow ups

References